When I make a customer and I haven't entered a date I want it to display a warning when I press the "make" button. How can I achieve this? I've tried using a self.pool.search and the current record to check if date is None and then raise the error but to no avail.
Thanks a lot
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: 1/27/15, 9:21 AM|
|Seen: 419 times|
|Last updated: 3/16/15, 8:10 AM|