← Back to team overview

openerp-india team mailing list archive

[Bug 1318062] [NEW] The POS is not creating the stock picking

 

Public bug reported:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1318062

Title:
  The POS is not creating the stock picking

Status in OpenERP Addons (modules):
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1318062/+subscriptions


Follow ups

References