fix: remove deprecated attrs/states attributes for Odoo 19 compatibility

Converted all attrs= expressions to inline invisible/readonly attributes
in wizard XML views (woo_product_fetch_views.xml, woo_setup_wizard_views.xml).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsinghpal
2026-03-31 21:43:03 -04:00
parent 5d361d8c8a
commit 84f01ebd7b
3 changed files with 31 additions and 29 deletions

View File

@@ -7,13 +7,15 @@
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@name='picking_move_tree']" position="before">
<group string="WooCommerce Shipping" invisible="not is_woo_delivery">
<xpath expr="//page[@name='extra']" position="after">
<page string="WooCommerce" name="woo_shipping" invisible="not is_woo_delivery">
<group>
<field name="woo_tracking_number"/>
<field name="woo_carrier_id"/>
<group string="Shipping Details">
<field name="woo_tracking_number"/>
<field name="woo_carrier_id"/>
</group>
</group>
</group>
</page>
</xpath>
</field>
</record>