From To filter domain
This commit is contained in:
@@ -3343,8 +3343,12 @@ class ContractDetail(ModelView):
|
||||
], 'Price type', required=True)
|
||||
currency_unit = fields.Selection('get_currency_unit',string="Curr/Unit")
|
||||
reference = fields.Char("Reference")
|
||||
from_location = fields.Many2One('stock.location',"From location")
|
||||
to_location = fields.Many2One('stock.location',"To location")
|
||||
from_location = fields.Many2One(
|
||||
'stock.location', "From location",
|
||||
domain=[('type', 'in', ['storage', 'supplier'])])
|
||||
to_location = fields.Many2One(
|
||||
'stock.location', "To location",
|
||||
domain=[('type', 'in', ['storage', 'customer'])])
|
||||
payment_term = fields.Many2One('account.invoice.payment_term',"Payment Term", required=True)
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user