Browse Source

base_jsonify: add view for ir.exports

pull/1472/head
Sylvain Le Gal 6 years ago
committed by Simone Orsi
parent
commit
101c504860
  1. 1
      base_jsonify/__manifest__.py
  2. 38
      base_jsonify/views/ir_exports_view.xml

1
base_jsonify/__manifest__.py

@ -22,6 +22,7 @@
"base", "base",
], ],
"data": [ "data": [
'views/ir_exports_view.xml',
], ],
"demo": [ "demo": [
'demo/export_demo.xml', 'demo/export_demo.xml',

38
base_jsonify/views/ir_exports_view.xml

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record model="ir.ui.view" id="view_ir_exports">
<field name="model">ir.exports</field>
<field name="priority">50</field>
<field name="arch" type="xml">
<form>
<sheet>
<group name="se" string="Configuration">
<group colspan="4" col="4" name="se-main">
<field name="name"/>
<field name="resource"/>
</group>
</group>
<group name="index" string="Index">
<field name="export_fields" nolabel="1">
<tree editable="bottom">
<field name="name"/>
<field name="alias"/>
</tree>
</field>
</group>
</sheet>
</form>
</field>
</record>
<record id="act_ui_exports_view" model="ir.actions.act_window">
<field name="name">Export Fields</field>
<field name="res_model">ir.exports</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem id="ui_exports" action="act_ui_exports_view"
parent="base.next_id_2"/>
</odoo>
Loading…
Cancel
Save