[FIX] stock: location_id not required on procurement
bzr revid: qdp-launchpad@openerp.com-20131008153521-4noai5fcrpp2hx1u
This commit is contained in:
@@ -90,7 +90,7 @@ class procurement_rule(osv.osv):
|
||||
class procurement_order(osv.osv):
|
||||
_inherit = "procurement.order"
|
||||
_columns = {
|
||||
'location_id': fields.many2one('stock.location', 'Procurement Location', required=True),
|
||||
'location_id': fields.many2one('stock.location', 'Procurement Location'), # not required because task may create procurements that aren't linked to a location with project_mrp
|
||||
'move_ids': fields.one2many('stock.move', 'procurement_id', 'Moves', help="Moves created by the procurement"),
|
||||
'move_dest_id': fields.many2one('stock.move', 'Destination Move', help="Move which caused (created) the procurement"),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user