12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?xml version="1.0"?>
- <odoo>
- <record id="custom_access_view_tree" model="ir.ui.view">
- <field name="name">ir.model.access.view.tree</field>
- <field name="model">ir.model.access</field>
- <field name="inherit_id" ref="base.ir_access_view_tree"/>
- <field name="arch" type="xml">
- <xpath expr="//field[@name='perm_unlink']" position="after">
- <field name="perm_check"/>
- <field name="perm_uncheck"/>
- <field name="perm_finish"/>
- <field name="perm_unfinish"/>
- <field name="perm_nullify"/>
- <field name="perm_un_nullify"/>
- </xpath>
- </field>
- </record>
- <record id="custom_ir_access_view_tree_edition" model="ir.ui.view">
- <field name="name">ir.model.access.view.tree.edition</field>
- <field name="model">ir.model.access</field>
- <field name="inherit_id" ref="base.ir_access_view_tree_edition"/>
- <field name="arch" type="xml">
- <xpath expr="//field[@name='perm_unlink']" position="after">
- <field name="perm_check"/>
- <field name="perm_uncheck"/>
- <field name="perm_finish"/>
- <field name="perm_unfinish"/>
- <field name="perm_nullify"/>
- <field name="perm_un_nullify"/>
- </xpath>
- </field>
- </record>
- <record id="custom_ir_access_view_form" model="ir.ui.view">
- <field name="model">ir.model.access</field>
- <field name="inherit_id" ref="base.ir_access_view_form"/>
- <field name="arch" type="xml">
- <xpath expr="//field[@name='perm_unlink']" position="after">
- <field name="perm_check"/>
- <field name="perm_uncheck"/>
- <field name="perm_finish"/>
- <field name="perm_unfinish"/>
- <field name="perm_nullify"/>
- <field name="perm_un_nullify"/>
- </xpath>
- </field>
- </record>
- </odoo>
|