openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #21356
[Bug 1098557] Re: Can't set a default origin for stock pickings at duplication time
Hello Numérigraphe,
I have checked your scenario. As per the our architecture when create the new record at that time default value will be set,
but when you duplicate the record at that time copy method will called.
So, obviously default value cant be set at that time. That's why I am set into Question.
Thanks
** Changed in: openobject-addons
Status: New => Invalid
** Converted to question:
https://answers.launchpad.net/openobject-addons/+question/218947
--
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/1098557
Title:
Can't set a default origin for stock pickings at duplication time
Status in OpenERP Addons (modules):
Invalid
Bug description:
In v6.0 and up to the current trunk, the method copy() of stock.picking resets the field "origin" as soon as no default name is set.
It would be useful for custom addons to be able to copy a picking while setting the origin field.
I suggest the origin be reset only if it's not passed in the dict of default values.
Lionel Sausin
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1098557/+subscriptions
Follow ups
References