Skip to content
Snippets Groups Projects
Commit 5b0d2d27 authored by Cédric Krier's avatar Cédric Krier :atom:
Browse files

Add missing company domain/field

issue4311
review7691002
parent fd68d64d
No related merge requests found
......@@ -951,6 +951,8 @@
domain=[('parent', '=', None), ['OR',
('group', '=', None),
('group.kind', 'in', ['purchase', 'both'])],
('commpany', '=',
Eval('_parent_purchase', {}).get('commpany', -1)),
],
states={
'invisible': Eval('type') != 'line',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment