mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[IMP] base_comment_template: Refactor code and convert to Many2Many
This commit is contained in:
@@ -6,14 +6,21 @@
|
||||
<page name='internal_notes' position="after">
|
||||
<page name='base_comment_template_ids' string="Comment Templates">
|
||||
<field
|
||||
colspan="4"
|
||||
mode="tree"
|
||||
name="base_comment_template_ids"
|
||||
nolabel="1"
|
||||
widget="one2many"
|
||||
height="300"
|
||||
context="{'default_partner_id': active_id}"
|
||||
/>
|
||||
context="{'comment_template_model_display': True}"
|
||||
>
|
||||
<tree>
|
||||
<field name="display_name" string="Name" />
|
||||
<field name="position" />
|
||||
<field
|
||||
name="company_id"
|
||||
groups="base.group_multi_company"
|
||||
/>
|
||||
<field name="model_ids" />
|
||||
<field name="domain" />
|
||||
</tree>
|
||||
</field>
|
||||
</page>
|
||||
</page>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user