[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:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user