Skip to content

Commit

Permalink
precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
jdidderen committed Feb 16, 2025
1 parent 9957cb5 commit 9a67a0d
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 6 deletions.
2 changes: 1 addition & 1 deletion text_element_accounting/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"version": "16.0.1.0.0",
"license": "AGPL-3",
"author": "Noviat, Elneo",
"website": "https://www.noviat.com/",
"website": "https://github.com/jdideren/odoo-text-elements",
"category": "Accounting",
"summary": "Text Elements - Accounting module",
"depends": ["text_element_base", "account"],
Expand Down
3 changes: 3 additions & 0 deletions text_element_accounting/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
2 changes: 1 addition & 1 deletion text_element_base/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"version": "16.0.1.0.0",
"license": "AGPL-3",
"author": "Noviat, Elneo",
"website": "https://www.noviat.com/",
"website": "https://github.com/jdideren/odoo-text-elements",
"category": "Tools",
"summary": "Text Elements - Base module",
"depends": ["base", "web"],
Expand Down
3 changes: 2 additions & 1 deletion text_element_base/models/text_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ class TextElement(models.Model):
"Placeholder Expression",
store=False,
readonly=False,
help="Final placeholder expression, to be copy-pasted in the desired template field.",
help="Final placeholder expression, to be "
"copy-pasted in the desired template field.",
compute="_compute_dynamic_placeholder",
)
field_ttype = fields.Selection(
Expand Down
3 changes: 3 additions & 0 deletions text_element_base/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
3 changes: 2 additions & 1 deletion text_element_base/wizards/add_text_element_wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ def _onchange_text_element_id(self):
if (
wizard.text_element_id.id in current_record.text_element_ids.ids
or current_record.text_element_custom_ids.filtered(
lambda tec: tec.text_element_id.id == wizard.text_element_id.id
lambda tec, wiz=wizard: tec.text_element_id.id
== wiz.text_element_id.id
)
):
raise UserError(
Expand Down
2 changes: 1 addition & 1 deletion text_element_purchase/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"version": "16.0.1.0.0",
"license": "AGPL-3",
"author": "Noviat, Elneo",
"website": "https://www.noviat.com/",
"website": "https://github.com/jdideren/odoo-text-elements",
"category": "Purchases",
"summary": "Text Elements - Purchases module",
"depends": ["text_element_base", "purchase"],
Expand Down
3 changes: 3 additions & 0 deletions text_element_purchase/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
2 changes: 1 addition & 1 deletion text_element_sale/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"version": "16.0.1.0.0",
"license": "AGPL-3",
"author": "Noviat, Elneo",
"website": "https://www.noviat.com/",
"website": "https://github.com/jdideren/odoo-text-elements",
"category": "Sales",
"summary": "Text Elements - Sale module",
"depends": ["text_element_base", "sale"],
Expand Down
3 changes: 3 additions & 0 deletions text_element_sale/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"

0 comments on commit 9a67a0d

Please sign in to comment.