For the moment, nothing available to disable the button "Create invoice" except disabling the module invoice (and that's not what you want).
With version 3.3, you will get two constant to change:

option WORKFLOW_DISABLE_CREATE_INVOICE_FROM_ORDER and WORKFLOW_DISABLE_CLASSIFY_BILLED_FROM_ORDER



Le 13/07/2012 18:09, Manuel Muñoz a écrit :
Hello Dear developers,

Maybe some of you could guide me trough this : I want my clients orders to produce one and only one invoice. I know how to do it by modifying the code and disabling the "create invoice" button in the order screen.

I was looking for an external way of doing it (maybe triggers or hooks). The question is actually how to implement it

thanks in advance for any of your comments.




_______________________________________________
Dolibarr-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev


_______________________________________________
Dolibarr-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à