← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 800568] Re: il campo Riferimento (name) nei picking è vuoto

 

Risolto con http://bazaar.launchpad.net/~openobject-italia-core-devs
/openobject-italia/italian-addons/revision/110

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/800568

Title:
  il campo Riferimento (name) nei picking è vuoto

Status in OpenERP Italia:
  Fix Released

Bug description:
  nel file l10n_it_sale/stock/picking.py è definita la funzione create

      def create(self, cr, user, vals, context=None):
          if ('name' not in vals) or (vals.get('name')=='/'):
       if 'type' in vals.keys() and vals['type']=='out':
               vals['name'] = self.pool.get('ir.sequence').get(cr, user, 'stock.picking_out')
       elif 'type' in vals.keys() and vals['type']=='internal':
               vals['name'] = self.pool.get('ir.sequence').get(cr, user, 'stock.picking_internal')
       else:
    vals['name'] = self.pool.get('ir.sequence').get(cr, user, 'stock.picking_in')

          return super(stock_picking, self).create(cr, user, vals,
  context)

  in una installazione ex novo però le sequenze non hanno nel nome
  l'underscore ma il punto es. stock.picking_out dovrebbe essere
  stock.picking.out

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-italia/+bug/800568/+subscriptions


References