Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0045040 | Retail Modules | Web POS | public | 2020-09-14 11:38 | 2020-09-25 14:49 |
|
Reporter | gorka_gil | |
Assigned To | gorka_gil | |
Priority | urgent | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR20Q4 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0045040: Implement pending part of support remote bp discounts |
Description | DiscountFilterBussinessPartner supports remote through preference OBPOS_remote.discount.bp.
But it is pending to implement in the new code the requests to the backend for this code. |
Steps To Reproduce | Test CreateOTFWithDiscounts:
- In the last part that change to carl studson bp, it don't apply the discount that it should. |
Proposed Solution | There is a function (OB.Discounts.Pos.addDiscountsByBusinessPartnerFilter) that reads the discounts from the db and store in the discounts cache,this function should be splitted in two parts one for read from the db and other to save in the discounts cache.
Check change bp method from where it is called, and also compare with all the requests of bp to the backend from where are done, in general when requesting to the backend for the bp it is needed to request also for the bp discounts.
When we get the data of the bp discounts from the backend we needed to save it to the db, so it is needed to create a masterdata endpoint for that, and since we don't know when it will be saved, we will use the splitted previous function to add directly to the discounts cache. |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0045136 | RR20Q3.2 | closed | gorka_gil | Implement pending part of support remote bp discounts |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2020-09-14 11:38 | gorka_gil | New Issue | |
2020-09-14 11:38 | gorka_gil | Assigned To | => Retail |
2020-09-14 11:38 | gorka_gil | OBNetwork customer | => No |
2020-09-14 11:38 | gorka_gil | Triggers an Emergency Pack | => No |
2020-09-14 12:06 | hgbot | Note Added: 0123017 | |
2020-09-23 00:11 | hgbot | Merge Request Status | => open |
2020-09-23 00:11 | hgbot | Note Added: 0123300 | |
2020-09-23 00:12 | hgbot | Note Added: 0123301 | |
2020-09-23 00:16 | hgbot | Note Added: 0123302 | |
2020-09-23 02:22 | gorka_gil | Assigned To | Retail => gorka_gil |
2020-09-23 02:22 | gorka_gil | Status | new => scheduled |
2020-09-24 22:20 | gorka_gil | Status | scheduled => acknowledged |
2020-09-24 22:20 | gorka_gil | Status | acknowledged => scheduled |
2020-09-25 14:37 | hgbot | Note Added: 0123382 | |
2020-09-25 14:49 | hgbot | Merge Request Status | open => approved |
2020-09-25 14:49 | hgbot | Resolution | open => fixed |
2020-09-25 14:49 | hgbot | Status | scheduled => closed |
2020-09-25 14:49 | hgbot | Fixed in Version | => RR20Q4 |
2020-09-25 14:49 | hgbot | Note Added: 0123383 | |
2020-09-25 14:49 | hgbot | Note Added: 0123384 | |
2020-09-25 14:49 | hgbot | Note Added: 0123385 | |
2020-09-25 14:49 | hgbot | Note Added: 0123386 | |
2020-09-25 14:49 | hgbot | Note Added: 0123387 | |
2020-09-25 14:49 | hgbot | Note Added: 0123388 | |
2020-09-25 14:49 | hgbot | Note Added: 0123389 | |
2020-09-25 14:49 | hgbot | Note Added: 0123390 | |
2020-09-25 14:49 | hgbot | Note Added: 0123391 | |
2020-09-25 14:49 | hgbot | Note Added: 0123392 | |
2020-09-25 14:49 | hgbot | Note Added: 0123393 | |
2020-09-25 14:49 | hgbot | Note Added: 0123394 | |
Notes |
|
(0123017)
|
hgbot
|
2020-09-14 12:06
|
|
|
|
(0123300)
|
hgbot
|
2020-09-23 00:11
|
|
|
|
(0123301)
|
hgbot
|
2020-09-23 00:12
|
|
|
|
(0123302)
|
hgbot
|
2020-09-23 00:16
|
|
|
|
(0123382)
|
hgbot
|
2020-09-25 14:37
|
|
|
|
(0123386)
|
hgbot
|
2020-09-25 14:49
|
|
|
|
(0123385)
|
hgbot
|
2020-09-25 14:49
|
|
|
|
(0123384)
|
hgbot
|
2020-09-25 14:49
|
|
|
|
(0123383)
|
hgbot
|
2020-09-25 14:49
|
|
|
|
(0123387)
|
hgbot
|
2020-09-25 14:49
|
|
|
|
(0123388)
|
hgbot
|
2020-09-25 14:49
|
|
|
|
(0123389)
|
hgbot
|
2020-09-25 14:49
|
|
|
|
(0123390)
|
hgbot
|
2020-09-25 14:49
|
|
|
|
(0123391)
|
hgbot
|
2020-09-25 14:49
|
|
|
|
(0123392)
|
hgbot
|
2020-09-25 14:49
|
|
|
|
(0123393)
|
hgbot
|
2020-09-25 14:49
|
|
|
|
(0123394)
|
hgbot
|
2020-09-25 14:49
|
|
|