SaleOrderLine mapping product_uom_qty error

Bug #1243805 reported by Maxime Jacquet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Prestashop OpenERP Connector
New
Undecided
Unassigned

Bug Description

Hi,

On prestashoperpconnect/unit/mapper.py file, line 403, "SaleOrderLineMapper" class
We have an incorrect direct mapping here :

----------------------------------------
@prestashop
class SaleOrderLineMapper(PrestashopImportMapper):
    _model_name = 'prestashop.sale.order.line'

    direct = [
        ('product_name', 'name'),
        ('id', 'sequence'),
        ('product_price', 'price_unit'),
        ('unit_price_tax_excl', 'product_uom_qty'), <----------- must be ('product_quantity', 'product_uom_qty')
        ('reduction_percent', 'discount'),
    ]
------------------------------------

Revision history for this message
Maxime Jacquet (m-jacquet) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.