Bar-code generation ignore the height value
Bug #1330459 reported by
Sébastien Gendre - Open-Net
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stock And Logistic Bar Code |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The source code file tr_barcode.py contain an error: It's written 'hight' instead of height.
When user set the height of a bar-code, the generator ignore this value due to this error.
I attache an archive file to this bug report. It contain the patch and a sql script to copy values of 'hight' to 'height' in the database.
Related branches
lp:~camptocamp/stock-logistic-barcode/7.0-fix_1330459-sge+afe
- Yannick Vaucher @ Camptocamp: Approve (code review no tests)
- Pedro Manuel Baeza: Approve (code review)
- Guewen Baconnier @ Camptocamp: Approve (code review)
- Sébastien Gendre - Open-Net: Pending requested
-
Diff: 141 lines (+39/-12)6 files modifiedtr_barcode/__openerp__.py (+1/-1)
tr_barcode/migrations/1.1.4/pre-migrate.py (+24/-0)
tr_barcode/tr_barcode.py (+9/-6)
tr_barcode/tr_barcode_view.xml (+1/-1)
tr_barcode/wizard/tr_barcode_wizard.py (+2/-2)
tr_barcode_config/barcode/barcode_osv.py (+2/-2)
Changed in stock-logistic-barcode: | |
status: | New → Confirmed |
Changed in stock-logistic-barcode: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
Hi, Sébastien, thanks for the bug report and the patch. Can you please create an MP containing the patch. For a more conservative update, we can let the field name as is (hight), and change only the argument name, or provide a migration script that rename the column automatically before update.
Regards.