Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
The question has been closed iz razloga: not relevant or out dated
by Kolawole Mobolaji na 05. 08. 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
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
maj 24
1496
1
mar. 24
883
4
apr. 24
2619
1
dec. 23
2309
0
mar. 23
2072