Error when export deliveries if magento_code not in sales_order_shipment.getCarriers even without tracking number
Bug #1108643 reported by
Guewen Baconnier @ Camptocamp
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magento OpenERP Connector |
Fix Committed
|
Undecided
|
Guewen Baconnier @ Camptocamp |
Bug Description
When we export deliveries, it checks if the carrier is in the Magento API method sales_order_
The default Magento's carrier 'flatrate_flatrate' is not in this list so we can't export a delivery using this method.
It should be possible when no tracking number has been specified.
Related branches
lp://staging/~magentoerpconnect-core-editors/magentoerpconnect/oerp6.1-oldstable-nocheck_tracking-1108643
Ready for review
for merging
into
lp://staging/magentoerpconnect/oerp6.1-oldstable
- Alexandre Fayolle - camptocamp: Approve (code review, no test)
-
Diff: 45 lines (+10/-7)1 file modifiedmagentoerpconnect/stock.py (+10/-7)
lp://staging/~magentoerpconnect-core-editors/magentoerpconnect/oerp6.1-stable-nocheck_tracking-1108643
- Alexandre Fayolle - camptocamp: Approve (code review, no test)
-
Diff: 45 lines (+10/-7)1 file modifiedmagentoerpconnect/stock.py (+10/-7)
Superseded
for merging
into
lp://staging/~magentoerpconnect-core-editors/magentoerpconnect/oerp6.1-oldstable-nocheck_tracking-1108643
- MagentoERPConnect core editors: Pending requested
-
Diff: 9618 lines (+5822/-1326) (has conflicts)87 files modifiedmagento_product_auto_sku/__openerp__.py (+1/-1)
magento_product_auto_sku/data.xml (+3/-3)
magento_product_auto_sku/product.py (+9/-15)
magento_sku_is_code/__init__.py (+0/-22)
magento_sku_is_code/__openerp__.py (+0/-41)
magento_sku_is_code/product_view.xml (+0/-24)
magentoerpconnect/__openerp__.py (+26/-3)
magentoerpconnect/delivery.py (+6/-4)
magentoerpconnect/delivery_view.xml (+2/-2)
magentoerpconnect/i18n/zh_CN.po (+1794/-0)
magentoerpconnect/invoice.py (+135/-2)
magentoerpconnect/magerp_core.py (+115/-101)
magentoerpconnect/magerp_core_view.xml (+163/-165)
magentoerpconnect/magerp_data.xml (+37/-6)
magentoerpconnect/magerp_menu.xml (+65/-0)
magentoerpconnect/magerp_osv.py (+206/-5)
magentoerpconnect/partner.py (+113/-8)
magentoerpconnect/partner_view.xml (+14/-1)
magentoerpconnect/product.py (+811/-98)
magentoerpconnect/product_images.py (+111/-8)
magentoerpconnect/product_images_view.xml (+21/-21)
magentoerpconnect/product_links.py (+6/-10)
magentoerpconnect/product_links_view.xml (+8/-23)
magentoerpconnect/product_view.xml (+318/-313)
magentoerpconnect/sale.py (+424/-24)
magentoerpconnect/sale_view.xml (+77/-4)
magentoerpconnect/server_tmp.patch (+0/-14)
magentoerpconnect/settings/1.3.2.4/external.mapping.template.csv (+1/-1)
magentoerpconnect/settings/1.3.2.4/external.mappinglines.template.csv (+222/-23)
magentoerpconnect/settings/1.3.2.4/external.referential.version.csv (+2/-2)
magentoerpconnect/settings/1.5.0.0/account.invoice/external.mappinglines.template.csv (+10/-0)
magentoerpconnect/settings/1.5.0.0/attribut.group/external.mappinglines.template.csv (+5/-0)
magentoerpconnect/settings/1.5.0.0/attribut.set/external.mappinglines.template.csv (+5/-0)
magentoerpconnect/settings/1.5.0.0/attribut/external.mappinglines.template.csv (+26/-0)
magentoerpconnect/settings/1.5.0.0/external.mapping.template.csv (+19/-0)
magentoerpconnect/settings/1.5.0.0/external.referential.version.csv (+2/-2)
magentoerpconnect/settings/1.5.0.0/external.shop.group/external.mappinglines.template.csv (+6/-0)
magentoerpconnect/settings/1.5.0.0/magerp.storeviews/external.mappinglines.template.csv (+6/-0)
magentoerpconnect/settings/1.5.0.0/product.category/external.mappinglines.template.csv (+60/-0)
magentoerpconnect/settings/1.5.0.0/product.link/external.mappinglines.template.csv (+5/-0)
magentoerpconnect/settings/1.5.0.0/product/external.mappinglines.template.csv (+61/-0)
magentoerpconnect/settings/1.5.0.0/res.partner.address/external.mappinglines.template.csv (+59/-0)
magentoerpconnect/settings/1.5.0.0/res.partner.category/external.mappinglines.template.csv (+3/-0)
magentoerpconnect/settings/1.5.0.0/res.partner/external.mappinglines.template.csv (+21/-0)
magentoerpconnect/settings/1.5.0.0/sale.order.line/external.mappinglines.template.csv (+24/-0)
magentoerpconnect/settings/1.5.0.0/sale.order/external.mappinglines.template.csv (+44/-0)
magentoerpconnect/settings/1.5.0.0/sale.shop/external.mappinglines.template.csv (+5/-0)
magentoerpconnect/settings/external.referential.type.csv (+2/-0)
magentoerpconnect/stock.py (+25/-3)
magentoerpconnect/wizard/__init__.py (+0/-1)
magentoerpconnect/wizard/open_product_by_attribut_set.py (+5/-7)
magentoerpconnect/wizard/product_change_sku.py (+0/-41)
magentoerpconnect/wizard/product_change_sku_view.xml (+0/-36)
magentoerpconnect_bundle/__openerp__.py (+3/-3)
magentoerpconnect_bundle/product.py (+9/-16)
magentoerpconnect_bundle/product_view.xml (+31/-31)
magentoerpconnect_bundle/sale.py (+4/-6)
magentoerpconnect_bundle/sale_bundle_product.py (+6/-16)
magentoerpconnect_bundle/sale_bundle_product_view.xml (+14/-14)
magentoerpconnect_bundle_split/__openerp__.py (+4/-3)
magentoerpconnect_bundle_split/sale.py (+17/-22)
magentoerpconnect_bundle_split/settings/1.5.0.0/external.mappinglines.template.csv (+3/-3)
magentoerpconnect_bundle_split/stock.py (+9/-15)
magentoerpconnect_customer_fiscal_category/__openerp__.py (+2/-2)
magentoerpconnect_customer_fiscal_category/settings/1.5.0.0/external.mappinglines.template.csv (+5/-0)
magentoerpconnect_init_stock/__openerp__.py (+1/-1)
magentoerpconnect_init_stock/product.py (+2/-5)
magentoerpconnect_magento_invoice/__init__.py (+28/-0)
magentoerpconnect_magento_invoice/__openerp__.py (+44/-0)
magentoerpconnect_magento_invoice/account.py (+35/-0)
magentoerpconnect_openerp_invoice/__init__.py (+25/-0)
magentoerpconnect_openerp_invoice/__openerp__.py (+47/-0)
magentoerpconnect_openerp_invoice/external_referential.py (+33/-0)
magentoerpconnect_openerp_invoice/external_referential_view.xml (+22/-0)
magentoerpconnect_openerp_invoice/invoice.py (+81/-0)
magentoerpconnect_openerp_invoice/sale.py (+38/-0)
magentoerpconnect_partner_surname/__init__.py (+21/-0)
magentoerpconnect_partner_surname/__openerp__.py (+43/-0)
magentoerpconnect_partner_surname/settings/1.5.0.0/res.partner.address/external.mappinglines.template.csv (+3/-0)
magentoerpconnect_payment/__openerp__.py (+1/-1)
magentoerpconnect_payment/payment_type.py (+6/-8)
magentoerpconnect_payment/sale.py (+21/-18)
magentoerpconnect_product_variant/__openerp__.py (+4/-4)
magentoerpconnect_product_variant/product.py (+75/-50)
magentoerpconnect_product_variant/product_view.xml (+82/-70)
magentoerpconnect_product_variant/settings/1.3.2.4/external.mappinglines.template.csv (+0/-2)
magentoerpconnect_product_variant/settings/1.5.0.0/external.mappinglines.template.csv (+20/-2)
Changed in magentoerpconnect: | |
status: | New → Fix Committed |
assignee: | nobody → Guewen Baconnier @ Camptocamp (gbaconnier-c2c) |
To post a comment you must log in.
Revision 685
Magento 1.7.0.2
When I want to export shipping I get :
Error
The carrier flatrate_flatrate doesn't have a magento_code valid !The value flatrate is not in the carrier list ['dhl', 'usps', 'dhlint', 'fedex', 'TIPSAShipping', 'custom', 'ups'] allowed by Magento
In Magento Carrier code I have flatrate_flatrate
The name of the shipping in ERP is flatrate
The Product for shipping are named [SHIP] Shipping costs, and is a service (Imported when I do the initial sincronization)
I have changed configurations for the name, carrier code to find where is the problem, but I didn't found it
Any suggestions?