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