|
@@ -0,0 +1,47 @@
|
|
|
+<?xml version="1.0"?>
|
|
|
+<openerp>
|
|
|
+ <data>
|
|
|
+ <!-- <record id="product_readonly_template_only_form_view" model="ir.ui.view">
|
|
|
+ <field name="name">cost_security.product.form</field>
|
|
|
+ <field name="model">product.template</field>
|
|
|
+ <field name="inherit_id" ref="stock_account.view_template_property_form"/>
|
|
|
+ <field name="groups_id" eval="[(6, 0, [ref('group_restrict_cost_prices')])]"/>
|
|
|
+ <field name="arch" type="xml">
|
|
|
+ <field name="standard_price" position="attributes">
|
|
|
+ <attribute name="invisible">1</attribute>
|
|
|
+ </field>
|
|
|
+ <label for="standard_price" position="attributes">
|
|
|
+ <attribute name="invisible">1</attribute>
|
|
|
+ </label>
|
|
|
+ </field>
|
|
|
+ </record> -->
|
|
|
+ <record id="product_readonly_template_only_form_view" model="ir.ui.view">
|
|
|
+ <field name="name">cost_security.product.security.form</field>
|
|
|
+ <field name="model">product.template</field>
|
|
|
+ <field name="inherit_id" ref="product_barcode_athletic.product_template_form_view_barcode"/>
|
|
|
+ <field name="groups_id" eval="[(6, 0, [ref('group_restrict_cost_prices')])]"/>
|
|
|
+ <field name="arch" type="xml">
|
|
|
+ <field name="standard_price" position="attributes">
|
|
|
+ <attribute name="invisible">1</attribute>
|
|
|
+ </field>
|
|
|
+ <label for="standard_price" position="attributes">
|
|
|
+ <attribute name="invisible">1</attribute>
|
|
|
+ </label>
|
|
|
+ </field>
|
|
|
+ </record>
|
|
|
+ <record id="product_readonly_product_only_form_view" model="ir.ui.view">
|
|
|
+ <field name="name">cost_security.product.product.form</field>
|
|
|
+ <field name="model">product.product</field>
|
|
|
+ <field name="inherit_id" ref="product_barcode_athletic.product_form_view_barcode"/>
|
|
|
+ <field name="groups_id" eval="[(6, 0, [ref('group_restrict_cost_prices')])]"/>
|
|
|
+ <field name="arch" type="xml">
|
|
|
+ <field name="standard_price" position="attributes">
|
|
|
+ <attribute name="invisible">1</attribute>
|
|
|
+ </field>
|
|
|
+ <label for="standard_price" position="attributes">
|
|
|
+ <attribute name="invisible">1</attribute>
|
|
|
+ </label>
|
|
|
+ </field>
|
|
|
+ </record>
|
|
|
+ </data>
|
|
|
+</openerp>
|