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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
1
Cevapla
4837
Görünümler
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.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
1
Oca 25
|
1845 | ||
|
2
Eyl 22
|
9597 | ||
|
2
Nis 22
|
4640 | ||
|
0
Tem 21
|
7287 | ||
|
1
Mar 21
|
5022 |