make_to_order product policy not repsected in order import
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magento OpenERP Connector |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When importing orders order lines are always created with make_to_stock policy independently of the setting in the product.
I modified some code in sale.py so that it retrieves the correct information.
I am new to openerp and don't know well neither python nor coding standards in openerp so leave it to you to introduce into the branch if you think it's OK.
sale.py line in def get_order_lines
# PB begin
#PB end
return res
Related branches
- Guewen Baconnier @ Camptocamp: Needs Information
-
Diff: 1624 lines (+1251/-2) (has conflicts)18 files modifiedmagento_product_auto_sku/__init__.py (+21/-0)
magento_product_auto_sku/__openerp__.py (+32/-0)
magento_product_auto_sku/data.xml (+18/-0)
magento_product_auto_sku/product.py (+45/-0)
magentoerpconnect/__openerp__.py (+4/-0)
magentoerpconnect/magerp_core.py (+67/-0)
magentoerpconnect/magerp_core_view.xml (+20/-0)
magentoerpconnect/magerp_data.xml (+50/-1)
magentoerpconnect/partner.py (+4/-0)
magentoerpconnect/partner_view.xml (+34/-0)
magentoerpconnect/product.py (+392/-0)
magentoerpconnect/product_view.xml (+8/-0)
magentoerpconnect/sale.py (+314/-1)
magentoerpconnect/settings/1.3.2.4/external.mappinglines.template.csv (+64/-0)
magentoerpconnect/stock.py (+41/-0)
order_duplication_patch/__init__.py (+19/-0)
order_duplication_patch/__openerp__.py (+36/-0)
order_duplication_patch/sale.py (+82/-0)
Changed in magentoerpconnect: | |
importance: | Undecided → Medium |
Raphael can you confirm this?