summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorjem-odoo <jem@openerp.com>2017-11-06 15:12:08 +0100
committerjem-odoo <jem@openerp.com>2018-01-29 10:10:46 +0100
commit8386773a5b431accc484b7a0e2b27ed04cc9735b (patch)
treec7aa50f8042dac4b22b892dd610e866db275d312 /addons/web/static/src/js/views/basic/basic_model.js
parentc667853f59aec278ef0879bf800bd5aa477e76fe (diff)
[IMP] resource: define a conversion factor hour to day on working calendar
Using a working calendar, you might want to know how much hour correspond a work day. This depends of you working calendar. This might be usefull to compute leave duration (half a day is not 8 hours, but 4). The hours_per_day field is not computed as the average of working hour of all work day of calendar to allow customization. By default, it is 8, as the default attendances are the one from the 40h/week calendar. A constant is also available to handle case where resource calendar is not available.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions