diff options
| author | jem-odoo <jem@openerp.com> | 2017-11-27 10:08:31 +0100 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2017-11-28 11:46:07 +0100 |
| commit | 85726e33b0113ea23ce93d1f756b8ce168150e8c (patch) | |
| tree | 4818b370ef7bff048d2003c0495373fddb1c46c0 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 3680e099a69cbefad7c5afb5b4e049f6f0b3fc39 (diff) | |
[FIX] sale_timesheet: do not create project/task when expense
When expensing a service product, an SO line is created
on the SO from the hr expense. This creation triggers
the service object creation (task and/or project), and
should not.
To avoid this, we check if the ordered quantity
is not zero to avoid use the expense policy (or
any expensable product will not be able to create
task/project).
The same mecanism is used in stock to avoid picking
creation when expensing stockable product.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
