20 lines
712 B
XML
20 lines
712 B
XML
<odoo>
|
|
<data>
|
|
<record id="account_move_form_upd_button_header" model="ir.ui.view">
|
|
<field name="name">account.move.form.upd.button.header</field>
|
|
<field name="model">account.move</field>
|
|
<field name="inherit_id" ref="account.view_move_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//form/header" position="inside">
|
|
<button name="print_upd"
|
|
type="object"
|
|
string="Печать УПД в xml-формате"
|
|
class="btn-primary"
|
|
invisible="state != 'posted' or move_type not in ('out_invoice','out_refund')"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</odoo>
|
|
|