Merge lp://staging/~openerp-community-committers/openobject-addons/5.0-bugfix_671172 into lp://staging/~openerp-community-committers/openobject-addons/5.0
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~openerp-community-committers/openobject-addons/5.0-bugfix_671172 |
Merge into: | lp://staging/~openerp-community-committers/openobject-addons/5.0 |
Diff against target: |
12 lines (+1/-1) 1 file modified
stock/wizard/wizard_return.py (+1/-1) |
To merge this branch: | bzr merge lp://staging/~openerp-community-committers/openobject-addons/5.0-bugfix_671172 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jan Verlaan (community) | Approve | ||
Joël Grand-Guillaume @ camptocamp | Approve | ||
Review via email: mp+41188@code.staging.launchpad.net |
Description of the change
As of version 5.0.8 the returnpacking number contains the hardcoded part in it's number "(return)
See addons/
This does greatly enhance the visibility, but has a side effect when the number is used for internal barcode (EAN13) generation.
The "(" and ")" signs are used for start/end char in the barcode generation, hence the generations fails.
Fix is to rename the part of {'name':'%s (return)' to {'name':'%s -return'
Unmerged revisions
- 2882. By Jan Verlaan
-
[FIX] stock module: barcode generation with return pickings corrected and make return name translatable
- 2881. By Jan Verlaan
-
[FIX] stock module: barcode generation with return pickings corrected
Approve. But, Could we translate this statement with _(%s -return)?