-
-
Notifications
You must be signed in to change notification settings - Fork 571
Open
Labels
Description
Bug Report: Unable to update stage_id field in sale.subscription via n8n Odoo integration
Description:
When attempting to update the stage_id field of a sale.subscription record in Odoo using the n8n Odoo integration node, the update does not take effect. The field remains unchanged after the operation.
Steps to reproduce:
Use n8n with the official Odoo node to perform an update operation on the sale.subscription model.
Attempt to set the stage_id field to the integer 2.
Alternatively, attempt to set stage_id to the array [2, "In progress"], mimicking the Many2one field structure returned by Odoo.
Execute the workflow.
Expected result:
The subscription’s stage_id should update to the new stage (2 or [2, "In progress"]).
Actual result:
The stage_id does not update and remains unchanged (or resets to None).
Additional information:
Tried passing stage_id as a simple integer (2).
Tried passing stage_id as a list/tuple with ID and display name ([2, "In progress"]).
Both approaches fail to update the field via the n8n Odoo node.
Update works correctly when performed manually through the Odoo web interface or via direct JSON-RPC calls.