Skip to content

Commit

Permalink
fix: don't set code on PO generated from agreement
Browse files Browse the repository at this point in the history
When generating a purchase order from a framework agreement, the code
should be auto-generated from the sequence, and not be equal to the code
of the logistic requisition.

This bug was already fixed on v7 by Nicolas Bessi. Then for some reason,
while porting to v8 I re-enabled a commented out line bringing that
back.

Now it is deleted for good.
  • Loading branch information
lepistone committed Nov 7, 2014
1 parent 78fce04 commit 4212795
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ def _prepare_purchase_order(self, cr, uid, line, po_pricelist,
data['fiscal_position'] = position
data['origin'] = requisition.name
data['date_order'] = requisition.date
data['name'] = requisition.name
data['consignee_id'] = requisition.consignee_id.id
data['incoterm_id'] = requisition.incoterm_id.id
data['incoterm_address'] = requisition.incoterm_address
Expand Down

0 comments on commit 4212795

Please sign in to comment.