Skip to Content
Menu
This question has been flagged
The question has been closed for reason: not relevant or out dated
by Kolawole Mobolaji on 08/05/2024 20:26:33

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
Discard
Related Posts Replies Views Activity
0
May 24
1464
1
Mar 24
832
4
Apr 24
2531
1
Dec 23
2268
0
Mar 23
2062