Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0055873Openbravo ERPA. Platformpublic2024-07-01 12:052024-07-01 12:52
cberner 
cberner 
normalmajorhave not tried
closedfixed 
5
 
PR24Q4 
Core
No
0055873: 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.
related to feature request 0055463 closed cberner A Back office purchase screen multi-dimensional grid view should be added 
depends on backport 0055874PR24Q3 closed cberner Purchase Order Model Mode does not work properly when URL is not baseURL/openbravo/ 
Issue History
2024-07-01 12:05cbernerNew Issue
2024-07-01 12:05cbernerAssigned To => cberner
2024-07-01 12:05cbernerModules => Core
2024-07-01 12:05cbernerTriggers an Emergency Pack => No
2024-07-01 12:06cbernerRelationship addedrelated to 0055463
2024-07-01 12:07cbernerStatusnew => scheduled
2024-07-01 12:12hgbotNote Added: 0166533
2024-07-01 12:52hgbotResolutionopen => fixed
2024-07-01 12:52hgbotStatusscheduled => closed
2024-07-01 12:52hgbotFixed in Version => PR24Q4
2024-07-01 12:52hgbotNote Added: 0166536
2024-07-01 12:52hgbotNote Added: 0166537

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

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

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

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