```
```
It gives syntax error at 'self.write',according to documentation it is correct.
The error:psycopg2.errors.SyntaxError: syntax error at or near ")"
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
```
```
It gives syntax error at 'self.write',according to documentation it is correct.
The error:psycopg2.errors.SyntaxError: syntax error at or near ")"
Hi,
Try this,
self.write({'duplicate_beneficiaries_ids': my_list and [(6, 0, my_list)] or False})
Hope it helps,
Thanks
still showing the same error:
psycopg2.errors.SyntaxError: syntax error at or near ")" LINE 3: ...ng2p_registration_rel.openg2p_registration_id IN () AND open...
Hi,
try with the below solution.
self.write({'duplicate_beneficiaries_ids': [(4, ids, False)]})
Thanks & Regards,
Sunny Sheth
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden| Gerelateerde posts | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
|
1
feb. 24
|
2901 | |||
|
0
jul. 24
|
4316 | |||
|
0
jul. 22
|
60 | |||
|
1
jul. 22
|
4012 | |||
|
2
dec. 23
|
34594 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.