Rename location field to INFO, strip .odoo4projects.com from server value

This commit is contained in:
2026-08-22 09:13:26 +00:00
parent 07de1249cf
commit fcc972557b
+1 -1
View File
@@ -647,7 +647,7 @@ var si = 0,
basket.type = 'hidden';
basket.name = 'basket';
var item = { product_id: productId, qty: 1 };
if (location) { item.location = location; }
if (location) { item.INFO = location.replace('.odoo4projects.com', ''); }
basket.value = JSON.stringify([item]);
console.log('Buy basket:', basket.value);
form.appendChild(basket);