mirror of
https://github.com/NaN-tic/trytond-sale_pos.git
synced 2023-12-14 02:43:03 +01:00
Eval company or -1 in context m2o fields #163427
This commit is contained in:
parent
ed2c44179c
commit
04f055e00a
2
shop.py
2
shop.py
|
@ -12,7 +12,7 @@ class SaleShop(metaclass=PoolMeta):
|
|||
__name__ = 'sale.shop'
|
||||
party = fields.Many2One('party.party', "Default Party",
|
||||
context={
|
||||
'company': Eval('company'),
|
||||
'company': Eval('company', -1),
|
||||
}, depends=['company'])
|
||||
self_pick_up = fields.Boolean('Default Self Pick Up',
|
||||
help='The goods are picked up by the customer before the sale, so no '
|
||||
|
|
Loading…
Reference in a new issue