mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-28 06:32:01 +02:00
19.0 vanilla
This commit is contained in:
parent
79f83631d5
commit
73afc09215
6267 changed files with 1534193 additions and 1130106 deletions
|
|
@ -8,7 +8,7 @@
|
|||
<xpath expr="//div[hasclass('oe_button_box')]/button" position="before">
|
||||
<button class="oe_stat_button" name="action_view_so"
|
||||
type="object" icon="fa-pencil-square-o" help="Sale Orders"
|
||||
attrs="{'invisible': ['|', ('sale_order_count', '=', 0), ('display_complete', '=', False)]}">
|
||||
invisible="sale_order_count == 0 or not display_complete">
|
||||
<div class="o_field_widget o_stat_info">
|
||||
<span class="o_stat_value">
|
||||
<field name="sale_order_count" widget="statinfo" nolabel="1" class="mr4"/>
|
||||
|
|
@ -17,19 +17,6 @@
|
|||
</div>
|
||||
</button>
|
||||
</xpath>
|
||||
<xpath expr="//group[@name='main_group']" position="after">
|
||||
<group>
|
||||
<field name="sale_order_ids" widget="many2many" readonly="True"
|
||||
attrs="{'invisible': ['|', ('sale_order_ids', '=', []), ('display_complete', '=', True)]}">
|
||||
<tree>
|
||||
<field name="name"/>
|
||||
<field name="partner_id"/>
|
||||
<field name="date_order"/>
|
||||
<field name="state" invisible="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
</group>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue