Skip to content
This repository was archived by the owner on Apr 28, 2022. It is now read-only.

Commit 8ff8854

Browse files
committed
Fix problem with date_palnned for purchase
1 parent 7f85dda commit 8ff8854

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

product_configurator_purchase/models/product_configurator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def action_config_done(self):
3434
new=False))
3535
if self.purchase_order_line_id:
3636
self.purchase_order_line_id.write(self._extra_line_values(self.purchase_order_line_id.order_id,
37-
self.product_id,
38-
new=False))
37+
self.product_id,
38+
new=False))
3939
self.unlink()
4040
return

product_configurator_purchase/views/purchase_views.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
('state','not in',['draft','sent'])
4444
]}"/>
4545
</xpath>
46+
<field name="date_planned" position="attributes">
47+
<attribute name="required">0</attribute>
48+
</field>
4649
</field>
4750
</record>
4851

0 commit comments

Comments
 (0)