Openbravo Issue Tracking System - Retail Modules
View Issue Details
0046250Retail ModulesQuotationspublic2021-04-12 12:422021-04-14 11:09
dmiguelez 
Retail 
normalmajoralways
closedfixed 
5
 
RR21Q3 
No
0046250: orderType should be set as a number, not as a String
In the Order model there is a column named orderType, that is used to differentiate between Orders, Returns and Layaways among onthers.
This column should be managed as a number, not as a String
Log in in the POS as VallBlanca
On the Menu click on Create new Quotation
Check that a new Ticket is created with the status 'Quotation - Draft' at the bottom.

Using developer tools, check that the orderType is 0 and not '0' by checking:
OB.App.State.getState().Ticket.orderType
No tags attached.
Issue History
2021-04-12 12:42dmiguelezNew Issue
2021-04-12 12:42dmiguelezAssigned To => Retail
2021-04-12 12:42dmiguelezTriggers an Emergency Pack => No
2021-04-12 13:03hgbotNote Added: 0127232
2021-04-14 11:09hgbotResolutionopen => fixed
2021-04-14 11:09hgbotStatusnew => closed
2021-04-14 11:09hgbotNote Added: 0127263
2021-04-14 11:09hgbotFixed in Version => RR21Q3
2021-04-14 11:09hgbotNote Added: 0127264

Notes
(0127232)
hgbot   
2021-04-12 13:03   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/374 [^]
(0127263)
hgbot   
2021-04-14 11:09   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/374 [^]
(0127264)
hgbot   
2021-04-14 11:09   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: aa1b78a81c8007cd0db473be405a7daec1114c0d
Author: David Miguelez <david.miguelez@openbravo.com>
Date: 2021-04-14T09:09:24+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/aa1b78a81c8007cd0db473be405a7daec1114c0d [^]

Fixes ISSUE-46250. orderType should be a number, not a String

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket-list/actions/AddNewQuotation.js
---