Move views to view folder
This commit is contained in:
parent
40bb629ef8
commit
f091cc6385
21
module.xml
21
module.xml
|
@ -6,26 +6,7 @@ The COPYRIGHT file at the top level of this repository contains the full copyrig
|
|||
<record model="ir.ui.view" id="module_view_form">
|
||||
<field name="model">ir.module.module</field>
|
||||
<field name="inherit" ref="ir.module_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
<data>
|
||||
<xpath
|
||||
expr="/form/field[@name='version']"
|
||||
position="after">
|
||||
<notebook colspan="6">
|
||||
<page string="Description" id="description" col="6">
|
||||
<field name="description" colspan="4"/>
|
||||
</page>
|
||||
<page string="Extra Information" id="extra" col="6"
|
||||
states="{'invisible': Not(Equal(Eval('state'), 'installed'))}">
|
||||
<field name="models"/>
|
||||
<field name="fields" colspan="2"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</xpath>
|
||||
</data>
|
||||
]]>
|
||||
</field>
|
||||
<field name="name">module_form</field>
|
||||
</record>
|
||||
</data>
|
||||
</tryton>
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- This file is part account_bank module for Tryton.
|
||||
The COPYRIGHT file at the top level of this repository contains the full
|
||||
copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath
|
||||
expr="/form/field[@name='version']"
|
||||
position="after">
|
||||
<notebook colspan="6">
|
||||
<page string="Description" id="description" col="6">
|
||||
<field name="description" colspan="4"/>
|
||||
</page>
|
||||
<page string="Extra Information" id="extra" col="6"
|
||||
states="{'invisible': Not(Equal(Eval('state'), 'installed'))}">
|
||||
<field name="models"/>
|
||||
<field name="fields" colspan="2"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</xpath>
|
||||
</data>
|
Loading…
Reference in New Issue