Send only the required fields when fetching a readonly view definition
issue11134 review380081002
This commit is contained in:
1 parent
f68cf7ab99
commit
d0f453d9d4
1 file changed
+2
-4
+2
-4
@@ -31,16 +31,14 @@ class PriceListLine(metaclass=PoolMeta):
|
||||
If(Eval('start_date') & Eval('end_date'),
|
||||
('start_date', '<=', Eval('end_date')),
|
||||
()),
|
||||
],
|
||||
depends=['end_date'])
|
||||
])
|
||||
end_date = fields.Date(
|
||||
"End Date",
|
||||
domain=[
|
||||
If(Eval('start_date') & Eval('end_date'),
|
||||
('end_date', '>=', Eval('start_date')),
|
||||
()),
|
||||
],
|
||||
depends=['start_date'])
|
||||
])
|
||||
|
||||
def match(self, pattern):
|
||||
pool = Pool()
|
||||
|
||||
Reference in new issue
Block a user