Achraf (abz) 6d78c58ceb [FIX] product: Change public pricelist currency when changing main currency
What are the steps to reproduce your issue ?

    1. Go to 'odoo.com/trial' and create a database with 'account'

    or

    1. Start local server with a new database and with '--without-demo=all --init=account'

    2. Change main currency from 'EUR' to 'USD' in settings

What is currently happening?

    Error raised when trying to install 'point_of_sale'

What are you expecting to happen?

    Install 'point_of_sale' normally even after changing main currency

Why is this happening?

    But there is a condition which verifies that there is not already
    a pricelist with the currency we want to set or with the currency
    of the company. Otherwise it prevents the pricelist modification

How to fix the bug ?

    Change the condition so that it allows the change of the pricelist
    in the case where the currency we want to set is not the same as the
    currency of the company

opw-2376457

closes odoo/odoo#61847

X-original-commit: 716e0e791da1e4647dab29959b7012e366aa7b1f
Signed-off-by: Achraf <abz-odoo@users.noreply.github.com>
2020-11-17 12:01:33 +00:00
2020-11-16 16:47:28 +00:00
2020-11-16 16:47:28 +00:00
2020-04-20 11:41:39 +00:00
…
…
…
…
2019-11-08 11:24:04 +00:00
2020-09-28 14:07:25 +00:00

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%