[IMP] move button from form to tree
This commit is contained in:
parent
bc6f13172b
commit
29bcc527cb
@ -42,7 +42,10 @@
|
|||||||
</group>
|
</group>
|
||||||
<group string="Annexed orders" name="annexes" attrs="{'invisible': [('id', '=', False)]}">
|
<group string="Annexed orders" name="annexes" attrs="{'invisible': [('id', '=', False)]}">
|
||||||
<field name="contract_annex_ids">
|
<field name="contract_annex_ids">
|
||||||
<field name="name"/>
|
<tree>
|
||||||
|
<field name="name"/>
|
||||||
|
<button name="action_print_form" type="object" string="Print" icon="fa-print"/>
|
||||||
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
</group>
|
</group>
|
||||||
</sheet>
|
</sheet>
|
||||||
|
@ -18,9 +18,6 @@
|
|||||||
<field name="payment_term" invisible="1"/>
|
<field name="payment_term" invisible="1"/>
|
||||||
<field name="delivery_time" invisible="1"/>
|
<field name="delivery_time" invisible="1"/>
|
||||||
</group>
|
</group>
|
||||||
<group>
|
|
||||||
<button name="action_print_form" type="object" string="Print" attrs="{'invisible': [('contract_id', '=', False)]}"/>
|
|
||||||
</group>
|
|
||||||
</sheet>
|
</sheet>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user