Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046990
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POSmajoralways2021-06-01 17:252021-06-16 08:26
ReporterdmiguelezView Statuspublic 
Assigned Topablobessone 
PriorityurgentResolutionfixedFixed in VersionTAP
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionTAP
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0046990: JIRA-1763: Ticket Type color does not work with Translations

DescriptionIn the Window to Open previous Orders, the Type of the Order has different colors based on it's value.
However, when it is translated (from Receipt to Ticket, for example) it does not work.
Steps To ReproduceIt is necessary to install an extra translation module and/or to ensure that there is a translation for the language selected by the user for the records of the reference named 'POS Order Type' (In reference Window)

With that requirement met, in the POS.
Click on the Orders menu entry
Check the list of orders
Check that the values of the type column are not shown with different colors
Proposed SolutionIn the file TicketRemoteTypeCellRender.js

const getOrderType = value => {
  return (Terminal.orderType.find(type => type.id === value) || {}).name;
};

This is used to retrieve the css based on the orderType name.
Both the scss file and this method should be modified to use the searchKey (or id field) instead, which is not translated.

In OrderType.java is possible to see the data retrieved for this model.

This change must also be done (or something similar) in TicketLocalTypeCellRender.js file
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0046936 closedpablobessone JIRA-1763: Ticket Type color does not work with Translations 

-  Notes
(0129369)
pablobessone (reporter)
2021-06-10 20:10

MR created: https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2/-/merge_requests/56 [^]
(0129546)
marvintm (manager)
2021-06-16 08:26

Resolved by: https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2/-/merge_requests/56 [^]

- Issue History
Date Modified Username Field Change
2021-06-04 13:38 dmiguelez Type defect => backport
2021-06-04 13:38 dmiguelez Target Version => TAP
2021-06-04 13:38 dmiguelez Status scheduled => acknowledged
2021-06-09 11:36 dmiguelez Status acknowledged => scheduled
2021-06-09 11:36 dmiguelez Assigned To Retail => pablobessone
2021-06-10 20:10 pablobessone Note Added: 0129369
2021-06-16 08:26 marvintm Note Added: 0129546
2021-06-16 08:26 marvintm Status scheduled => resolved
2021-06-16 08:26 marvintm Fixed in Version => TAP
2021-06-16 08:26 marvintm Resolution open => fixed
2021-06-16 08:26 marvintm Review Assigned To => marvintm
2021-06-16 08:26 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker