[IMP] account_reports: composite reports
The goal of this pr is to add a tooltip to the use_sections field. closes odoo/odoo#140973 Task: 3569038 Related: odoo/enterprise#50142 Signed-off-by: Olivier Colson (oco) <oco@odoo.com>
This commit is contained in:
@@ -4310,6 +4310,13 @@ msgstr ""
|
||||
msgid "Create a new tax group"
|
||||
msgstr ""
|
||||
|
||||
#. module: account
|
||||
#: model:ir.model.fields,help:account.field_account_report__use_sections
|
||||
msgid ""
|
||||
"Create a structured report with multiple sections for convenient navigation "
|
||||
"and simultaneous printing."
|
||||
msgstr ""
|
||||
|
||||
#. module: account
|
||||
#: model_terms:ir.actions.act_window,help:account.action_move_in_invoice_type
|
||||
msgid "Create a vendor bill"
|
||||
|
||||
@@ -36,7 +36,11 @@ class AccountReport(models.Model):
|
||||
variant_report_ids = fields.One2many(string="Variants", comodel_name='account.report', inverse_name='root_report_id')
|
||||
section_report_ids = fields.Many2many(string="Sections", comodel_name='account.report', relation="account_report_section_rel", column1="main_report_id", column2="sub_report_id")
|
||||
section_main_report_ids = fields.Many2many(string="Section Of", comodel_name='account.report', relation="account_report_section_rel", column1="sub_report_id", column2="main_report_id")
|
||||
use_sections = fields.Boolean(string="Composite Report", store=True, readonly=False, compute="_compute_use_sections")
|
||||
use_sections = fields.Boolean(
|
||||
string="Composite Report",
|
||||
compute="_compute_use_sections", store=True, readonly=False,
|
||||
help="Create a structured report with multiple sections for convenient navigation and simultaneous printing.",
|
||||
)
|
||||
chart_template = fields.Selection(string="Chart of Accounts", selection=lambda self: self.env['account.chart.template']._select_chart_template())
|
||||
country_id = fields.Many2one(string="Country", comodel_name='res.country')
|
||||
only_tax_exigible = fields.Boolean(
|
||||
|
||||
Reference in New Issue
Block a user