← Back to team overview

credativ team mailing list archive

[Bug 912525] Re: [stock] method copy for stock.inventory needs to be override to avoid keeping previous lines

 

Hello,

Thanks For Reporting.
It has been Fixed in http://bazaar.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-912525-ksa/
revision-id: ksa@xxxxxxxxxxx-20120106125914-sog04nup6jm92g25
revno: 6286
It will be available in trunk soon.

Thanks.


** Changed in: openobject-addons
       Status: In Progress => Fix Committed

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

Title:
  [stock] method copy for stock.inventory needs to be override to avoid
  keeping previous lines

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  [stock] When duplicating stock.inventory record, the new one keeps the
  m2m stock.inventory.line records from the previous one

  method copy for stock.inventory needs to be override to avoid keeping
  previous lines

  so defaults['move_ids']=[]

  Thanks a lot in advance

  addons v.6.0 revno 4984

  Hbto.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/912525/+subscriptions


References