Odoo Help

0

Set price of products with onchange function from product.product.

By
Juan Carlos
on 12/19/14, 12:00 PM 843 views

Sorry if I ask a lot, I do not want to abuse of the forum, but these things do not match. My goal is to create a simple manual in Spanish for Odoo and I need learn and know more, I'm verry happy.

My classes and code in this image (it is dropbox): https://db.tt/aabAZRzb

@api.onchange('producto_id')
    def _onchange_producto_id(self):
        if self.producto_id:
            self.precio = 100.00

Had seen before a self.pool.get used, how can I use it?

Refer doc: http://odoo-new-api-guide-line.readthedocs.org/en/latest/

deep
on 12/22/14, 1:21 AM

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.

Register

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

2 follower(s)

Stats

Asked: 12/19/14, 12:00 PM
Seen: 843 times
Last updated: 3/16/15, 8:10 AM