Odoo Help

0

How to get One2many field values before save?

By
sridhar
on 5/30/14, 12:18 AM 1,243 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.

0
Nati
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.

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

1 follower(s)

Stats

Asked: 5/30/14, 12:18 AM
Seen: 1243 times
Last updated: 3/16/15, 8:10 AM