summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorjem-odoo <jem@openerp.com>2018-09-18 16:24:36 +0200
committerjem-odoo <jem@openerp.com>2018-09-19 11:35:06 +0200
commita2456b20e9af30b0bf429302faf8291416ca3f0e (patch)
tree04ba2bf77be85b8a439645cdba33fd6f9829a3a3 /doc/reference/javascript_reference.rst
parent8e875f58cf62ff560d525d61da0003f5ea25e9cb (diff)
[FIX] hr_timesheet: create project with allow_timesheet checked by default
The default value when creating a project is true for 'allow_timesheet' field. This will automatically create an Analytic Account (if not provided). However, the old onchange reset the allow_timesheet to false if no AA was given, which is a contraction with the expected behavior on project creation. But, we might want to uncheck 'allow_timesheet' when we remove the AA on an existing project (Users can not log timesheets without an active analytic account). This commit fixes the erasing default value on creation by checking the record is currently existing in the database. Task #1886691
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions