Skip to content

Commit

Permalink
[IMP] removed commented code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chirag-OSI committed Feb 22, 2024
1 parent e0eda6a commit b00ae70
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion product_configurator_sale/views/sale_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
>
<field invisible="1" name="config_ok" />
<button
attrs="{'invisible': ['|',('config_ok','=',False),('state','not in',['draft','sent'])]}"
invisible="not config_ok or state not in ['draft','sent']"
class="fa-lg"
groups="product_configurator.group_product_configurator"
Expand Down
2 changes: 1 addition & 1 deletion product_configurator_sale/wizard/product_configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@


class ProductConfiguratorSale(models.TransientModel):

_name = "product.configurator.sale"
_inherit = "product.configurator"
_description = "Product Configurator Sale"
Expand Down Expand Up @@ -70,7 +71,6 @@ def action_config_done(self):
for key, val in fields_spec.items()
if key in list(line_vals.keys()) and key != "tax_id"
}
# line_vals = {key: val for key, val in line_vals.items() if key != 'tax_id'}
updates = order_line_obj.onchange(line_vals, ["product_id"], fields_spec)
values = updates.get("value", {})
values = cfg_session.get_vals_to_write(values=values, model=model_name)
Expand Down

0 comments on commit b00ae70

Please sign in to comment.