Avoid duplication of refund in an existing one in Odoo version 14 and 15

Job ID: 32794444

Budget: $30 – $250 USD

Hello, we need to avoid allowing a refund to be duplicated in an existing one by mistake the user recreates a refund in an existing one.
Related categories: Python ERP Odoo