Odoo Help


How to get One2many field values before save?

on 5/30/14, 12:18 AM 1,396 views

Hi, I having a one2many field in that field i add 4 items using Add an Item then Save&New, before saving the record in Parent table, i want some field values. how to get this.

On 6/23/14, 8:39 PM

You can override create function. The record created will be in the 'vals' param of create, then you can modify it and then call super.
Hope it helps you.

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: 5/30/14, 12:18 AM
Seen: 1396 times
Last updated: 3/16/15, 8:10 AM