Hello Sir,
I use copy_data() to duplicate and modify an existing record properly instead of the strange stuff done in refund().
So refund() should be based on a call to copy_data() on the invoice, and not manual steps like that.
I totally removed _refund_cleanup_lines() function from 'account' and 'account_anglo_saxon'.
In order to not hide the functionality provided by 'account_anglo_saxon' module i override the 'refund' method.
Thanks, Divyesh
« Back to merge proposal
Hello Sir,
I use copy_data() to duplicate and modify an existing record properly instead of the strange stuff done in refund().
So refund() should be based on a call to copy_data() on the invoice, and not manual steps like that.
I totally removed _refund_ cleanup_ lines() function from 'account' and 'account_ anglo_saxon' .
In order to not hide the functionality provided by 'account_ anglo_saxon' module i override the 'refund' method.
Thanks,
Divyesh