Openbravo Issue Tracking System - Retail Modules
View Issue Details
0052640Retail ModulesWeb POSpublic2023-06-01 13:132023-06-22 10:19
jose_duque 
alainperez 
highmajoralways
closedinvalid 
30Openbravo Appliance 14.04
 
 
No
0052640: Can't push a product and its complementary product through the orderloader
We can't upload a product and its complementary product through the orderloader.

It is impossible to make a new order with a product and its existing complementary product.
We can create orders and get orders that contain products that have linked complementary products but we can't create them. We have to create the separately which beats the purpose of a complementary product that has to be linked with its product in the order.

We should be able to push a complementary product through the orderloader with something like this:

 "hasComplementary":true,
               "complementaryProdList":[
                  {
                     "id":"IIIIIIIIIIIIIIIIIIIIIIIIIIIII",
                     "productId":"PPPPPPPPPPPPPPPPPPPPPPPPPP",
                     "complementaryProductId":"CCCCCCCCCCCCCCCCCCCCCC",
                     "obrecpIncludeWithMainProd":true,
                     "obrecpDeleteMainWithComp":true,
                     "_identifier":"123456789123456789"
                  }
               ],
No tags attached.
Issue History
2023-06-01 13:13jose_duqueNew Issue
2023-06-01 13:13jose_duqueAssigned To => Triage Platform Conn
2023-06-01 13:13jose_duqueIssue generated from0052078
2023-06-01 13:31marvintmAssigned ToTriage Platform Conn => Retail
2023-06-01 13:32marvintmIssue Monitored: marvintm
2023-06-01 13:32marvintmProjectModules => Retail Modules
2023-06-01 13:32marvintmTriggers an Emergency Pack => No
2023-06-01 13:32marvintmCategoryOpenbravo Business API => Web POS
2023-06-07 10:11jose_duqueNote Added: 0150852
2023-06-07 10:11jose_duqueDescription Updatedbug_revision_view_page.php?rev_id=26227#r26227
2023-06-07 10:11jose_duqueSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=26229#r26229
2023-06-13 17:34aaroncaleroAssigned ToRetail => alainperez
2023-06-13 17:34aaroncaleroStatusnew => scheduled
2023-06-22 10:19guillermogilNote Added: 0151480
2023-06-22 10:19guillermogilStatusscheduled => closed
2023-06-22 10:19guillermogilResolutionopen => invalid

Notes
(0150852)
jose_duque   
2023-06-07 10:11   
The use case is as follows:
1. An order is created in an external system (not yet in Openbravo) This order contains a product and its corresponding complementary product.
2. The external system tries to upload and send the information of this order through the Orderloader.

ISSUE: The external system CANNOT send the order since there is no way for it to specify that there is a complementary product in it.
(0151480)
guillermogil   
2023-06-22 10:19   
This issue comes from a custom functionality so it should not be here.
In any case, MR has been created to fix it.