Wrong language in context. product_id_change method of sale.order.line
Bug #760813 reported by
Lorenzo Battistini
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 3 | ||
6.0 |
Fix Released
|
Low
|
OpenERP Publisher's Warranty Team |
Bug Description
Steps:
1- Create new db, selecting, for instance, Italian language
2- Create new customer with lang = italian
3- Create new user 'test' with lang =English
4- Create a new stockable product with stock = 0
5- Log in to the system with 'test' user
6- Try to sell the stockable product
7- You'll see the warning message in Italian
This is because context contains the partner's language.
See http://
at line 1020: lang should contain the user's language
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-760813-pso
Rejected
for merging
into
lp:openobject-addons
- Fabien (Open ERP): Disapprove
- Mustufa Rangwala (Open ERP) (community): Approve
- Priyesh (OpenERP) (community): Needs Resubmitting
- qdp (OpenERP): Pending requested
-
Diff: 15 lines (+1/-3)1 file modifiedsale/sale.py (+1/-3)
lp:~openerp-commiter/openobject-addons/bug_760813
Ready for review
for merging
into
lp:openobject-addons/6.0
- Lorenzo Battistini (community): Needs Fixing
- Jay Vora (Serpent Consulting Services) (community): Needs Fixing
- Leonardo Pistone (community): Approve
- OpenERP Core Team: Pending requested
-
Diff: 52 lines (+9/-5)1 file modifiedsale/sale.py (+9/-5)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
milestone: | none → 6.1 |
tags: | added: maintenance |
Changed in openobject-addons: | |
status: | Fix Committed → In Progress |
status: | In Progress → Fix Released |
To post a comment you must log in.
Thanks for reporting.