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

Loading…
Cancel
Save