Skip to content

Conversation

@Shide
Copy link

@Shide Shide commented Jan 23, 2026

When a refund invoice happens on a Commission type of "product" (Product Criteria with Domain), amount in refund invoices are always positive and Settlement Report shows like positive commissions.

With this fix, refund types gaves negative commissions like https://github.com/OCA/commission/blob/16.0/account_commission/models/account_move.py#L217-L219 on model "account.invoice.line.agent".

PR Series


MT-12373 @moduon @pedrobaeza @ilyasProgrammer @rafaelbn @yajo @Gelojr @fcvalgar please review if you want 😄

@OCA-git-bot
Copy link
Contributor

Hi @ilyasProgrammer,
some modules you are maintaining are being modified, check this out!

@Shide Shide changed the title [FIX] sale_commission_product_criteria_domain: Negative commissions on refund invoices [FIX][16.0] sale_commission_product_criteria_domain: Negative commissions on refund invoices Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants