Send only the required fields when fetching a readonly view definition

issue11134
review380081002
This commit is contained in:
Nicolas Évrard committed 2022-04-08 19:07:13 +02:00
1 parent ac71289e55
commit 8d9ced8ba0
1 file changed
+1 -2
+1 -2
View File
@@ -99,7 +99,6 @@ class SplitProductionStart(ModelView):
uom = fields.Many2One('product.uom', 'Uom', required=True,
domain=[
('category', '=', Eval('uom_category')),
],
depends=['uom_category'])
])
uom_category = fields.Many2One('product.uom.category', 'Uom Category',
readonly=True)