[FIX] runbot_merge: attrs not supported in 17.0

Basically the next part of aa1df22657
which requires replacing @attrs by the corresponding attribute &
python predicates: new attrs were added to 15.0 since.
This commit is contained in:
Xavier Morel 2024-11-20 12:38:57 +01:00
parent 1f83007675
commit 31c13ca9a0

View File

@ -122,18 +122,12 @@
<field name="active"/> <field name="active"/>
</group> </group>
</group> </group>
<group attrs="{'invisible': [ <group invisible="patch and not commit">
('commit', '=', False),
('patch', '!=', False),
]}">
<group colspan="4"> <group colspan="4">
<field name="commit"/> <field name="commit"/>
</group> </group>
</group> </group>
<group attrs="{'invisible': [ <group invisible="commit and not patch">
('patch', '=', False),
('commit', '!=', False),
]}">
<group colspan="4"> <group colspan="4">
<field name="format" colspan="4"/> <field name="format" colspan="4"/>
<field name="patch" widget="ace"/> <field name="patch" widget="ace"/>