You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, 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.
I suggest the origin be reset only if it's not passed in the dict of default values.
The text was updated successfully, but these errors were encountered:
https://bugs.launchpad.net/ocb-addons/+bug/1098557
In the Python code of custom addons, it would sometimes be useful to be able to copy a picking while setting the origin field.
For example:
However, 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.
I suggest the origin be reset only if it's not passed in the dict of default values.
The text was updated successfully, but these errors were encountered: