Skip to content

Commit b40ee64

Browse files
committed
[FIX] product_catalog_tree: fix in product catalog fields
closes #815 Signed-off-by: matiasperalta1 <mnp@adhoc.com.ar>
1 parent 7dd5b63 commit b40ee64

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

product_catalog_tree/models/product_product.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ def _compute_catalog_values(self):
3737
order_id = self._context.get("order_id")
3838

3939
if not res_model or not order_id:
40+
self.product_catalog_qty = 0
41+
self.product_catalog_price = 0
4042
return
4143

4244
order = self.env[res_model].browse(order_id)

0 commit comments

Comments
 (0)