il campo Riferimento (name) nei picking è vuoto

Bug #800568 reported by bruno bottacini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Italia
Fix Released
Undecided
Unassigned

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

description: updated
summary: - campo name nei picking vuoto
+ il campo Riferimento (name) nei picking è vuoto
Changed in openobject-italia:
status: New → Confirmed
Changed in openobject-italia:
milestone: none → 1.0
Revision history for this message
Lorenzo Battistini (elbati) wrote :
Changed in openobject-italia:
status: Confirmed → Fix Released
Revision history for this message
bruno bottacini (bruno-bottacini) wrote :

il problema è anche per le altre sequenze dei picking
stock.picking_in
stock.picking_internal

Revision history for this message
Lorenzo Battistini (elbati) wrote :
Changed in openobject-italia:
status: Fix Released → Confirmed
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.