Add state in translation tree view
This commit is contained in:
@@ -47,6 +47,7 @@ It displays the Local modules by default in tree view (instead of Kanban) filter
|
|||||||
'data': [
|
'data': [
|
||||||
'partner_view.xml',
|
'partner_view.xml',
|
||||||
'module_view.xml',
|
'module_view.xml',
|
||||||
|
'translation_view.xml',
|
||||||
'security/ir.model.access.csv',
|
'security/ir.model.access.csv',
|
||||||
],
|
],
|
||||||
'installable': True,
|
'installable': True,
|
||||||
|
|||||||
23
base_usability/translation_view.xml
Normal file
23
base_usability/translation_view.xml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 2015 Akretion (http://www.akretion.com/)
|
||||||
|
@author: Alexis de Lattre <alexis.delattre@akretion.com>
|
||||||
|
The licence is in the file __openerp__.py
|
||||||
|
-->
|
||||||
|
|
||||||
|
<openerp>
|
||||||
|
<data>
|
||||||
|
|
||||||
|
<record id="view_translation_tree" model="ir.ui.view">
|
||||||
|
<field name="name">base_usability.state.translation.tree</field>
|
||||||
|
<field name="model">ir.translation</field>
|
||||||
|
<field name="inherit_id" ref="base.view_translation_tree"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<field name="type" position="after">
|
||||||
|
<field name="state"/>
|
||||||
|
</field>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
</data>
|
||||||
|
</openerp>
|
||||||
Reference in New Issue
Block a user