[ADD] document_page_group

[UPD] Update document_page_group.pot

[UPD] README.rst
This commit is contained in:
Enric Tobella
2019-11-29 14:06:20 +01:00
committed by FernandoRomera
parent 809b5de267
commit 7a98191737
12 changed files with 615 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record model="ir.rule" id="document_page_groups_rule">
<field name="name">document_page groups</field>
<field name="model_id" ref="model_document_page"/>
<field name="global" eval="True"/>
<field name="domain_force">['|','&amp;',('type', '=', 'content'),'|','|',('parent_id', '=', False), ('parent_id.group_ids','=',False),('parent_id.group_ids.users','=',user.id), '&amp;', ('type', '=', 'category'), '|', ('group_ids', '=', False), ('group_ids.users', '=', user.id)]</field>
</record>
</odoo>