Odoo Help

Welcome!

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.

3

why should we choose osv_memory or wizard.interface ?

By
Clément THOMAS
on 5/28/13, 6:56 AM 3,316 views

What are the disadvantages and advantages of these types of wizard.

(including compatibility, performances, possibilities, developement velocity...)

4

Keyur

--Keyur--
1165
| 4 4 8
Ahmedabad, India
--Keyur--

Odoo Expert

Keyur
On 5/28/13, 11:02 AM

Hi Clement. According to me the main points which need to be considered are as follows:

(1) The main advantage of wizard.interface is we can generate no. of reports & call a different wizard at the same time which is not possible in osv_memory wizard.

(2) Wizard.interface is not compatible in 6.0 later versions.

(3) In wizard.interface there is a flexibility of validations. That makes validation part separate but still performance wise it is not as good as osv_memory wizard.

(4) The main advantage of osv_memory wizard is you can define workflow on object. We can easily inherit osv_memory wizard. It is very easy to make changes in view of wizard by just inheriting it.

(5) We can add constraints in osv_memory wizard.

(6) Another difference is we can not set default value in interface wizard in client(right click on field of wizard and setting default value) whereas in memory wizard we can set.

So overall it is better to use osv_memory wizard.

Thank you very much

Clément THOMAS
on 5/28/13, 11:10 AM

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

2 follower(s)

Stats

Asked: 5/28/13, 6:56 AM
Seen: 3316 times
Last updated: 3/16/15, 8:10 AM