This question has been flagged

I have created a module to retrieve the analytic tag from sale order to delivery order ie . stock.move module,

And then retrieve this value to the journal entry created after clicking the (validate) button.

If the analytic tag has analytic account distribution then it gives this error :

The operation cannot be completed: another model requires the record being deleted. If possible, archive it instead. Model: Analytic Line (account.analytic.line), Constraint: account_analytic_line_group_id_fkey  

how can i solve this issue??

Thanks

Avatar
Discard