When I update the modules I get this error message:
Table 'crm_lead': unable to set NOT NULL on column 'partner_id'
What should I do to prevent it?
Thank you in advance! :)
Pertanyaan ini telah diberikan tanda
Hi,
Probably you have some records in the database, which violates this constrains, ie, there will be few records in db that doesn't have a partner set in it.
If you need to remove this message from log, update existing leads in the db by setting a partner to it. Or move the required attribute you have added in the model level or to the view level.
Thanks
Hi,
There is no required or NOT NULL on crm.lead's partner_id field in Odoo default code. So you probably have custom modules changing that.
Hope it helps
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
|
1
Agu 23
|
5502 | ||
|
|
0
Agu 23
|
4514 | ||
|
Error in log Odoo 13 Community
Diselesaikan
|
|
1
Mar 26
|
3505 | |
|
|
2
Jul 24
|
3632 | ||
|
Error in the log odoo 13 community
Diselesaikan
|
|
1
Mar 26
|
4505 |