Merge lp:~camptocamp/carriers-deliveries/7.0-change-class-name-to-avoid-error_rde into lp:~stock-logistic-core-editors/carriers-deliveries/7.0
Proposed by
Romain Deheele - Camptocamp
Status: | Merged |
---|---|
Merged at revision: | 41 |
Proposed branch: | lp:~camptocamp/carriers-deliveries/7.0-change-class-name-to-avoid-error_rde |
Merge into: | lp:~stock-logistic-core-editors/carriers-deliveries/7.0 |
Diff against target: |
25 lines (+3/-3) 1 file modified
base_delivery_carrier_files_document/carrier_file.py (+3/-3) |
To merge this branch: | bzr merge lp:~camptocamp/carriers-deliveries/7.0-change-class-name-to-avoid-error_rde |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Yannick Vaucher @ Camptocamp | Approve | ||
Stefan Rijnhart (Opener) | Approve | ||
Pedro Manuel Baeza | code review | Approve | |
Leonardo Pistone | Approve | ||
Alexandre Fayolle - camptocamp | code review, no test | Approve | |
Review via email: mp+213881@code.launchpad.net |
Description of the change
Hi,
In base_delivery_
by coincidence, the class and a frequently used parameter are both named "carrier_file".
in l.61, the super method will take carrier_file parameter while it needs carrier_file, the class name.
It causes logically the error : TypeError: 'must be type, not browse_record'
Great catch from Leonardo Pistone, thank you.
Regards,
Romain
To post a comment you must log in.
LGTM