Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047361Retail ModulesWeb POSpublic2021-07-08 01:272021-08-02 09:56
lbressan 
rqueralta 
highmajoralways
closedfixed 
5
 
 
adrianromero
No
0047361: Error when updated Openbravo to version 20Q4.1
The client updated Openbravo to version 20Q4.1 and updated the "org.openbravo.retail.fiscalprinters" module to its latest version QA Apprubed 1.1.212000, which is compatible with the version of Openbravo to which they updated.

The problem is that this module refers to the TaxRate model, which no longer exists and gives an error when logging into the POS. This occurs in the file "org.openbravo.retail.fiscalprinters/web/org.openbravo.retail.fiscalprinters/js/model/FiscalTaxes.js", on line 29

      OB.Dal.find(OB.Model.TaxRate, {}, function(col, args) {
       if (col && col.length > 0) {
         _.each(col.models, function(taxRate, taxIndex) {
           me._fiscalnumbers[taxRate.id] = taxRate.get('fiscFiscalnumber');
         });
       }
     });
1. In a standard Openbravo version 20Q4.1 environment
2. Install the module "org.openbravo.retail.fiscalprinters" version 1.1.212000
3. Loging
No tags attached.
Issue History
2021-07-08 01:27lbressanNew Issue
2021-07-08 01:27lbressanAssigned To => Retail
2021-07-08 01:27lbressanResolution time => 1627423200
2021-07-08 01:27lbressanTriggers an Emergency Pack => No
2021-07-08 17:02rqueraltaAssigned ToRetail => rqueralta
2021-07-08 17:03rqueraltaStatusnew => scheduled
2021-07-15 16:06hgbotNote Added: 0130521
2021-07-16 13:23hgbotResolutionopen => fixed
2021-07-16 13:23hgbotStatusscheduled => resolved
2021-07-16 13:23hgbotNote Added: 0130543
2021-07-16 13:23hgbotNote Added: 0130544
2021-08-02 09:56adrianromeroReview Assigned To => adrianromero
2021-08-02 09:56adrianromeroStatusresolved => closed

Notes
(0130521)
hgbot   
2021-07-15 16:06   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.fiscalprinters/-/merge_requests/2 [^]
(0130543)
hgbot   
2021-07-16 13:23   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.fiscalprinters [^]
Changeset: 39cf1b40a73fbb921d8c2c2f54c9371354fe7a0b
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-07-15T10:03:46-04:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.fiscalprinters/-/commit/39cf1b40a73fbb921d8c2c2f54c9371354fe7a0b [^]

Fixed BUG-47361: Changed OB.Model.TaxRate by OB.App.MasterdataModels.TaxRate to retrieved the taxRate information

---
M web/org.openbravo.retail.fiscalprinters/js/model/FiscalTaxes.js
---
(0130544)
hgbot   
2021-07-16 13:23   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.fiscalprinters/-/merge_requests/2 [^]