Add related_party in search context of secondary party
issue9333 review323301002
This commit is contained in:
1 parent
d55a414dac
commit
7c78d9020a
1 file changed
+4
-1
+4
-1
@@ -71,7 +71,10 @@ class Subscription(Workflow, ModelSQL, ModelView):
|
||||
'readonly': ((Eval('state') != 'draft')
|
||||
| Eval('lines', [0])),
|
||||
},
|
||||
depends=['state'])
|
||||
search_context={
|
||||
'related_party': Eval('party'),
|
||||
},
|
||||
depends=['state', 'party'])
|
||||
invoice_address = fields.Many2One(
|
||||
'party.address', "Invoice Address",
|
||||
domain=[
|
||||
|
||||
Reference in new issue
Block a user