operating-unit icon indicating copy to clipboard operation
operating-unit copied to clipboard

[15.0][IMP] account_operating_unit: allow to pay multiple invoices with different operating units

Open AaronHForgeFlow opened this issue 10 months ago • 2 comments

That was possible in old versions <v12 (https://github.com/OCA/operating-unit/blob/12.0/account_operating_unit/models/account_payment.py#L71) but it was removed for unknown reason when migrating to v13.

In general, reconciling a bank journal entry with an invoice will require Inter OU balancing entries, as long one OU is paying the balance for the other.

If needed I can add a company parameter for restricting paying invoices for different OU if you want to keep compatibility with the actual code.

@Saran440 @alan196 @ForgeFlow

AaronHForgeFlow avatar Apr 24 '24 15:04 AaronHForgeFlow