[IMP] base: required field (from view python expr) are add automatically

related to odoo/odoo#137031

closes odoo/documentation#6115

Related: odoo/enterprise#48832
Related: odoo/upgrade#5861
Signed-off-by: Raphael Collet <rco@odoo.com>
This commit is contained in:
Gorash
2024-03-22 15:31:44 +01:00
committed by Raphael Collet
parent 2ab5bb32c8
commit 644cbd052f
3 changed files with 0 additions and 5 deletions

View File

@@ -1456,7 +1456,6 @@ The `field` element can have the following attributes:
<tree>
<field name="name" string="My Custom Name"/>
<field name="amount" sum="Total"/>
<field name="company_id" invisible="1"/>
<field name="currency_id"/>
<field name="tax_id"/>
</tree>
@@ -1847,7 +1846,6 @@ The `field` element can have the following attributes:
<search>
<field name="name" string="My Custom Name"/>
<field name="amount"/>
<field name="company_id" invisible="1"/>
<field name="currency_id"/>
<field name="ref" filter_domain="[('name', 'like', self)]"/>
</search>

View File

@@ -16,7 +16,6 @@
.. code-block:: xml
<field name="fname_a" invisible="True"/> <!-- necessary to evaluate invisible attribute of 'fname_b' field -->
<field name="fname_b" invisible="fname_c != 3 and fname_a == parent.fname_d"/>
<group invisible="fname_c != 4">
<field name="fname_c"/>