Openbravo Issue Tracking System - POS2
View Issue Details
0046351POS2POSpublic2021-04-15 13:052021-05-11 10:58
ebecerra 
pablobessone 
normalmajorhave not tried
closedfixed 
5
 
TAPTAP 
guilleaer
No
0046351: JIRA 1687: When load a ticket from ERP the promotions not show the "identifier"
When load a ticket from ERP with promotions the label for promotions displayed ignore the value of the "identifier" (OrderLineOffer.obdiscIdentifier).

This happens for discounts by line and also for discount by total when being showed in the separated place.
In agapes test: https://agapes-test.cloud.openbravo.com/ [^]

Login in a terminal

search for the ticket 00370011/0000335

See that the total discount is named "Comarch Discounts by Total" instead of the value in te identifier.

New steps

In Standard environment
Create and order
Add a product (avalanche transceiver)
Click on order line
In the popover select discount
Apply a discount to line (disc_5_var_euro) and press apply
Press pay
Order is created

If you load the order using orders everything is fine

Go to pgadmin
Open table c_orderline_offer (last line created)
Add something in column "em_obdisc_identifier"


Close the order and reload it again
Now the name of discount shown sould be the text added in em_obdisc_identifier

No tags attached.
blocks defect 0046272 closed pablobessone JIRA 1687: When load a ticket from ERP the promotions not show the "identifier" 
Issue History
2021-04-26 12:34guilleaerTypedefect => backport
2021-04-26 12:34guilleaerTarget Version => TAP
2021-04-26 15:58guilleaerNote Added: 0127538
2021-04-26 15:58guilleaerStatusscheduled => resolved
2021-04-26 15:58guilleaerFixed in Version => TAP
2021-04-26 15:58guilleaerResolutionopen => fixed
2021-04-26 15:58guilleaerStatusresolved => closed
2021-05-10 15:04guilleaerStatusclosed => new
2021-05-10 15:04guilleaerResolutionfixed => open
2021-05-10 15:04guilleaerFixed in VersionTAP =>
2021-05-10 15:04guilleaerStatusnew => scheduled
2021-05-10 15:08guilleaerNote Added: 0127946
2021-05-10 15:12guilleaerResolution time => 1620770400
2021-05-10 20:28pablobessoneNote Added: 0127969
2021-05-11 10:57guilleaerStatusscheduled => resolved
2021-05-11 10:57guilleaerFixed in Version => TAP
2021-05-11 10:57guilleaerResolutionopen => fixed
2021-05-11 10:58guilleaerNote Added: 0127986
2021-05-11 10:58guilleaerStatusresolved => closed

Notes
(0127538)
guilleaer   
2021-04-26 15:58   
https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2/-/merge_requests/4 [^]
(0127946)
guilleaer   
2021-05-10 15:08   
Reopened. When flag (organization window) "show order discounts in a separate section" is enabled identifer is not being used
(0127969)
pablobessone   
2021-05-10 20:28   
MR updated here: https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2/-/merge_requests/10 [^]
(0127986)
guilleaer   
2021-05-11 10:58   
Reviewed and closed