aaced1542c21fb14d79162d781cc64d6ce1331c1
Impacted modules: sale, hr_expense, sale_stock and sale_expense. The reinvoice policy has nothing to do with the fact a product can be expensed or not by employee, because of the vendor bills use case. You can only choose reinvoice policy of your product when hr_expense is installed, which is not very intuitive for users. So this commit makes reinvoice policy field always visible when sale is installed. 'can_be_expensed' field determines if the product can be used in HR expense. However, since reinvoice policy does not make much sense for stockable products, we hide this option and reset it to 'no' when sale_stock module is installed, as we don't handle stock for those expensed products (when confirming expense, the product is already delivered).
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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%