summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorjem-odoo <jem@openerp.com>2019-04-19 12:49:12 +0000
committerjem-odoo <jem@openerp.com>2019-05-14 12:26:41 +0000
commit43d51466c858719736c3d2be0c9ef5b4f6244733 (patch)
tree4e95aa3574979a3ada35d6d4132375e565458b07 /addons/web/static/src/js/fields/basic_fields.js
parent59059a480f22197ff141173f053fd59ffeb56223 (diff)
[IMP] uom: introduces duration unit of measure
This commit introduces the duration (time) units of measures, flagged as internation unit of measure. We already have the "working time" UoM, but those ones are customizable and might differ from the International System of Units; indeed, one working day means 8 hours (more or less) for some company. The rational here is, when we are handling datetime, we need to get the UoM in the Odoo System to convert the result; for instance, computing the difference between 2 datetimes will return the number of days (or hours). But you need to match it with an odoo UoM to extract informations from that value. This unit of measure 'duration' is like a master data, because existing in the real world and that many module will depend on. Task-1971491 closes odoo/odoo#32840 Signed-off-by: Jérome Maes (jem) <jem@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions