-
home page
-
vtenext - Official Forum
-
vtenext CE
-
[SOLVED] Saving orders slow without associated companies
[SOLVED] Saving orders slow without associated companies
Riduci
Di più
-
Messaggi: 22
-
Ringraziamenti ricevuti 0
-
-
01/03/2013 17:11 #2757
da stefano5
If you create sales order without companies, for example in the case of sales to private individuals, the save process is very slow if there are many records in the database, because it is recalculated the association products-companies.
The problem is present in the function "recalculateAccToServices" and "recalculateAccToProducts".
To resolve this issue can be replaced, the line 160 and 192 of the file /modules/SalesOrder/SalesOrder.php the string
if ($ accountid =='') return;
with
if ($ accountid =='' || $ accountid == 0) return;
Goodbye
Stefano
Si prega Accedi a partecipare alla conversazione.
Riduci
Di più
-
Messaggi: 219
-
Ringraziamenti ricevuti 16
-
-
04/03/2013 12:39 #2760
da mapokid
Thanks for your report! We'll put your solution in the next version.
Si prega Accedi a partecipare alla conversazione.
-
home page
-
vtenext - Official Forum
-
vtenext CE
-
[SOLVED] Saving orders slow without associated companies
Tempo creazione pagina: 0.148 secondi