Skip to content

Conversation

@kevel-dev
Copy link

@dragos-dobre We noticed that when assigning a policy, the system automatically generates an associated invoice. However, there are cases where this should no longer be necessary—for example, in Comoros, where invoices are already created based on their management policies.

To address this, we’ve added control over system-generated invoices via a configurable variable, which should help. By default, this setting remains enabled (true), meaning invoices will continue to be generated natively unless manually adjusted

@delcroip
Copy link
Member

Thank you for raising that,
@mngoe @dragos-dobre I think we should remove that code all together, maybe to put it in the wiki as example for signal management, what do you think ?

@mngoe
Copy link

mngoe commented May 26, 2025

IMHO if we want to evolve from product attribution and replace it by contribution plan selection (and so invoice generation based on contribution plan) we should probably remove this native part of the code. Or at least disable it by default. @delcroip

@delcroip
Copy link
Member

@kevel-dev can you simply remove the create invoice code / move it in the calcrule ?

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.

3 participants