Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Return value and warning togather with onchange method desen't working with v8 api coding standard! How to make it work?

Anil R. Kesariya
on 4/20/15, 4:19 AM 503 views

Hello everyone,

How we can return value with warning with api coding standard.

I have used this decorator.


1) returned the warning using Warning class. before write the value of fields using self couldn't work.

2) Used the old standard , return the dictionary with both information togather, values and warning doesn't works.

Is there any ways to achieve this in v8 coding standard. in old coding standard its working perfectly, I believe it should also work in v8.  does anybody has idea about this?

Thanks in advance,


Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 4/20/15, 4:19 AM
Seen: 503 times
Last updated: 5/29/15, 9:18 AM