Move views to view folder

This commit is contained in:
Jordi Esteve 2014-05-21 12:55:46 +02:00
parent 40bb629ef8
commit f091cc6385
2 changed files with 21 additions and 20 deletions

View File

@ -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>

20
view/module_form.xml Normal file
View File

@ -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>