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:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
4828
Tampilan
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.
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
1
Jan 25
|
1836 | ||
|
2
Sep 22
|
9595 | ||
|
2
Apr 22
|
4636 | ||
|
0
Jul 21
|
7283 | ||
|
1
Mar 21
|
5019 |