[IMP] stock: when applying a push rule the new move should not be linked to the same procurement anymore

This commit is contained in:
Josse Colpaert 2016-06-13 23:38:12 +02:00
parent c77745b9c5
commit fe15829c16
1 changed files with 1 additions and 0 deletions

View File

@ -3832,6 +3832,7 @@ class stock_location_path(osv.osv):
'propagate': rule.propagate,
'push_rule_id': rule.id,
'warehouse_id': rule.warehouse_id and rule.warehouse_id.id or False,
'procurement_id': False,
}
def _apply(self, cr, uid, rule, move, context=None):