Odoo Help


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

Anil R. Kesariya (Jupical Technologies)
on 4/20/15, 4:19 AM 897 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,


About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 4/20/15, 4:19 AM
Seen: 897 times
Last updated: 12/5/17, 10:30 PM