Merge lp:~akretion-team/openobject-addons/date_planned_refactor into lp:openobject-addons
Proposed by
Benoit Guillot - http://www.akretion.com
Status: | Merged |
---|---|
Merged at revision: | 6077 |
Proposed branch: | lp:~akretion-team/openobject-addons/date_planned_refactor |
Merge into: | lp:openobject-addons |
Diff against target: |
25 lines (+6/-2) 1 file modified
sale/sale.py (+6/-2) |
To merge this branch: | bzr merge lp:~akretion-team/openobject-addons/date_planned_refactor |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+86362@code.launchpad.net |
Description of the change
This is a refactoring of date_planned in order to overload it easily. I just defined a new function : _get_date_planned. I need it for a module calculating the delivery delays and managing the supplier shortages.
To post a comment you must log in.
Hello Benoît,
Overall I agree with the idea, but technically could you please consider my last commit here: /code.launchpad .net/~akretion- team/openobject -addons/ sale-modular- picking- better- context/ +merge/ 82944 bazaar. launchpad. net/~akretion- team/openobject -addons/ sale-modular- picking- better- context/ revision/ 6026 )
https:/
(that is http://
So as you can see, according to our recent discussions on LP, we assume that ideally methods called by workflow action have a normal context aware signature. My last commit bring that normalization to the methods I recently refactored. I'm now requesting the merge of 82944 to OpenERP SA. Could you please refactor your method to have a context as the last arg like if my merge were approved already?
Thanks.