Skip to content

Commit

Permalink
Support#3205
Browse files Browse the repository at this point in the history
- Make the warehouse field a required field
  • Loading branch information
snantachai committed Sep 8, 2015
1 parent af60ab2 commit 33d8b08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext_purchase/purchase_requisition.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class purchase_requisition(osv.osv):
_inherit = 'purchase.requisition'

_columns = {
'warehouse_id': fields.many2one('stock.warehouse', 'Destination Warehouse', required=True),
'ref_order_id': fields.many2one('sale.order', 'Ref Sales Order', domain="[('state','not in',('draft','sent','cancel'))]"),
'ref_project_name': fields.char('Ref Project Name', size=64, readonly=False),
}
Expand Down

0 comments on commit 33d8b08

Please sign in to comment.