← Back to team overview

openerp-india team mailing list archive

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

 

landed in trunk
revno: 6308 [merge]
revision-id: rco@xxxxxxxxxxx-20120110093011-7hwartrfc6dwe74z


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

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

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

Status in OpenERP Addons (modules):
  Fix Released

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