Odoo Help

0

How to set defaults dynamically, depending on last record?

By
Lars
on 4/26/13, 7:52 AM 1,263 views

I have a one2many field which has an editable tree view inside the parent object's form view. Each new entry should by default copy values from the last entry. I tried to update the context on the create method and call it as default, but no success. Something similar is implemented in the v5 and v7 of the account entry lines, where when a move is recorded, the reverse entry is generated...but have not been able to do so

use default get method you will get it

Maniganda
on 4/30/13, 11:39 AM
0
arun das
On 4/30/13, 8:50 AM

hiy5ry5y5y5y5y

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: 4/26/13, 7:52 AM
Seen: 1263 times
Last updated: 3/16/15, 8:10 AM