Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
La domanda è stata chiusa con motivazione: Non rilevante od obsoleto
da Kolawole Mobolaji - 05/08/2024 20:26:33
1117 Visualizzazioni

I am using Odoo v17.00 and using the studio to create automation action within Fleet - Service to create a repair order in repair model (Note - repair model has a sequence (unknown location) for repair.order.name.

I am getting this error:

: "operator does not exist: integer = boolean LINE 1: SELECT number_next FROM ir_sequence WHERE id=false FOR UPDAT... ^ HINT: No operator matches the given name and argument types. You might need to add explicit type casts. " while evaluating "env['repair.order'].create({\n 'x_studio_repair_vehicle': record.vehicle_id,\n 'x_studio_fleet_service_reference': record.x_studio_service_reference_id})

Bold text above is the code I put on change of state in Fleet.vehicle.log.services.

There is no sequence in Fleet.vehicle.log.services.

There is sequence in repair.order -  I need help on how to resolve the selection id returning false when called via code level.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mag 24
1493
1
mar 24
883
4
apr 24
2617
1
dic 23
2306
0
mar 23
2072