impossible to override stock.picking copy method

Bug #386963 reported by hatem jerbi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Jay Vora (Serpent Consulting Services)

Bug Description

Addons last stabe 5.0.1

in the stock.picking copy methode, picking sequence is always generated using 'stock.picking' sequence type. how i can change this behavior with the present implementation. a better solution is to add this test:
  if not default.get('name',False):
            default['name'] = self.pool.get('ir.sequence').get(cr, uid, 'stock.picking')

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Hatem,

Thank you for the post.

Changed in openobject-addons:
assignee: nobody → Jay (Open ERP) (jvo-openerp)
status: New → Confirmed
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Fixed in trunk addons(2309).
Thank you.

Changed in openobject-addons:
status: Confirmed → In Progress
status: In Progress → 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.