summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorjem-odoo <jem@openerp.com>2017-11-27 10:08:31 +0100
committerjem-odoo <jem@openerp.com>2017-11-28 11:46:07 +0100
commit85726e33b0113ea23ce93d1f756b8ce168150e8c (patch)
tree4818b370ef7bff048d2003c0495373fddb1c46c0 /addons/web/static/src/js/views/basic
parent3680e099a69cbefad7c5afb5b4e049f6f0b3fc39 (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')
0 files changed, 0 insertions, 0 deletions