Openbravo Issue Tracking System - POS2
View Issue Details
0055232POS2POSpublic2024-04-18 05:022024-05-02 16:08
gaboflash 
gaboflash 
normalminorhave not tried
closedfixed 
5
 
 
No
0055232: Add functionality that allows to manage sale factor on products
In some cases products are subject to a sale factor. It means that a product, to be sold, has to respect a factor quantity. For example, products sold with a metric unit (Kg) but for which are conditioned in defined quantities (15kg bags).
During the sale, the customer will express his will to order a defined quantity without taking into account the conditioning constraint.
The cashier has to be warned that he has to respect a sale factor to manage multiples of quantities of items during sales.
N/A
No tags attached.
Issue History
2024-04-18 05:02gaboflashNew Issue
2024-04-18 05:02gaboflashAssigned To => gaboflash
2024-04-18 05:02gaboflashTriggers an Emergency Pack => No
2024-04-29 04:54hgbotNote Added: 0163861
2024-04-29 04:54hgbotNote Added: 0163862
2024-04-29 04:54hgbotNote Added: 0163863
2024-04-29 22:15hgbotNote Added: 0163918
2024-05-02 16:07hgbotResolutionopen => fixed
2024-05-02 16:07hgbotStatusnew => closed
2024-05-02 16:07hgbotFixed in Version => 24Q3
2024-05-02 16:07hgbotNote Added: 0164017
2024-05-02 16:07hgbotNote Added: 0164018
2024-05-02 16:07hgbotNote Added: 0164019
2024-05-02 16:07hgbotNote Added: 0164020
2024-05-02 16:07hgbotNote Added: 0164021
2024-05-02 16:07hgbotNote Added: 0164022
2024-05-02 16:07hgbotNote Added: 0164023
2024-05-02 16:07hgbotNote Added: 0164024
2024-05-02 16:07hgbotNote Added: 0164025
2024-05-02 16:08hgbotFixed in Version24Q3 => RR24Q3
2024-05-02 16:08hgbotNote Added: 0164026
2024-05-02 16:08hgbotNote Added: 0164027
2024-05-02 16:08hgbotNote Added: 0164028
2024-05-02 16:08hgbotNote Added: 0164029
2024-05-02 16:08hgbotNote Added: 0164030
2024-05-02 16:08hgbotNote Added: 0164031
2024-05-02 16:08hgbotNote Added: 0164032

Notes
(0163861)
hgbot   
2024-04-29 04:54   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1547 [^]
(0163862)
hgbot   
2024-04-29 04:54   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/96 [^]
(0163863)
hgbot   
2024-04-29 04:54   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2597 [^]
(0163918)
hgbot   
2024-04-29 22:15   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/282 [^]
(0164023)
hgbot   
2024-05-02 16:07   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: d7fbd008b4e525bce2b3b9dc30b4a290a89d3b8f
Author: Gabriel Lopez <gabriel.lopez@doceleguas.com>
Date: 01-05-2024 14:10:38
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/d7fbd008b4e525bce2b3b9dc30b4a290a89d3b8f [^]

Related to ISSUE-55232: Fixed stories

---
M web-jspack/org.openbravo.pos2/src/components/SelectLines/SelectedLinesGrid/stories/SelectLines.stories.jsx
---
(0164024)
hgbot   
2024-05-02 16:07   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: d258ecb56b511a32ba3ced9dfbafd39caee16fd0
Author: Antonio Moreno <antonio.moreno@openbravo.com>
Date: 02-05-2024 16:06:59
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/d258ecb56b511a32ba3ced9dfbafd39caee16fd0 [^]

Fixed ISSUE-55232: Fixed RM-10785. Implemented Sales Factor Units project

