Skip to content

[18.0][ADD] account_reconcile_sale_order#941

Open
hbrunn wants to merge 3 commits intoOCA:18.0from
hbrunn:18.0-mig-account_reconcile_sale_order
Open

[18.0][ADD] account_reconcile_sale_order#941
hbrunn wants to merge 3 commits intoOCA:18.0from
hbrunn:18.0-mig-account_reconcile_sale_order

Conversation

@hbrunn
Copy link
Member

@hbrunn hbrunn commented Dec 29, 2025

This module allows a workflow where you don't invoice sale orders until
you've received a payment.

That's useful ie for webshops with non-instant payment like wire
transfer, where you might have a lot of customers not doing the payment
after all, which results in extra work for cancellation of the
invoices/orders involved.

Configuration

To configure this module, you need to:

  1. Go to Invoicing/Configuration/Reconciliation Models
  2. Create a model of type Rule to match sale orders

Usage

To use this module, you need to:

  1. Have a payment on a bank statement matching the amount of an
    invoicable sale order
  2. Enter the reconciliation screen
  3. Observe that the sale order is offered as reconciliation counterpart
  4. You can manually select and deselect sale orders in the sale orders
    tab of the reconciliation widget

Note the reconciliation only works if fully invoicing the sale order
yields an invoice over the order's total amount. Usually this means that
all products in the sale order must have invoicing policy Ordered
quantities
.

v18 migration of #666

@pedrobaeza
Copy link
Member

We are doing this in a PoC using payment.transaction, that creates itself a account.payment record, and when the invoice is created and validated, then the payment is auto-linked. I think it's the cleanest one.

@hbrunn hbrunn force-pushed the 18.0-mig-account_reconcile_sale_order branch from 321e2ce to 67f0650 Compare December 29, 2025 18:07
@hbrunn
Copy link
Member Author

hbrunn commented Dec 29, 2025

is your PoC available somewhere? Though I don't see how what you describe matches the requirement outlined above: No accounting items created for SOs until payment received

@pedrobaeza pedrobaeza added this to the 18.0 milestone Dec 30, 2025
@pedrobaeza
Copy link
Member

Yes, I read bad the purpose of the module. The module name doesn't help either, although technically it makes sense.

We'll publish soon the other module. I'll ping you when done.

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

Comments