mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-26 20:52:00 +02:00
19.0 vanilla
This commit is contained in:
parent
79f83631d5
commit
73afc09215
6267 changed files with 1534193 additions and 1130106 deletions
|
|
@ -7,7 +7,7 @@
|
|||
<field name="inherit_id" ref="payment.payment_provider_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<group name="payment_form" position="inside">
|
||||
<field name="so_reference_type" attrs="{'invisible': [('code', '!=', 'custom')]}"/>
|
||||
<field name="so_reference_type" invisible="code != 'custom'"/>
|
||||
</group>
|
||||
</field>
|
||||
</record>
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
<xpath expr="//div[hasclass('oe_button_box')]" position="inside">
|
||||
<button name="action_view_sales_orders" type="object"
|
||||
class="oe_stat_button" icon="fa-money"
|
||||
attrs="{'invisible': [('sale_order_ids_nbr', '=', 0)]}">
|
||||
invisible="sale_order_ids_nbr == 0">
|
||||
<field name="sale_order_ids_nbr" widget="statinfo" string="Sales Order(s)"/>
|
||||
</button>
|
||||
</xpath>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue