summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2016-03-08 16:44:42 +0100
committerYannick Tivisse <yti@odoo.com>2016-03-09 14:13:08 +0100
commitaed779b0adcfd6863f1392c57c2b6c72e07c9422 (patch)
tree91cd37645fb79b0a88bd0522d7332196a74e1bae /addons/web/static/src/xml
parent2432483e14ecda01be1699dd9b9c32e7fc99d381 (diff)
[IMP] product: Pricelist creation on Company creation if new currency
When working in multi-company, and each company using its own currency, a pricelist for the second company should be created. For instance, our default company is in Belgium -> € and there is a default pricelist in €. Then you create a second company in US -> $. It is impossible for the us company to sell in its own country because there is no $ pricelist. When creating the second company, if the currency is different than the first company one, the default pricelist in the currency should be created. In all the cases, a ir.property should be created to link the 'property_product_pricelist' on the 'res.partner' to the new company. Furthemore, a small usability improvement. The currency should be activated before creating the company. So we change the label to indicate that behavior and make the action in target new to prevent the creation flow to be broken
Diffstat (limited to 'addons/web/static/src/xml')
0 files changed, 0 insertions, 0 deletions