hello dear odooers,
Im facing a problem here , i created with studio a computed field which calculates the sum of a colomn x_studio_subtotal_delivery also created by studio.
i used this code :
for record in self:
for rec in record.order_line:
if rec.
x_studio_subtotal_delivery:
record['x_studio_sum']=rec.
x_studio_subtotal_delivery
with dependencies : x_studio_sum
but sum is always zero it hasnt been calculated. i know i can do it with agreagation but i need this sum to calculate other fields
Please help me solve this issue.