~camptocamp/magentoerpconnect/oerp6.1-oldstable-stock-config-1070726

« back to all changes in this revision

Viewing changes to magentoerpconnect/product_view.xml

[MRG] from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
243
243
                                                <field name="magento_sku" select="2" attrs="{'required':[('magento_exportable','==',True)], 'readonly':[('magento_exported', '==', True)]}"/>
244
244
                                        </xpath>
245
245
                                        <xpath expr="/form/group/group/field[@name='variants']" position="after">
246
 
                                                <field name="set" select="2" attrs="{'required':[('magento_exportable','==',True)]}"/>
 
246
                                                <field name="set" select="2" attrs="{'required':[('magento_exportable','==',True)], 'readonly': [('magento_exported', '=', True)]}"/>
247
247
                                        </xpath>
248
248
                                        <xpath expr="/form/group/group/field[@name='sale_ok']" position="before">
249
249
                                                <button name="open_magento_fields"/>
277
277
                    <group colspan='4' col='8'>
278
278
                        <separator string="Magento Information" colspan="8"/>
279
279
                        <field name="name"/>
280
 
                        <field name="set" select="2" attrs="{'required':[('magento_exportable','==',True)]}"/>
 
280
                        <field name="set" select="2" attrs="{'required':[('magento_exportable','==',True)], 'readonly': [('magento_exported', '=', True)]}"/>
281
281
                        <field name="magento_sku" select="2" attrs="{'required':[('magento_exportable','==',True)]}"/>
282
282
                        <field name="product_type" select="2" attrs="{'required':[('magento_exportable','==',True)]}"/>
283
283
                        <field name="magento_exportable"/>
 
284
                        <field name="magento_exported" invisible="1" />
284
285
                    </group>
285
286
                    <separator string="attributes_placeholder" colspan="4"/>
286
287
                    <group colspan='4' col='4'>