Openbravo Issue Tracking System - Modules
View Issue Details
0046787ModulesMagento Connector - Mappingspublic2021-05-21 14:392021-07-05 11:44
aferraz 
aferraz 
normalmajorhave not tried
closedfixed 
5
 
 
0046787: Magento connector doesn't import product price correctly when a discount is applied
Magento connector doesn't import product price correctly when a discount is applied
- Configure Magento connector: http://wiki.openbravo.com/wiki/Projects:Integration_Magento_Connector [^]
- Export a Price Adjustment discount from Openbravo to Magento.
- Import to Openbravo an order created in Magento including a product with previous exported discount.
- Open imported order in Sales Order window and check Gross List Price and Base Gross Unit Price fields show the product price minus applied discount, but they should show product price without applying the discount.
No tags attached.
related to defect 0046904 closed ranjith_qualiantech_com Retail Modules Discounts and taxes are recalculated for an already completed order when paying it 
related to defect 0047321 closed ranjith_qualiantech_com Retail Modules Discounts removed when paying an already completed order 
diff 46787.diff (1,108) 2021-05-21 16:26
https://issues.openbravo.com/file_download.php?file_id=15805&type=bug
Issue History
2021-05-21 14:39aferrazNew Issue
2021-05-21 14:39aferrazAssigned To => Triage Finance
2021-05-21 14:39aferrazIssue generated from0046687
2021-05-21 16:26aferrazFile Added: 46787.diff
2021-05-27 17:32hgbotNote Added: 0128734
2021-05-31 15:03aferrazRelationship addedrelated to 0046904
2021-05-31 15:03aferrazAssigned ToTriage Finance => aferraz
2021-07-02 12:35aferrazRelationship addedrelated to 0047321
2021-07-05 11:44hgbotNote Added: 0130130
2021-07-05 11:44hgbotResolutionopen => fixed
2021-07-05 11:44hgbotStatusnew => closed
2021-07-05 11:44hgbotNote Added: 0130131
2021-07-05 11:44hgbotNote Added: 0130132
2021-07-05 11:44hgbotNote Added: 0130133

Notes
(0128734)
hgbot   
2021-05-27 17:32   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.magento.mappings/-/merge_requests/2 [^]
(0130130)
hgbot   
2021-07-05 11:44   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.magento.mappings [^]
Changeset: b5c32334eade8b3453a6d316f2e6f4e1f98b8f6c
Author: Álvaro Ferraz <alvaro.ferraz@openbravo.com>
Date: 2021-07-05T10:55:04+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.magento.mappings/-/commit/b5c32334eade8b3453a6d316f2e6f4e1f98b8f6c [^]

Related to ISSUE-46787: Update file format

---
M src/org/openbravo/service/integration/magento/mappings/inbound/orders/OrderLineImportMapper.java
---
(0130131)
hgbot   
2021-07-05 11:44   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.magento.mappings [^]
Changeset: 72d060033c69d65dc3284e58768e26ed02b1fb5d
Author: Álvaro Ferraz <alvaro.ferraz@openbravo.com>
Date: 2021-07-05T10:55:04+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.magento.mappings/-/commit/72d060033c69d65dc3284e58768e26ed02b1fb5d [^]

Fixes ISSUE-46787: Use original product price to set grossListPrice/netListPrice and baseGrossUnitPrice/baseNetUnitPrice order line properties

---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
M src/org/openbravo/service/integration/magento/mappings/inbound/orders/OrderLineImportMapper.java
---
(0130132)
hgbot   
2021-07-05 11:44   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.magento.mappings [^]
Changeset: 82c9ec3941e2b80e7980e43f7c124931cd0d4536
Author: Álvaro Ferraz <alvaro.ferraz@openbravo.com>
Date: 2021-07-05T10:55:04+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.magento.mappings/-/commit/82c9ec3941e2b80e7980e43f7c124931cd0d4536 [^]

Related to ISSUE-46787: Fix orders tests

---
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/00-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/01-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/02-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/03-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/04-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/05-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/06-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/07-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/08-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/09-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/10-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/11-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/12-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/13-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/14-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/15-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/16-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/17-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/18-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/19-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/20-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/21-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/22-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/23-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/24-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/25-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/26-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/27-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/28-OB.json
M src-test/org/openbravo/service/integration/magento/mappings/inbound/orders/data/29-OB.json
---
(0130133)
hgbot   
2021-07-05 11:44   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.magento.mappings/-/merge_requests/2 [^]