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

« back to all changes in this revision

Viewing changes to magentoerpconnect/settings/1.5.0.0/sale.order.line/external.mappinglines.template.csv

  • 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:
9
9
    clean = re.sub('\w:\w:|\w:\w+;', '', ifield)
10
10
    for each in clean.split('{'):
11
11
        if each.startswith('""label""'):
12
 
            split_info = each.split(';')        
 
12
            split_info = each.split(';')
13
13
            options_label.append('%s: %s [%s]' % (split_info[1], split_info[3], data['sku']))
14
 
        
 
14
 
15
15
    result=[('notes',  """".join(options_label).replace('""""', '\n').replace('""', ''))]
16
16
",,,
17
17
mag1500_sale_order_line_product_id=>,,in,direct,product_id,sale.field_sale_order_line_product_id,int,False,mag1500_sale_order_line,,,,,
21
21
('price_unit_tax_excluded', (float(resource['base_row_total']))/float(resource['qty_ordered'])),
22
22
('tax_rate', float(resource['base_row_total']) and (float(resource['base_row_total_incl_tax'])/float(resource['base_row_total'])-1)),
23
23
]",,,
 
24
mag1500_sale_order_line_id,,in,direct,item_id,base_sale_multichannels.field_sale_order_line_ext_ref_line,int,False,mag1500_sale_order_line,,,,,