← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 718961] Re: base_sale_multichannels inventory export can omit some inventory updates

 

Eric, I believe you are right, I fixed it by applying your patch in
commit http://bazaar.launchpad.net/~openerp-commiter/openobject-
addons/extra-6.0/revision/5208

Thank you very much for this contribution!

** Changed in: openobject-addons
       Status: New => Fix Released

-- 
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/718961

Title:
  base_sale_multichannels inventory export can omit some inventory
  updates

Status in OpenERP Modules (addons):
  Fix Released

Bug description:
  I'm using base_sale_multichannels in the context of the
  Magento/OpenERP connector.

  When exporting stock inventories, base_sale_multichannels considers
  only products that were affected by a stock movement since the last
  export. To this end, it looks at the stock movement date.

  If, for example, an inventory is made and given a creation date that
  falls before the last export, the products affected in the inventory
  will not be considered for export and the inventory levels for these
  products will stay outdated in the external system.

  Instead of using the "date" field of "stock_move" records,
  base_sale_multichannels should use the "write_date" field, which
  contains the date when the stock movement was recorded in the
  database. This would ensure that every change in inventory levels is
  exported to the external systems.





References