c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #21906
[Bug 760813] [NEW] Wrong language in context. product_id_change method of sale.order.line
Public bug reported:
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://bazaar.launchpad.net/~openerp/openobject-addons/6.0/view/4526/sale/sale.py#L1010
at line 1020: lang should contain the user's language
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/760813
Title:
Wrong language in context. product_id_change method of sale.order.line
Status in OpenERP Modules (addons):
New
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://bazaar.launchpad.net/~openerp/openobject-addons/6.0/view/4526/sale/sale.py#L1010
at line 1020: lang should contain the user's language
Follow ups
-
[Bug 760813] Re: Wrong language in context. product_id_change method of sale.order.line
From: Olivier Dony (OpenERP), 2011-09-19
-
[Bug 760813] Re: Wrong language in context. product_id_change method of sale.order.line
From: Olivier Dony (OpenERP), 2011-09-19
-
[Bug 760813] Re: Wrong language in context. product_id_change method of sale.order.line
From: Fabien (Open ERP), 2011-09-17
-
[Bug 760813] Re: Wrong language in context. product_id_change method of sale.order.line
From: Anup(OpenERP), 2011-06-03
-
[Bug 760813] Re: Wrong language in context. product_id_change method of sale.order.line
From: Anup(OpenERP), 2011-06-03
-
[Bug 760813] Re: Wrong language in context. product_id_change method of sale.order.line
From: Lorenzo Battistini - Agile BG - Domsense, 2011-06-01
-
[Bug 760813] Re: Wrong language in context. product_id_change method of sale.order.line
From: Launchpad Bug Tracker, 2011-04-29
-
[Bug 760813] Re: Wrong language in context. product_id_change method of sale.order.line
From: Mustufa Rangwala (Open ERP), 2011-04-19
-
[Bug 760813] Re: Wrong language in context. product_id_change method of sale.order.line
From: Priyesh (Open ERP), 2011-04-18
-
[Bug 760813] Re: Wrong language in context. product_id_change method of sale.order.line
From: Launchpad Bug Tracker, 2011-04-18
-
[Bug 760813] Re: Wrong language in context. product_id_change method of sale.order.line
From: Priyesh (Open ERP), 2011-04-15
-
[Bug 760813] Re: Wrong language in context. product_id_change method of sale.order.line
From: Devishree Brahmbhatt (OpenERP), 2011-04-15
-
[Bug 760813] [NEW] Wrong language in context. product_id_change method of sale.order.line
From: Lorenzo Battistini - agilebg.com, 2011-04-14
References