diff options
| author | Josse Colpaert <jco@odoo.com> | 2019-09-09 15:48:13 +0000 |
|---|---|---|
| committer | Josse Colpaert <jco@odoo.com> | 2019-09-10 08:06:38 +0000 |
| commit | 336b422286080294488d3f027d7b9c9973afa3db (patch) | |
| tree | cc6fabe308147880cf6d6c8b8e7fd8535d17856c /addons/web_editor/static/src/xml/backend.xml | |
| parent | 939bf9a25dd27608fd17217b8ba83931e2c37eff (diff) | |
[FIX] product: pricelist creation security on company update
One of the little advantages of sharing pricelists
(putting company False) is that we can use it also
to create an invoice in another currency in any of
the companies.
Before, when you adapted a company to use another currency,
it sometimes created a pricelist with and sometimes without company.
Now, we always share it.
We also need to create the associated properties in sudo
as you want someone with access to changing the "Companies"
to be able to add these properties even if the company is
not in the allowed companies at that moment.
closes odoo/odoo#36602
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/xml/backend.xml')
0 files changed, 0 insertions, 0 deletions
