Why in the Calendar View if you move the invoice can change the date of the invoice validated ? Is it a bug?
I open the Customers Invoices in Calendar View, I move a invoice to other day, I return to the Tree View and the invoice date has changed.
I think is a error.
Yes its a bug, when we drag and drop the invoice to a new date the invoice date will change.
There is a validation needed.
Override the write method and check date_invoice in the data dictionary if it is present then check the state of the invoice it is not in draft state raise an exception
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 8/16/14, 3:21 AM|
|Seen: 545 times|
|Last updated: 3/16/15, 8:10 AM|