Skip to content

Commit

Permalink
[IMP] base_comment_template: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yankinmax committed Jan 8, 2025
1 parent 94920ae commit 7a2539b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
2 changes: 0 additions & 2 deletions base_comment_template/security/security.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>

<record model="ir.rule" id="rule_multicompany">
<field name="name">Base comment multi-company</field>
<field name="model_id" ref="model_base_comment_template" />
<field name="global" eval="True" />
<field name="domain_force">
['|',('company_id','=',False),('company_id','in',company_ids)]</field>
</record>

</odoo>
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@
<form string="Base Comment Preview">
<h3>Preview of
<field
name="base_comment_template_id"
readonly="1"
nolabel="1"
class="oe_inline"
/>
name="base_comment_template_id"
readonly="1"
nolabel="1"
class="oe_inline"
/>
</h3>
<field name="no_record" invisible="1" />
<field name="model_ids" />
<div class="o_row">
<span>Choose an example
<field
name="model_id"
domain="[('id', 'in', model_ids or False)]"
/>
name="model_id"
domain="[('id', 'in', model_ids or False)]"
/>
record:
</span>
<div>
Expand Down

0 comments on commit 7a2539b

Please sign in to comment.