50e425ce02bc7b2476dc9b97286a550e945abdb7
Steps to reproduce the bug: - Let's consider a product P - Let's consider that a draft SO has been created for P with analytic account AA - P can be sold (sale_ok=True) and Re-invoicing policy = 'At cost' - Untick the option 'Can be sold' on P - Create an expense E for P with the analytic account AA - Submit E and try to post the entries Bug: A UserError was raised saying that SO with analytic account AA must validated but P is no more salable. opw:2217773 closes odoo/odoo#48408 X-original-commit: 3db629cbcde9c4c3bbe2874c18e01dd31abe092d Signed-off-by: Simon Goffin (sig) <sig@openerp.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%