Skip to content

Commit

Permalink
[MIG] sale_order_note_template: Resolve pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aktiv-heli-kantawala authored and IsabelAForgeFlow committed Feb 27, 2025
1 parent 86cd8a7 commit 786b45b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sale_order_note_template/models/sale_terms_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class SaleTermsTemplate(models.Model):

active = fields.Boolean(default=True)

name = fields.Char(string="Name", required=True)
name = fields.Char(required=True)

text = fields.Html(string="Terms template", translate=True)

Expand Down
4 changes: 2 additions & 2 deletions sale_order_note_template/views/sale_terms_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<field name="model">sale.terms_template</field>
<field name="arch" type="xml">
<search string="Terms and conditions Templates">
<field name="name" />
<field name="name" string="Name" />
</search>
</field>
</record>
Expand Down Expand Up @@ -52,7 +52,7 @@
<field name="priority" eval="6" />
<field name="arch" type="xml">
<tree>
<field name="name" />
<field name="name" string="Name" />
</tree>
</field>
</record>
Expand Down

0 comments on commit 786b45b

Please sign in to comment.