diff options
| author | Quentin (OpenERP) <qdp-launchpad@openerp.com> | 2013-10-08 17:35:21 +0200 |
|---|---|---|
| committer | Quentin (OpenERP) <qdp-launchpad@openerp.com> | 2013-10-08 17:35:21 +0200 |
| commit | b6ff6e4d0a9bd6534188a99ea53d0d58c8dc56c8 (patch) | |
| tree | 514e7f3a98580603ed7b2f0f235019349277dbbe | |
| parent | 761253727c1f9e71a0f069feeea7666efdc4a9b2 (diff) | |
[FIX] stock: location_id not required on procurement
bzr revid: qdp-launchpad@openerp.com-20131008153521-4noai5fcrpp2hx1u
| -rw-r--r-- | addons/stock/procurement.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/stock/procurement.py b/addons/stock/procurement.py index 3402aa6a8b7..2841fb8c0e1 100644 --- a/addons/stock/procurement.py +++ b/addons/stock/procurement.py @@ -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"), } |
