← Back to team overview

credativ team mailing list archive

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

 

Public bug reported:

[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.

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

-- 
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):
  New

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


Follow ups

References