---
A build/classes/org/openbravo/pos2/modulescript/UpdatePOSApplicationModeOnRole.class
A build/classes/org/openbravo/pos2/modulescript/UpdatePOSApplicationModeOnRoleData.class
A src-util/modulescript/src/org/openbravo/pos2/modulescript/UpdatePOSApplicationModeOnRole.java
A src-util/modulescript/src/org/openbravo/pos2/modulescript/UpdatePOSApplicationModeOnRole_Data.xsql
A web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/PopoverSalesUnitFactorMessage.jsx
A web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLineSalesUnitFactorQuantity/TicketLineSalesUnitFactorQuantity.jsx
A web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLineSalesUnitFactorQuantity/TicketLineSalesUnitFactorQuantity.scss
A web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLineSalesUnitFactorQuantity/TicketLineSalesUnitFactorQuantityUtils.js
A web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLineSalesUnitFactorQuantity/__test__/TicketLineSalesUnitFactorQuantity.test.jsx
A web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLineSalesUnitFactorQuantity/index.js
A web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/TicketLineSalesUnitFactorMessage.jsx
A web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/TicketLineSalesUnitFactorMessage.scss
A web-jspack/org.openbravo.pos2/src/model/ticket/actions/cleaningDisplayOutput.js
A web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/CleaningDisplayOutput.js
A web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/SwitchToPaymentsExecutabilityRule.js
M build/classes/org/openbravo/pos2/modulescript/UpdateTouchpointTypeApplicationMode.class
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/pos2/mailing/Mailer.java
M web-jspack/org.openbravo.pos2/src-test/cypress/e2e/Features/services.spec.js
M web-jspack/org.openbravo.pos2/src/components/ButtonBar2/__test__/ButtonBar2.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ProofOfPayment/ProofOfPaymentDetails/ProofOfPaymentDetailLine/__test__/ProofOfPaymentDetailLine.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ProofOfPayment/ProofOfPaymentDetails/__test__/ProofOfPaymentDetails.test.jsx
M web-jspack/org.openbravo.pos2/src/components/SelectLines/SelectedLinesGrid/__test__/SelectLines.test.jsx
M web-jspack/org.openbravo.pos2/src/components/SelectLines/SelectedLinesGrid/stories/SelectLines.stories.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketArea/__test__/TicketArea.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketArea/stories/TicketArea.stories.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLinePopover.config.json
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLinePopover.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLinePopover.scss
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/__test__/TicketLinePopover.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/TicketLine.config.json
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/__test__/TicketLines.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/stories/TicketLines.stories.jsx
M web-jspack/org.openbravo.pos2/src/components/TicketLineRenderCell/__test__/TicketLineRenderCell.test.jsx
M web-jspack/org.openbravo.pos2/src/components/VerifiedReturns/VerifiedReturnsGrid/TicketLineRenderCellWrapper/__test__/TicketLineRenderCellWrapper.test.jsx
M web-jspack/org.openbravo.pos2/src/model/ticket/TicketExtension.js
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/DeleteTicket.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/AddProductHooks.js
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/DeleteTicket.js
M web-jspack/org.openbravo.pos2/src/ob-init.js
---
(0164022)
hgbot   
2024-05-02 16:07   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 5a65123f4f1830997dbb529ef8cb6e249db5c628
Author: Gabriel Lopez <gabriel.lopez@doceleguas.com>
Date: 30-04-2024 16:22:42
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/5a65123f4f1830997dbb529ef8cb6e249db5c628 [^]

Related to ISSUE-55232: Fixed stories

---
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketArea/stories/TicketArea.stories.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/stories/TicketLines.stories.jsx
---
(0164021)
hgbot   
2024-05-02 16:07   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: d9e78ccd5693d1e3d502fe8f58e623302adb7666
Author: Gabriel Lopez <gabriel.lopez@doceleguas.com>
Date: 30-04-2024 16:22:42
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/d9e78ccd5693d1e3d502fe8f58e623302adb7666 [^]

Related to ISSUE-55232: Fixed text displayed in component

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLineSalesUnitFactorQuantity/TicketLineSalesUnitFactorQuantity.jsx
---
(0164020)
hgbot   
2024-05-02 16:07   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: c69fbb773b4b4b29b2f39ad2e31a2de3a3272bc0
Author: Gabriel Lopez <gabriel.lopez@doceleguas.com>
Date: 30-04-2024 16:22:42
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/c69fbb773b4b4b29b2f39ad2e31a2de3a3272bc0 [^]

Related to ISSUE-55232: Added tests Jest

---
A web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLineSalesUnitFactorQuantity/__test__/TicketLineSalesUnitFactorQuantity.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLinePopover.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/__test__/TicketLinePopover.test.jsx
---
(0164019)
hgbot   
2024-05-02 16:07   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 2a2c43a8415bb2a036f979ceb08307bcd3956c9e
Author: Gabriel Lopez <gabriel.lopez@doceleguas.com>
Date: 30-04-2024 16:22:42
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/2a2c43a8415bb2a036f979ceb08307bcd3956c9e [^]

Related to ISSUE-55232: Fixed style for sales factor message in the line

---
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/TicketLineSalesUnitFactorMessage.scss
---
(0164018)
hgbot   
2024-05-02 16:07   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 0872090e86dc6a9828af49a316d0695252fffa3c
Author: Gabriel Lopez <gabriel.lopez@doceleguas.com>
Date: 30-04-2024 16:22:42
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/0872090e86dc6a9828af49a316d0695252fffa3c [^]

Related to ISSUE-55232: Fixed tests Jest

