summaryrefslogtreecommitdiff
path: root/odoo/fields.py
diff options
context:
space:
mode:
authorVictor Feyens <vfe@odoo.com>2020-02-07 10:09:43 +0000
committerVictor Feyens <vfe@odoo.com>2020-02-07 14:00:13 +0000
commitbfad367afe34e1c93b38fd82c706ab78304b0d63 (patch)
treed6d9963ebfa943d61d65914557c26da7149fd8b7 /odoo/fields.py
parent3e9b73b1ee06a1b1014fbfeeba6b04b2d3c5d1a1 (diff)
[IMP] doc: some precisions/fixes
closes odoo/odoo#44869 X-original-commit: c8c311b8d463d1db7f3700c1bb5dac076abab905 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Diffstat (limited to 'odoo/fields.py')
-rw-r--r--odoo/fields.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/odoo/fields.py b/odoo/fields.py
index 7f5ef5d1eb5..3de87106fd5 100644
--- a/odoo/fields.py
+++ b/odoo/fields.py
@@ -1196,10 +1196,10 @@ class Integer(Field):
class Float(Field):
- """The precision digits are given by the attribute
+ """The precision digits are given by the (optional) digits attribute.
- :param digits: a pair (total, decimal) or a
- string referencing a `decimal.precision` record.
+ :param digits: a pair (total, decimal) or a string referencing a
+ :class:`~odoo.addons.base.models.decimal_precision.DecimalPrecision` record name.
:type digits: tuple(int,int) or str
When a float is a quantity associated with an unit of measure, it is important