Business AppsSalesTroubleshooting

Sales troubleshooting

This page lists the real reasons an action in Sales (quotation, sales order, delivery order, invoice, return) is blocked or a button does not show. Buttons on detail pages come from the same policy as the server, so a hidden button means the action would be refused.

Wrong document status

SymptomCauseFix
Quotation has no convert-to-order buttonNot in Accepted status, or already converted once (sales.quotation_single_conversion, on by default)Mark it accepted; if converted, open the document chain to find the order
Cannot cancel a sales orderDelivered (partly or fully), invoiced, closed or cancelled; or a live invoice existsVoid the invoice first (needs invoices:approve, invoice unpaid); handle delivered goods with a customer return
Cannot create a delivery orderOrder not confirmed, or only service lines (services never go on a delivery order)Confirm the order; invoice service lines directly

Related error codes: Not allowed in current state, Invalid state transition.

Missing permission

ActionPermission
View / create quotationsquotations:read / quotations:write
View / create, cancel sales orderssales_orders:read / sales_orders:write
Approve sales orderssales_orders:approve
Delivery ordersdelivery_orders:read, delivery_orders:write
Invoice from a sales orderinvoices:write
Price listssales_price_lists:read / sales_price_lists:write

Ask an administrator to grant it in Settings → Roles. If lists are empty despite the permission, your data scope may be “own”. Error codes: Permission denied, Scope denied.

A toggle is off (or on)

ToggleDefaultEffect
sales.delivery_order_requiredOffWhen on, goods must be delivered before invoicing
sales.invoice_requires_delivery_docsOffWhen on, blocks invoicing while delivery documents are missing
sales.partial_deliveryOnWhen off, partial deliveries are not allowed
sales.price_listsOnWhen off, the Price Lists menu is hidden
sales.customer_return_rmaOnCustomer returns module
sales.require_quotationOffWhen on, an order needs a quotation first

Error code: Feature disabled.

Over the remaining quantity

Delivery orders, invoices and returns only take the remaining quantity of their source. Goods are never invoiced beyond what was delivered; returns cannot exceed what was delivered/invoiced and not yet returned. Error code: Amount exceeds remaining. Not enough stock when confirming a delivery: Insufficient stock.

Prices and price lists

  • Order price differs from the price list: sales.price_lock_on_confirm (on by default) locks prices at confirmation, or the line was edited by hand.
  • sales.enforce_price_list (off by default) forces prices from the price list when on.
  • Selling below cost follows sales.below_cost_policy (default warn; block refuses).

Pending approval

Sales orders need approval when sales.require_so_approval is on (the default); an order awaiting approval cannot be delivered or invoiced yet. Dispatch and returns have approval steps too (sales.dispatch_approval, sales.require_return_approval, on by default). The creator may not be allowed to approve their own document. Error code: Approval required.