Remove restriction to view the period_id field on invoices

This commit is contained in:
Alexis de Lattre
2016-03-01 09:25:42 +01:00
parent 786f005b65
commit 7d51c25430

View File

@@ -17,6 +17,11 @@
<field name="fiscal_position" position="attributes"> <field name="fiscal_position" position="attributes">
<attribute name="widget">selection</attribute> <attribute name="widget">selection</attribute>
</field> </field>
<!-- by default, period_id is restricted to account.group_account_user
But a member of account.group_account_invoice may need to change it -->
<field name="period_id" position="attributes">
<attribute name="groups"></attribute>
</field>
</field> </field>
</record> </record>
@@ -28,6 +33,11 @@
<field name="fiscal_position" position="attributes"> <field name="fiscal_position" position="attributes">
<attribute name="widget">selection</attribute> <attribute name="widget">selection</attribute>
</field> </field>
<!-- by default, period_id is restricted to account.group_account_user
But a member of account.group_account_invoice may need to change it -->
<field name="period_id" position="attributes">
<attribute name="groups"></attribute>
</field>
</field> </field>
</record> </record>