Skip to content

Commit

Permalink
[IMP] sale_variant_configurator: pre-commit stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinafernandez-tecnativa committed May 16, 2024
1 parent b77f883 commit 2b98329
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sale_variant_configurator/models/sale_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ def _onchange_product_tmpl_id_configurator(self):
self.name = (self.name or "") + "\n" + product_tmpl.description_sale
if self.order_id.pricelist_id and self.order_id.partner_id:
self.price_unit = self.env["account.tax"]._fix_tax_included_price(
product_tmpl.price, product_tmpl.taxes_id, self.tax_id,
product_tmpl.price,
product_tmpl.taxes_id,
self.tax_id,
)
return res

Expand Down
6 changes: 6 additions & 0 deletions setup/sale_variant_configurator/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit 2b98329

Please sign in to comment.