~sebastien.beau/magentoerpconnect/oerp6.1-cleanning

« back to all changes in this revision

Viewing changes to magento_sku_is_code/product_view.xml

  • Committer: Sébastien Beau
  • Date: 2012-12-07 13:18:05 UTC
  • mfrom: (676.2.39 magentoerpconnect)
  • Revision ID: sebastien.beau@akretion.com-20121207131805-o4tgotytj3ku580m
[MERGE] merge with cleaning branch, please do not forget to update dependency, product-extra-addons, openobject-extention, e-commerce-adddons. 

magentoerpconnect :
- REFACTOR
    - refactor the invoice syncronisation 
        2 modules are available, 1 for using Magento Invoice, one for using OpenERP invoice
        moreover if invoice syncronisation failed try to map if an existing one already exist : fonction => map_magento_order 
    - refactor view for compatibility in multi-e-commerce solution
    - NAME REFACTOR : by default use only name if you need to use the lastname and firstname please first update magentoerpconnect and them install magentoerpconnect_partner_surname. DO IT ON A DATABASE TEST BEFORE. If you have any trouble please open a bug on lp
    - use new api for moving the category and updating the stock information

    ADD
        - add reporting when exporting stock level

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="utf-8"?>
2
 
<openerp>
3
 
    <data>
4
 
        <record model="ir.ui.view" id="product_product_form_view_magerp_sku">
5
 
            <field name="name">product.normal.form_magerp.sku</field>
6
 
            <field name="model">product.product</field>
7
 
            <field name="type">form</field>
8
 
            <field name="inherit_id" ref="magentoerpconnect.product_product_form_view_magerp"/>
9
 
            <field name="arch" type="xml">
10
 
                <data>
11
 
                    <field name="default_code" position="attributes">
12
 
                        <attribute name="attrs">{'required':[('magento_exportable','=',True)]}</attribute>
13
 
                    </field>
14
 
                    <field name="magento_sku" position="attributes">
15
 
                        <attribute name="attrs"/>
16
 
                    </field>
17
 
                    <field name="magento_sku" position="attributes">
18
 
                        <attribute name="readonly">True</attribute>
19
 
                    </field>
20
 
                </data>
21
 
            </field>
22
 
        </record>
23
 
    </data>
24
 
</openerp>