Thank you for the patch, however I do not necessarily agree with the patch. You put a new flag, refund invoice. When a refund is created the flag is true. Then you hide the button refund if refund invoice=true. What about a case where a partial refund is performed, then later a refund for the remainder is granted? I think the solution presented is not the best as it does not fit all business cases.
Really, this improvement does not allow for partial refunds. Please consider. The button should not be visible if 100% of the invoice is Confirmed refunded. What happens if the generated refund invoice is canceled? -- You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Addons. https://bugs.launchpad.net/bugs/1083276 Title: [Trunk]Infinite refund allowed Status in OpenERP Addons (modules): Fix Committed Bug description: Create sale order Confirm Invoice Pay Invoice Go to accounting - customer invoice Click Refund. Generate Draft refund Confirm refund invoice, pay invoice It is now refunded. A further refund should not be possible. Current functionality allows the user to continuously refund an invoice as many times as they wany. This should not be possible There also needs to be an indicator status on the original invoice in both list and tree view that clearly shows the customers invoice was refunded. To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/1083276/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

