[6.1/7.0] possible error : TypeError: 'must be type, not browse_record'
Bug #1301458 reported by
Romain Deheele - Camptocamp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Carriers And Deliveries Management |
Fix Released
|
Critical
|
Romain Deheele - Camptocamp |
Bug Description
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'
Regards,
Romain
Related branches
lp://staging/~camptocamp/carriers-deliveries/7.0-change-class-name-to-avoid-error_rde
- Yannick Vaucher @ Camptocamp: Approve
- Stefan Rijnhart (Opener): Approve
- Pedro Manuel Baeza: Approve (code review)
- Leonardo Pistone: Approve
- Alexandre Fayolle - camptocamp: Approve (code review, no test)
-
Diff: 25 lines (+3/-3)1 file modifiedbase_delivery_carrier_files_document/carrier_file.py (+3/-3)
lp://staging/~camptocamp/carriers-deliveries/6.1-change-class-name-to-avoid-error_rde
- Leonardo Pistone: Approve (code review)
- Alexandre Fayolle - camptocamp: Approve (code review, no test)
-
Diff: 27 lines (+4/-4)1 file modifiedbase_delivery_carrier_files_document/carrier_file.py (+4/-4)
Changed in carriers-deliveries: | |
status: | New → Fix Committed |
importance: | Undecided → Critical |
assignee: | nobody → Romain Deheele - Camptocamp (romaindeheele) |
Changed in carriers-deliveries: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.