Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045648Retail ModulesWeb POSpublic2020-12-23 20:242021-01-27 10:16
gorka_gil 
gorka_gil 
normalmajorN/A
closedfixed 
5
 
RR21Q2 
marvintm
No
0045648: terminal log missing documentno in context
Previously in the context field of the terminal log it contains the documentno of the current ticket in the pos.

This was lost after the change for docno project that the documentno only is calculated in the ticket complete.

In any case it can be added to the context the order id.

It will be helpful to:
- filter by ticket
- know easily to which ticket correspond each line of the terminal log.

It is no so beautiful to use as the documentno but should be good enough.
- create a ticket in the pos
- go to terminal window in the backend, check the context column that don't have any ticket identifier
No tags attached.
Issue History
2020-12-23 20:24gorka_gilNew Issue
2020-12-23 20:24gorka_gilAssigned To => Retail
2020-12-23 20:24gorka_gilTriggers an Emergency Pack => No
2021-01-26 11:23hgbotResolutionopen => fixed
2021-01-26 11:23hgbotStatusnew => resolved
2021-01-26 11:23hgbotFixed in Version => RR21Q2
2021-01-26 11:23hgbotNote Added: 0125783
2021-01-26 11:23hgbotNote Added: 0125784
2021-01-27 10:16gorka_gilAssigned ToRetail => gorka_gil
2021-01-27 10:16gorka_gilReview Assigned To => marvintm
2021-01-27 10:16gorka_gilStatusresolved => closed

Notes
(0125783)
hgbot   
2021-01-26 11:23   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 78ac193304584d1fe9af585cd57dee7ff495a869
Author: Gorka Gil <gorka.gil@openbravo.com>
Date: 2021-01-26T10:23:13+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/78ac193304584d1fe9af585cd57dee7ff495a869 [^]

Fixes ISSUE-45648: read order id from state in each of the terminal log actions

---
M web/org.openbravo.mobile.core/app/model/business-object/terminal-log/TerminalLogUtils.js
M web/org.openbravo.mobile.core/app/model/business-object/terminal-log/actions/AddButtonClick.js
M web/org.openbravo.mobile.core/app/model/business-object/terminal-log/actions/AddKey.js
M web/org.openbravo.mobile.core/app/model/business-object/terminal-log/actions/AddLog.js
M web/org.openbravo.mobile.core/app/model/business-object/terminal-log/actions/AddProcess.js
---
(0125784)
hgbot   
2021-01-26 11:23   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 3ec498c3e6040382447874ad6b273eba810fcbee
Author: Gorka Gil <gorka.gil@openbravo.com>
Date: 2021-01-26T10:23:13+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/3ec498c3e6040382447874ad6b273eba810fcbee [^]

Related to ISSUE-45648, related to ISSUE-45732: move context calculation to a diferent action preparation

This action preparation will be only executed in the old pos,
in the new pos it will be replaced with another action preparation
that will have another way to calculate the context

---
A web/org.openbravo.mobile.core/source/utils/terminal-log-calculate-context-action-preparation.js
M src/org/openbravo/mobile/core/MobileCoreComponentProvider.java
M web-test/model/business-object/terminal-log/TerminalLog-StateAction-AddLog.test.js
M web-test/model/business-object/terminal-log/TerminalLog-StateAction-AddProcess.test.js
M web-test/model/business-object/terminal-log/TerminalLog-StateAction-AddbuttonClick.test.js
M web-test/model/business-object/terminal-log/TerminalLog-StateAction-Addkey.test.js
M web/org.openbravo.mobile.core/app/model/business-object/terminal-log/TerminalLogUtils.js
M web/org.openbravo.mobile.core/app/model/business-object/terminal-log/actions/AddButtonClick.js
M web/org.openbravo.mobile.core/app/model/business-object/terminal-log/actions/AddKey.js
M web/org.openbravo.mobile.core/app/model/business-object/terminal-log/actions/AddLog.js
M web/org.openbravo.mobile.core/app/model/business-object/terminal-log/actions/AddProcess.js
---