Skip to content

Conversation

@CarlosRoca13
Copy link
Contributor

Before these changes, the value set in the “group invoices by” field was not taken into account when creating invoices.

After these changes, invoices are created normally, grouped according to the selected option. In addition, an improvement has been added so that if an invoice is forced to a specific person, that value is used for grouping. When a value is selected for “Force invoice to”, the “group invoices by” option will be hidden.

cc @Tecnativa TT60305

ping @pedrobaeza @sergio-teruel

… taking care about it

Before these changes, the value set in the “group invoices by” field was not taken into account when creating invoices.

After these changes, invoices are created normally, grouped according to the selected option. In addition, an improvement has been added so that if an invoice is forced to a specific person, that value is used for grouping. When a value is selected for “Force invoice to”, the “group invoices by” option will be hidden.
@CarlosRoca13 CarlosRoca13 changed the title [FIX] agreement_rebate: invoice_group is not in the context so is not taking care about it [18.0][FIX] agreement_rebate: invoice_group is not in the context so is not taking care about it Jan 14, 2026
@pedrobaeza pedrobaeza added this to the 18.0 milestone Jan 14, 2026
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seen with him in a video-call.

@leemannd
Copy link

cc @ivantodorovich as you're using it on some projects

@pedrobaeza
Copy link
Member

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 18.0-ocabot-merge-pr-98-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 45283a9 into OCA:18.0 Jan 15, 2026
6 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 2d28024. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza pedrobaeza deleted the 18.0-FIX-agreement_rebate branch January 15, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants