Merge lp://qastaging/~camptocamp/openerp-fiscal-rules/7.0-wrong-onchange-1255918-revert-hack into lp://qastaging/openerp-fiscal-rules
Proposed by
Guewen Baconnier @ Camptocamp
| Status: | Merged | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Approved by: | Yannick Vaucher @ Camptocamp | ||||||||
| Approved revision: | 67 | ||||||||
| Merged at revision: | 66 | ||||||||
| Proposed branch: | lp://qastaging/~camptocamp/openerp-fiscal-rules/7.0-wrong-onchange-1255918-revert-hack | ||||||||
| Merge into: | lp://qastaging/openerp-fiscal-rules | ||||||||
| Diff against target: |
20 lines (+2/-3) 1 file modified
account_fiscal_position_rule_sale/sale.py (+2/-3) |
||||||||
| To merge this branch: | bzr merge lp://qastaging/~camptocamp/openerp-fiscal-rules/7.0-wrong-onchange-1255918-revert-hack | ||||||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Sandy Carter (http://www.savoirfairelinux.com) | code review | Approve | |
| Raphaël Valyi - http://www.akretion.com | Approve | ||
| Yannick Vaucher @ Camptocamp | code review, no tests | Approve | |
|
Review via email:
|
|||
Description of the change
Follows https:/
Since Raphaël stated that the context being mutated in kwargs is not necessary [0], I propose to revert the change.
Note that the current code is failing is some conditions, when a 'uid' key is present in the context for instance.
To post a comment you must log in.
Unless we make the hack uglier it seems necessary to do this revert.
Looking at https:/ /code.launchpad .net/~camptocam p/openerp- fiscal- rules/7. 0-wrong- onchange- 1255918/ +merge/ 197376/ comments/ 458163 we can suspect it was approved before the change by Raphael