[IMP] doc: some precisions/fixes

closes odoo/odoo#44869

X-original-commit: c8c311b8d463d1db7f3700c1bb5dac076abab905
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
Victor Feyens
2020-02-07 14:00:13 +00:00
parent 3e9b73b1ee
commit bfad367afe
2 changed files with 7 additions and 4 deletions
+4 -1
View File
@@ -42,7 +42,10 @@ can take the following attributes:
the model your report will be about
``report_type`` (mandatory)
either ``qweb-pdf`` for PDF reports or ``qweb-html`` for HTML
``report_name``
``file``
The path to the main report file (depending on Report Type)
or empty if the content is in another field
``print_report_name``
the name of your report (which will be the name of the PDF output)
``groups``
:class:`~odoo.fields.Many2many` field to the groups allowed to view/use
+3 -3
View File
@@ -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