Browse Source

[IMP] emc_document: Admin interface

pull/1/head
Rémy Taymans 7 years ago
parent
commit
613c404352
  1. 20
      easy_my_coop_document/views/easy_my_coop_document_views.xml

20
easy_my_coop_document/views/easy_my_coop_document_views.xml

@ -12,17 +12,28 @@
<field name="model">easy_my_coop.document</field>
<field name="arch" type="xml">
<form string="Documents">
<sheet>
<div class="oe_title">
<label for="name" class="oe_edit_only"/>
<h1><field name="name"/></h1>
</div>
<group>
<group>
<field name="name"/>
<field name="filename" invisible="1"/>
<field name="document" filename="filename"/>
<field name="document_date"/>
<field name="description"/>
</group>
<group>
<field name="public"/>
<field name="category"/>
</group>
</group>
<group>
<field name="published"/>
<field name="publication_date" readonly="True"/>
</group>
</sheet>
</form>
</field>
</record>
@ -66,11 +77,16 @@
<field name="model">easy_my_coop.document.category</field>
<field name="arch" type="xml">
<form string="Categories">
<sheet>
<div class="oe_title">
<label for="name" class="oe_edit_only"/>
<h1><field name="name"/></h1>
</div>
<group>
<field name="name"/>
<field name="description"/>
<field name="parent_id"/>
</group>
</sheet>
</form>
</field>
</record>

Loading…
Cancel
Save