Skip to content
Permalink
Browse files

[IMP] purchase_requisition: set value of procurement

  • Loading branch information...
jip-odoo committed May 14, 2019
1 parent 03c71bb commit 06d96a1ad4fd9f9ead57f67a3458c631501e61ad
Showing with 1 addition and 0 deletions.
  1. +1 −0 addons/purchase_requisition/models/purchase_requisition.py
@@ -246,6 +246,7 @@ def _onchange_product_id(self):
if self.product_id:
self.product_uom_id = self.product_id.uom_po_id
self.product_qty = 1.0
self.product_id.write({'purchase_requisition': 'tenders'})
if not self.schedule_date:
self.schedule_date = self.requisition_id.schedule_date

0 comments on commit 06d96a1

Please sign in to comment.
You can’t perform that action at this time.