199 lines
7.3 KiB
XML
199 lines
7.3 KiB
XML
<odoo>
|
|
<record id="project_task_form_directives_inherit" model="ir.ui.view">
|
|
<field name="name">project.task.form.directives.inherit</field>
|
|
<field name="model">project.task</field>
|
|
<field name="inherit_id" ref="project.view_task_form2"/>
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="//form/header" position="inside">
|
|
<button
|
|
string="Выбрать тип"
|
|
type="object"
|
|
name="action_choose_directive_group"
|
|
class="btn-primary"
|
|
/>
|
|
</xpath>
|
|
|
|
<xpath expr="//form/sheet/div[@class='oe_button_box']" position="inside">
|
|
<button
|
|
type="object"
|
|
name="action_open_directives"
|
|
class="oe_stat_button"
|
|
icon="fa-tasks"
|
|
string="Директивы"
|
|
/>
|
|
</xpath>
|
|
|
|
<xpath expr="//sheet" position="inside">
|
|
<group string="Исполнение">
|
|
<field name="directive_execution_status" readonly="1"/>
|
|
</group>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="sale_order_form_directives_inherit" model="ir.ui.view">
|
|
<field name="name">sale.order.form.directives.inherit</field>
|
|
<field name="model">sale.order</field>
|
|
<field name="inherit_id" ref="sale.view_order_form"/>
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="//form/header" position="inside">
|
|
<button
|
|
string="Выбрать тип"
|
|
type="object"
|
|
name="action_choose_directive_group"
|
|
class="btn-primary"
|
|
/>
|
|
</xpath>
|
|
|
|
<xpath expr="//form/sheet/div[@class='oe_button_box']" position="inside">
|
|
<button
|
|
type="object"
|
|
name="action_open_directives"
|
|
class="oe_stat_button"
|
|
icon="fa-tasks"
|
|
string="Директивы"
|
|
/>
|
|
</xpath>
|
|
|
|
<xpath expr="//sheet" position="inside">
|
|
<group string="Исполнение">
|
|
<field name="directive_execution_status" readonly="1"/>
|
|
</group>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="account_move_form_directives_inherit" model="ir.ui.view">
|
|
<field name="name">account.move.form.directives.inherit</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
|
|
string="Выбрать тип"
|
|
type="object"
|
|
name="action_choose_directive_group"
|
|
class="btn-primary"
|
|
/>
|
|
</xpath>
|
|
|
|
<xpath expr="//form/sheet/div[@class='oe_button_box']" position="inside">
|
|
<button
|
|
type="object"
|
|
name="action_open_directives"
|
|
class="oe_stat_button"
|
|
icon="fa-tasks"
|
|
string="Директивы"
|
|
/>
|
|
</xpath>
|
|
|
|
<xpath expr="//sheet" position="inside">
|
|
<group string="Исполнение">
|
|
<field name="directive_execution_status" readonly="1"/>
|
|
</group>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="account_payment_form_directives_inherit" model="ir.ui.view">
|
|
<field name="name">account.payment.form.directives.inherit</field>
|
|
<field name="model">account.payment</field>
|
|
<field name="inherit_id" ref="account.view_account_payment_form"/>
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="//form/header" position="inside">
|
|
<button
|
|
string="Выбрать тип"
|
|
type="object"
|
|
name="action_choose_directive_group"
|
|
class="btn-primary"
|
|
/>
|
|
</xpath>
|
|
|
|
<xpath expr="//form/sheet/div[@class='oe_button_box']" position="inside">
|
|
<button
|
|
type="object"
|
|
name="action_open_directives"
|
|
class="oe_stat_button"
|
|
icon="fa-tasks"
|
|
string="Директивы"
|
|
/>
|
|
</xpath>
|
|
|
|
<xpath expr="//sheet" position="inside">
|
|
<group string="Исполнение">
|
|
<field name="directive_execution_status" readonly="1"/>
|
|
</group>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="stock_picking_form_directives_inherit" model="ir.ui.view">
|
|
<field name="name">stock.picking.form.directives.inherit</field>
|
|
<field name="model">stock.picking</field>
|
|
<field name="inherit_id" ref="stock.view_picking_form"/>
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="//form/header" position="inside">
|
|
<button
|
|
string="Выбрать тип"
|
|
type="object"
|
|
name="action_choose_directive_group"
|
|
class="btn-primary"
|
|
/>
|
|
</xpath>
|
|
|
|
<xpath expr="//form/sheet/div[@class='oe_button_box']" position="inside">
|
|
<button
|
|
type="object"
|
|
name="action_open_directives"
|
|
class="oe_stat_button"
|
|
icon="fa-tasks"
|
|
string="Директивы"
|
|
/>
|
|
</xpath>
|
|
|
|
<xpath expr="//sheet" position="inside">
|
|
<group string="Исполнение">
|
|
<field name="directive_execution_status" readonly="1"/>
|
|
</group>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="mrp_production_form_directives_inherit" model="ir.ui.view">
|
|
<field name="name">mrp.production.form.directives.inherit</field>
|
|
<field name="model">mrp.production</field>
|
|
<field name="inherit_id" ref="mrp.mrp_production_form_view"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//header" position="inside">
|
|
<button
|
|
string="Выбрать тип"
|
|
type="object"
|
|
name="action_choose_directive_group"
|
|
class="btn-primary"
|
|
/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="project_task_form_directive_demo" model="ir.ui.view">
|
|
<field name="name">project.task.form.directive.demo</field>
|
|
<field name="model">project.task</field>
|
|
<field name="inherit_id" ref="project.view_task_form2"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//header" position="inside">
|
|
<button
|
|
name="action_demo_directive_callback"
|
|
type="object"
|
|
string="Demo: Callback"
|
|
class="btn-primary"
|
|
/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|