Merge lp:~camptocamp/e-commerce-addons/7.0-sale_payment_method-incompatible-args into lp:~extra-addons-commiter/e-commerce-addons/7.0
Proposed by
Guewen Baconnier @ Camptocamp
Status: | Merged |
---|---|
Approved by: | Yannick Vaucher @ Camptocamp |
Approved revision: | 289 |
Merged at revision: | 289 |
Proposed branch: | lp:~camptocamp/e-commerce-addons/7.0-sale_payment_method-incompatible-args |
Merge into: | lp:~extra-addons-commiter/e-commerce-addons/7.0 |
Diff against target: |
12 lines (+1/-1) 1 file modified
sale_payment_method/sale.py (+1/-1) |
To merge this branch: | bzr merge lp:~camptocamp/e-commerce-addons/7.0-sale_payment_method-incompatible-args |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Yannick Vaucher @ Camptocamp | code review, no tests | Approve | |
Nicolas Bessi - Camptocamp (community) | no test, code review | Approve | |
Leonardo Pistone | code review | Approve | |
Review via email: mp+201585@code.launchpad.net |
Description of the change
The 'description' argument has been added [0] recently in the method and is optional in the body of the method (fallback to self._get_
Thus, I propose to make it optional, avoiding errors in code using the previous version of the signature (without description).
The method "automatic_payment" itself in this module is broken because it does not give a description.
[0] <email address hidden>
To post a comment you must log in.
LGTM