---
M web-jspack/org.openbravo.pos2/src/components/ProofOfPayment/ProofOfPaymentDetails/ProofOfPaymentDetailLine/__test__/ProofOfPaymentDetailLine.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ProofOfPayment/ProofOfPaymentDetails/__test__/ProofOfPaymentDetails.test.jsx
M web-jspack/org.openbravo.pos2/src/components/SelectLines/SelectedLinesGrid/__test__/SelectLines.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketArea/__test__/TicketArea.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/PopoverSalesUnitFactorMessage.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/__test__/TicketLinePopover.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/TicketLineSalesUnitFactorMessage.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/__test__/TicketLines.test.jsx
M web-jspack/org.openbravo.pos2/src/components/TicketLineRenderCell/__test__/TicketLineRenderCell.test.jsx
M web-jspack/org.openbravo.pos2/src/components/VerifiedReturns/VerifiedReturnsGrid/TicketLineRenderCellWrapper/__test__/TicketLineRenderCellWrapper.test.jsx
---
(0164017)
hgbot   
2024-05-02 16:07   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: ca83cb3893c73bdb5670b878a31536305160b7a2
Author: Gabriel Lopez <gabriel.lopez@doceleguas.com>
Date: 30-04-2024 16:22:42
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/ca83cb3893c73bdb5670b878a31536305160b7a2 [^]

Fixed ISSUE-55232: Added support for Product Sales Factor

---
A web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/PopoverSalesUnitFactorMessage.jsx
A web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLineSalesUnitFactorQuantity/TicketLineSalesUnitFactorQuantity.jsx
A web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLineSalesUnitFactorQuantity/TicketLineSalesUnitFactorQuantity.scss
A web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLineSalesUnitFactorQuantity/TicketLineSalesUnitFactorQuantityUtils.js
A web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLineSalesUnitFactorQuantity/index.js
A web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/TicketLineSalesUnitFactorMessage.jsx
A web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/TicketLineSalesUnitFactorMessage.scss
A web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/SwitchToPaymentsExecutabilityRule.js
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLinePopover.config.json
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLinePopover.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLinePopover.scss
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/TicketLine.config.json
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/AddProductHooks.js
M web-jspack/org.openbravo.pos2/src/ob-init.js
---
(0164025)
hgbot   
2024-05-02 16:07   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2597 [^]
(0164026)
hgbot   
2024-05-02 16:08   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 7c5b2c362c8341a1125557dc1f282f0fc520a782
Author: Gabriel Lopez <gabriel.lopez@doceleguas.com>
Date: 02-05-2024 14:04:40
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/7c5b2c362c8341a1125557dc1f282f0fc520a782 [^]

Fixed ISSUE-55232: Added new field Sales Unit Factor to Product

---
M src-db/database/model/modifiedTables/M_PRODUCT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/retail/posterminal/master/ProductProperties.java
---
(0164027)
hgbot   
2024-05-02 16:08   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1547 [^]
(0164028)
hgbot   
2024-05-02 16:08   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/96 [^]
(0164029)
hgbot   
2024-05-02 16:08   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api [^]
Changeset: c1b034fbecc961eda4a544214bbd4787877cdf1a
Author: Gabriel Lopez <gabriel.lopez@doceleguas.com>
Date: 28-04-2024 23:51:12
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/commit/c1b034fbecc961eda4a544214bbd4787877cdf1a [^]

Fixed ISSUE-55232: Added new property Sales Unit Factor to Product entity

---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0164030)
hgbot   
2024-05-02 16:08   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant [^]
Changeset: 03828c0e33ee24f0c0a3b346f985f77c75cc4dfd
Author: Gabriel Lopez <gabriel.lopez@doceleguas.com>
Date: 29-04-2024 11:40:18
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/commit/03828c0e33ee24f0c0a3b346f985f77c75cc4dfd [^]

Related to ISSUE-55232: Fixed test Jest

---
M web-jspack/org.openbravo.pos2.restaurant/src/components/TicketMenuLine/__test__/TicketMenuLine.test.jsx
---
(0164031)
hgbot   
2024-05-02 16:08   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant [^]
Changeset: b81bd1be5bfad325e86a98a0ed1cfc0ae2099eb0
Author: Gabriel Lopez <gabriel.lopez@doceleguas.com>
Date: 01-05-2024 14:10:55
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/commit/b81bd1be5bfad325e86a98a0ed1cfc0ae2099eb0 [^]

Related to ISSUE-55232: Fixed stories

---
M web-jspack/org.openbravo.pos2.restaurant/src/components/TicketMenuLine/stories/TicketMenuLine.stories.jsx
---
(0164032)
hgbot   
2024-05-02 16:08   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/282 [^]