Skip to content

Commit

Permalink
[MIG] sale_order_tag: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kev-Roche committed Jun 14, 2023
1 parent 125a1a5 commit 0777a45
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sale_order_tag/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Patrick Wilson, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/sale-workflow",
"category": "Sale",
"version": "16.0.0.0.1",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"depends": ["crm", "sale_management"],
"data": [
Expand Down
4 changes: 3 additions & 1 deletion sale_order_tag/models/sale_order_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ class SaleOrderTag(models.Model):
required=True,
)

_sql_constraints = [("name_uniq", "unique (name)", "Tag name already exists!")]
_sql_constraints = [
("name_uniq", "unique (name, company_id)", "Tag name already exists!")
]
2 changes: 1 addition & 1 deletion sale_order_tag/views/sale_order_tag.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<field name="name">sale.order.tag.form</field>
<field name="model">sale.order.tag</field>
<field name="arch" type="xml">
<form string="Tags">
<form string="Sale Order Tags">
<sheet>
<div class="oe_button_box" name="button_box">
<button
Expand Down

0 comments on commit 0777a45

Please sign in to comment.