Bar-code generation ignore the height value

Bug #1330459 reported by Sébastien Gendre - Open-Net
6
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

Revision history for this message
Sébastien Gendre - Open-Net (sge-8) wrote :
Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

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.

Changed in stock-logistic-barcode:
status: New → Confirmed
Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote :

I'm working on making the patch work (as is the provided patch is not a patch, and it creates other issues in other addons of this project)

Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote :

@pedro I added a proper migration script for the column rename.

Changed in stock-logistic-barcode:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.