Jump to content

Domanda su generazione fattura


Recommended Posts

La fattura viene generata al volo, calcolata ogni volta che si richiede, vero?

 

SE così fosse, una volta che genero la fattura e poi cancello una riga dall'ordine relativo se richiedo di visualizzare di nuovo la fattura avrò la riga in meno e il totale automaticamente ricalcolato, giusto?

 

La domanda finale è: se io modifico l'ordine direttamente dal DB (o creo un modulo che elimini alcune righe da uno o più ordini) la/le fattura/e relative quando stampate sono aggiornate in automatico ?? 

 

grazie

Link to comment
Share on other sites

No, la fattura viene generata una sola volta e "cristallizzata" in un pdf

Per poterla rigenerare è necessario che prima cancelli quella precedente dal server.

 

In linea di massima potresti ovviare al problema facendo generare la fattura per esempio quando lo stato diventa "spedito", in questo modo avrai la possibilità di modificare il contenuto dell'ordine senza problemi 

Link to comment
Share on other sites

Sì, le fatture vengono memorizzate nel database nelle ultime due righe PrestaShop (1.5 e 1.6). Essi sono stati generati on-the-fly prima.
In ogni caso, il modulo M4 PDF Extensions crea ancora la maschera Ordini fatture, ignorando le fatture salvate. Vuol dire che questo modulo è più adatto per questo tipo di flussi di lavoro e scavalca anche alcune questioni fattura.

 

Yes, the invoices are stored in the database in the last two PrestaShop lines (1.5 and 1.6). They were generated on-the-fly before.

Anyway, the M4 PDF Extensions module still creates the invoices from orders, ignoring the saved invoices. It means that this module is more suitable for such workflows and also bypasses some invoice issues.

  • Like 1
Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...