The POS is not creating the stock picking

Bug #1318062 reported by Jose Antonio Morales Ponce(vauxoo) - - http://www.vauxoo.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

When you pay a order from POS it creates a stock picking from action_paid method [1]. Previously in this method after of create the picking the POS was changed of state but in the last changes, this change first changes the state of POS and then creates the picking [2] and this is a mistake because if the POS state is different to 'draft' the picking is not created [3] is why that the pickings are not created

[1] http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/view/head:/point_of_sale/point_of_sale.py#L1197

[2] http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/view/head:/point_of_sale/point_of_sale.py#L1198

[3] http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/view/head:/point_of_sale/point_of_sale.py#L747

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.