Insights·Plemo AI·4 min read

Should Odoo block orders over a credit limit?

What the Odoo 19 credit limit counts, why it only warns, and what to decide before you ask for it to stop an order.

A salesperson in Odoo 19 can confirm a quotation for a customer who is far past the credit limit. A yellow banner appears at the top of the quotation and the Confirm button keeps working. That is how the standard feature behaves, whatever limit you enter.

If you are the finance manager who wants that banner turned into a stop, start with what it is measuring.

What Odoo adds up before it warns

The check is switched on in the Accounting settings with Sales Credit Limit, where you can also set a Default Credit Limit. A contact can carry its own figure through Partner Limit. On a quotation, Odoo 19 adds three amounts: the customer's open posted receivables, its confirmed orders that have not been invoiced, and the quotation on screen. If the total is above the limit, the banner shows. Draft customer invoices get one too.

Say a distributor gives a customer a limit of SAR 200,000. Posted invoices stand at 140,000, none of them due yet, confirmed orders waiting for an invoice come to 45,000, and a new quotation is worth 30,000. The total is 215,000, so the banner appears for a customer who has never paid late.

Another customer has the same limit and only 60,000 outstanding, all of it 90 days overdue. A new quotation for 30,000 brings no banner, because due dates play no part in the sum. If overdue debt is what worries you, raising or lowering limits will not catch it, and you need a second rule.

Clean the figures before you enforce them

Sales can ignore a warning with a wrong number in it, but a stop with a wrong number holds up a truck. Limits copied from an old system may be out of date, and a limit of zero switches the check off for that customer. A bank transfer that nobody has recorded in Odoo leaves the receivable open, so a customer who paid this morning still looks over the limit. If you reconcile bank statements once a week, expect a hard stop to catch customers who have already paid.

Limits are also held per company. A customer who buys from two of your companies has two limits, and neither check sees the group total.

Warning, approval or stop

Keep the standard warning when a few salespeople know their customers and finance reviews receivables every week. There is nothing to build.

Use an approval when exceptions are normal and somebody should own them. Odoo Studio, part of Odoo Enterprise, can put an approval step on a button, name the approvers, limit the step with a condition and log each decision in the record's chatter. A condition on the order total is easy to write. Exposure is harder, because that figure is calculated from receivables and other orders, so try the condition on a test copy before promising it to sales.

Ask for a custom stop when the rule combines exposure with overdue days, or when orders reach Odoo from several places. You pay for development and testing, then for a check at every version upgrade. We would run the approval for a few months first in most companies, since the log shows how often a stop would have held up an order that finance was happy to release.

What the request has to settle

"Block the order if the customer is over the limit" leaves the hard parts open. Who may release an order, and up to what amount? What happens if a line is added after release? In standard Odoo a confirmed order can still be edited unless your Sales settings lock it, so a check that runs only at confirmation is easy to get around. Decide what a customer sees after signing a quotation in the portal with no salesperson involved, and whether prepaid customers are exempt.

Then choose where the stop sits. A make-to-order business wants it on the order. A distributor shipping from stock may prefer the delivery, since that is when the goods leave.

If sales and finance cannot answer these yet, a business analysis is the place to settle them. Once they can, the change is small enough to describe in a chat with Plemo. You approve the spec it writes, and credit control can then try the rule on your real customers in the Test environment.

Five orders to try before switching it on

Run these through the test copy, with the expected result written beside each one first:

  • a customer under the limit with nothing overdue
  • a customer over the limit only because of uninvoiced orders
  • a customer under the limit with an invoice 90 days overdue
  • a released order that gains a line afterward
  • a portal signature on a quotation over the limit

If sales and finance write different results for any of the five, keep the warning until they agree.

Let's talk

Let's turn this into a plan.

Book a discovery call and we will map your fastest path to a system that lasts.

Book a discovery call →