diff options
| author | jem-odoo <jem@openerp.com> | 2017-12-11 16:10:00 +0100 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2018-01-29 17:16:27 +0100 |
| commit | aaced1542c21fb14d79162d781cc64d6ce1331c1 (patch) | |
| tree | 0fe3592f4301644ea3e9a3e92dcc52cd7181fc86 /addons/mail/static/src/xml/thread.xml | |
| parent | 9b04a2448bdd66e7a7f79e7b164c0d5a88966611 (diff) | |
[IMP] sale,hr_expense: reinvoice policy and 'can be expensed'
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).
Diffstat (limited to 'addons/mail/static/src/xml/thread.xml')
0 files changed, 0 insertions, 0 deletions
