eddd52713e093bf861d7255b22c499826352bc3e
The user executing the test is changing the UOM while the field was invisible because the user did not have the multi uom group. Therefore, add the group to the user for the test so the field is visible in the form. This is related to revision odoo/odoo@5ccc32fcf7 ``` 2022-07-12 11:59:39,526 22 ERROR master odoo.addons.purchase.tests.test_purchase: FAIL: TestPurchase.test_with_different_uom Traceback (most recent call last): File "/home/odoo/src/odoo/master/addons/purchase/tests/test_purchase.py", line 268, in test_with_different_uom po_line.product_uom = uom_dozens File "/home/odoo/src/odoo/master/odoo/tests/common.py", line 2179, in __setattr__ assert not self._get_modifier(field, 'invisible'), \ AssertionError: can't write on invisible field product_uom ``` closes odoo/odoo#95841 Signed-off-by: Denis Ledoux (dle) <dle@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%