[IMP] purchase: Remove create and edit option from 'supplier currency' field.

We are able to create a currency on the fly. A user should not be able to
create a currency when entering master data, currency should only be added
through the currencies menu item and a part of configuration.
This commit is contained in:
Mansi Gandhi
2016-07-04 12:57:44 +02:00
committed by Yannick Tivisse
parent 273b969c92
commit 36ce096600
+1 -1
View File
@@ -9,7 +9,7 @@
<field name="groups_id" eval="[(4, ref('base.group_multi_currency'))]"/>
<field name="arch" type="xml">
<group name="purchase" position="inside">
<field name="property_purchase_currency_id"/>
<field name="property_purchase_currency_id" options="{'no_create': True, 'no_open': True}"/>
</group>
</field>
</record>