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.

0

how can i add default image to wizard??

By
yasmina
on 7/17/16, 4:41 AM 276 views

i want to be able to add default image in wizard form .

1
Taher Giyori
On 7/18/16, 9:16 AM

Use 'default_get' method to assign a default image.
Check these links for reference.

(docs)

https://www.odoo.com/documentation/8.0/reference/orm.html#openerp.models.Model.default_get


(example)

https://github.com/odoo/odoo/blob/8.0/addons/account/account.py#L3085

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)

Stats

Asked: 7/17/16, 4:41 AM
Seen: 276 times
Last updated: 7/18/16, 9:16 AM