Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0055874Openbravo ERPA. Platformpublic2024-07-01 12:052024-07-01 12:52
cberner 
cberner 
normalmajorhave not tried
closedfixed 
5
 
PR24Q3PR24Q3 
Core
No
0055874: Purchase Order Model Mode does not work properly when URL is not baseURL/openbravo/
When opening the Model Mode after proper configuration, it fails to load products as would be expected.

This is due to it trying to always load things from /openbravo/...datasource, instead of base-url/datasource.
1. Login backoffice as White Valley Admin, it can be tested in this livebuilds instance: https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql [^]
2. Go to Product Characteristics, select Color, then in "Relevant Characteristics" select Color
3. Go to Product, select Dry Fit Run generic product and Check Enable Characteristic Dimensions, select as row characteristic Color.
4. Go to Purchase Order window, and create a new record, select any values.
5. Click on Model Mode, then "Add New" and try to select a product from there

Dry fit run should appear, but it doesnt. If you open Developer Tools you'll see a 404 error there, trying to retrieve the resource from livebuilds.openbravo.com/openbravo, instead of ivebuilds.openbravo.com/context/retail_pos2_modules
Fix the URLs of endpoints.
No tags attached.
blocks defect 0055873 closed cberner Purchase Order Model Mode does not work properly when URL is not baseURL/openbravo/ 
Issue History
2024-07-01 12:07cbernerTypedefect => backport
2024-07-01 12:07cbernerTarget Version => PR24Q3
2024-07-01 12:16hgbotNote Added: 0166534
2024-07-01 12:52hgbotResolutionopen => fixed
2024-07-01 12:52hgbotStatusscheduled => closed
2024-07-01 12:52hgbotFixed in Version => PR24Q3
2024-07-01 12:52hgbotNote Added: 0166538
2024-07-01 12:52hgbotNote Added: 0166539

Notes
(0166534)
hgbot   
2024-07-01 12:16   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1289 [^]
(0166538)
hgbot   
2024-07-01 12:52   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: a412f097063a7f1d4fb8777855fa1c84c15178c7
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 01-07-2024 12:15:15
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/a412f097063a7f1d4fb8777855fa1c84c15178c7 [^]

Fixes ISSUE-55874: Purchase Order Model Mode does not work properly when URL is not baseURL/openbravo/

---
M web/js/multiVariantPurchaseProcess.js
---
(0166539)
hgbot   
2024-07-01 12:52   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1289 [^]