339cdffb68f91eb1455d447d1bdd7133c68723bd
Loading the demo data of Accounting app when only Japanese language is installed will raise an error because there is a non-unique alias_name Steps to reproduce: 1. - Run odoo with parameters `-d [db_name] --without-demo all --load-language ja_JP -i l10n_jp,account_accountant` (you can also install those apps using the UI but only Japanese should be installed so it will be in Japanese) - Or create a trial database on odoo.com with Accounting installed, using Japan as country and Japanese as language 2. Activate debug mode and go to Settings, scroll to the bottom and load the demo data (`デモデータをロード`, last link in 'Developer Tools') 3. A validation error is thrown Solution: When building the alias name, if the name of the journal is not in ascii, use the journal's code or type followed by the company's name. If the company's name is not ascii, use the company id as suffix Problem: When a journal with non-ascii characters in its name is created, its alias name fallbacks to the journal's code. In the demo data, two journals have the same code. It will try to create the second journal with the same alias name, violating the unicity check in `_clean_and_check_unique`. opw-2831638 closes odoo/odoo#90969 X-original-commit: 91d26b32250a74684dacad8350ac4452fa082384 Signed-off-by: William André (wan) <wan@odoo.com> Signed-off-by: Guillaume Merlin (megu) <megu@odoo.com>
…
…
…
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
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%