Point of sale

Orders to collect in TakePOS

dolixretrait · version 1.0.2

The customer comes to collect a pre-order: one click in TakePOS copies it into the ticket, and after payment the order is classified billed, even if the weight changed.

Price
€49 excl. VAT
Dolibarr
19.0 minimum
Version
1.0.2
Licence
GPL v3+
Languages
French, English, German, Spanish

Sold directly to businesses in France

Direct purchase, with immediate download and an invoice by email, is open to businesses and associations established in France, on the French page of this module. From elsewhere, write to support@dolix.fr.

Support and contact

Try it without installing anything: the online demo (login demo, password demo; sample data, reset every night; the demo is in French).

Ticket filled from order CO2611-0006 (Dolibarr 24.0.2): in the header, the ordered amount (€101.49) and the difference (+€1.20); under each line, the ordered quantity. The carrots were weighed at 2.4 kg for 2 ordered.
Ticket filled from order CO2611-0006 (Dolibarr 24.0.2): in the header, the ordered amount (€101.49) and the difference (+€1.20); under each line, the ordered quantity. The carrots were weighed at 2.4 kg for 2 ordered.
01

What the module does

  • “Orders to collect” button in the TakePOS action bar, shown only to cashiers who have the module permission.
  • List of validated orders that are not billed and have no linked invoice, whose planned delivery date is past, today or empty; a button shows all dates. Search by reference, customer or customer reference. If the ticket already has a customer, the list is filtered on that customer, with an “All customers” link.
  • One click on “Put into the ticket” copies the order into the current ticket: customer, products, quantities, prices, discounts and VAT. If there is no ticket yet, the draft is created the way TakePOS does it, with the same temporary reference.
  • The cashier adjusts quantities (actual weight), adds or removes products, then takes payment as usual. The floor plan (restaurant mode) works too.
  • On screen only: the order reference, the ordered amount and the difference in the ticket header; “Ordered” under each line, with the quantity of its own order line. The printed ticket is not changed.
  • After payment: order linked to the ticket (“Related Objects”), classified billed even if the amount changed, and classified delivered if it has no shipment and the cashier is allowed to close an order (option ticked by default).
  • Lots and serial numbers: since TakePOS asks for a lot for each lot-managed product, the module puts on the line the lot that expires first and holds the quantity, in the till warehouse (or in all warehouses if the till does not impose one). If a product is on several lines, each line takes into account what the previous ones already took from a lot.
  • Ticket emptied or deleted: the link is removed and the order is back in the list.
  • Clear refusal messages: order already linked to an invoice or a ticket, order with a validated shipment, another currency, deposit or credit note discount, title or subtotal line, ticket that already contains an order or products for another customer.
02

Who it is for

The customer ordered in advance, by phone, on the website or at the previous market. On collection day, TakePOS cannot find the order: the products have to be keyed in again at the till, then the order classified by hand. And if the actual weight changes, the Dolibarr rule that classifies the linked order billed no longer applies, because it requires an identical amount.

The customer ordered in advance: by phone, on the website, or at the previous market. The order is entered in Dolibarr. On collection day, they come to pick it up and pay at the till.

TakePOS cannot find that order. The products have to be keyed in again in the ticket, then the order classified by hand back in Dolibarr.

And the actual weight often changes: 2.4 kg of carrots instead of 2. The Dolibarr rule that classifies the linked order billed requires an identical amount; as soon as the amount changes, it no longer applies.

Who it is for: Farmers selling direct, bakeries, butchers, grocery shops, farm shops: any business that takes orders in advance (phone, website, market) and takes payment with TakePOS when they are collected.

03

What the module does not do

This section appears on all 29 module pages, without exception.

  • Only one order per ticket.
  • A deposit already paid is not deducted: an order with a deposit or credit note discount is refused, and is invoiced from Dolibarr.
  • Orders with a validated shipment, in another currency, or with a title or subtotal line: refused, to be invoiced from Dolibarr.
  • One lot per line, as in TakePOS: if no lot in the till warehouse holds the whole quantity and the till takes stock out, the order is refused.
  • The list shows at most 100 orders; the search finds the others.
  • TakePOS phone screen: no button, because that screen does not show module buttons.
  • The module makes no stock movement: the ticket takes stock out, according to the till setting. If Dolibarr already decreases stock when sales orders are validated and the till also takes stock out, the order is refused (otherwise stock would go out twice): invoice it from Dolibarr, or set the till not to take stock out.
  • The Multicompany module itself is not tested; the Dolibarr entity isolation it relies on is tested.
04

How it works

The list of orders to collect

An “Orders to collect” button is added to the TakePOS action bar. It opens a window listing the sales orders that are:

  • validated, not billed and without a linked invoice;
  • with a planned delivery date that is past, today or empty. The “All dates” button also shows the later ones.

For each order: the reference, the customer, the customer reference, the planned delivery date and the amount including tax. A search covers the reference, the customer or the customer reference. If the ticket already has a customer, the list is filtered on that customer, with an “All customers” link.

In the ticket

One click on “Put into the ticket” copies the order into the current ticket: customer, products, quantities, prices, discounts and VAT. If there is no ticket yet, the draft is created the way TakePOS does it, with the same temporary reference.

The cashier adjusts quantities (actual weight), adds or removes products, then takes payment as usual. The floor plan (restaurant mode) works too.

On screen only, the module recalls the order:

  • in the ticket header, the order reference, the ordered amount and the difference;
  • under each line, “Ordered” and the quantity of its own order line. If the same product is on two lines (2 kg and 1 kg of the same ham), each line shows its own quantity.

The printed ticket is not changed.

After payment

When TakePOS validates the ticket, the module:

  1. keeps the link between the order and the ticket, visible in “Related Objects”;
  2. classifies the order billed, even if the amount changed;
  3. classifies it delivered if it has no shipment and the cashier is allowed to close an order in Dolibarr (“Create/modify customers orders”). This step is an option, ticked by default.

This step never blocks a sale: if the classification fails, the error is only written to the Dolibarr log. If the cashier changed the ticket customer after taking the order in, the order is left untouched.

If the ticket is emptied or deleted before payment, the link is removed: the order is back in the list.

Lots and serial numbers

TakePOS asks for a lot for each lot-managed product. The module chooses it for the cashier: the lot that expires first and holds the quantity, in the till warehouse (or in all warehouses if the till does not impose one). If a product is on several lines, each line takes into account what the previous lines already took from a lot.

If no lot is enough and the till takes stock out, the order is refused before the ticket is touched, with a clear message.

Refusals

Taking an order in is refused, with a message, if:

  • the order is already linked to an invoice or a ticket;
  • it has a validated shipment: its stock has already gone out;
  • its stock already went out when it was validated (Stock module setting) and the till also takes stock out;
  • it is in another currency;
  • it has a deposit or credit note discount, or a title or subtotal line;
  • the current ticket already contains an order, or products for another customer.

These orders are invoiced from Dolibarr, as before.

The ticket filled from order CO2611-0006 of Jeanne Martin, on Dolibarr 24.0.2 in English. In the header: “Order CO2611-0006”, “Ordered 101.49 €” and the difference, “(+1.20 €)”. The carrots were weighed at 2.4 kg for 2 ordered; under each line, “Ordered” recalls the ordered quantity. The “Orders to collect” button is in the action bar, on the right.

After payment, order CO2611-0006 is classified “Delivered - Billed”.

After payment at the till, the sales order is classified “Delivered - Billed”.
After payment at the till, the sales order is classified “Delivered - Billed”.
05

Settings

The setup page is reserved for administrators. It recalls what the button does and what the module does not touch (printed ticket, numbering, unalterable logs).

Setting Default Effect
Classify the order “delivered” after payment ticked Only if the order has no shipment (collection at the counter counts as delivery) and the cashier has the permission “Create/modify customers orders”. In every case, the order is classified billed.
The module setup page: classify the order delivered after payment, ticked by default.
The module setup page: classify the order delivered after payment, ticked by default.
06

Security and safeguards

  • One dedicated permission, not granted by default: “Take a sales order into TakePOS”. It comes on top of the permission to use TakePOS and “Read customers orders”; without all three, no button, and the window is refused.
  • Third-party permissions are respected, in the list and when taking an order in: without the permission to see all third parties, the user only sees the customers they are the assigned sales representative of. An external user only sees their own third party.
  • Classifying delivered follows the Dolibarr rule: the cashier needs the permission “Create/modify customers orders” (or, with advanced permissions, the one to close orders). Otherwise, the order is only classified billed.
  • Protected request: taking an order in only accepts a POST request with the Dolibarr anti-CSRF token.
  • Escaped text: references, names and search are shown as text, never as code.
  • All or nothing: the checks are made before the ticket is touched, then the order is taken in within one transaction, rolled back entirely on failure.
  • Certified till: the module creates, validates and numbers no ticket. With the restrictions of the certified till version (the core’s test mode), on 23.0.4 and 24.0.2, the unalterable log chain stays intact.
  • Nothing is shown on the TakePOS public table-ordering page.
07

What you get

What the module writes to your installation
Database tables createdTwo small tables. llx_dolixretrait: which ticket was filled from which order (with the user, the date and the entity); it is used to recognise these tickets at payment. llx_dolixretrait_ligne (since 1.0.1): which order line each ticket line comes from, with its ordered quantity; it is used to show “Ordered” under the right line. The visible link between the order and the ticket (“Related Objects”) is Dolibarr's own.
PermissionsOne permission, “Take a sales order into TakePOS”, not granted by default. It comes on top of the permission to use TakePOS and the permission “Read customers orders”: without all three, no button and no window. The list only shows customers the user can see in Dolibarr: without the permission to see all third parties, only those they are the assigned sales representative of. For the order to be classified delivered, the cashier also needs the permission “Create/modify customers orders” (or, with advanced permissions, the one to close orders). The setup page is reserved for administrators.
Uninstalling
  • Disable the module in SetupModules/Applications: the button disappears from TakePOS, and orders are no longer classified by the module.
  • Tickets already paid, orders and their links (“Related Objects”) stay as they are.
  • The llx_dolixretrait and llx_dolixretrait_ligne tables and the module setting are not deleted. They can be dropped without effect on sales.
  • The module folder, dolixretrait, to put in htdocs/custom/ or to install from the zip.
  • Four languages: French (fr_FR), English (en_US), German (de_DE) and Spanish (es_ES).
  • A version history (ChangeLog.md) in the module folder; no README.
  • GPL v3 or later licence, complete and readable source code.
  • Two tables are added. llx_dolixretrait keeps one line per ticket filled from an order: ticket, order, user, date, entity. llx_dolixretrait_ligne keeps, for each ticket line, the order line it comes from and its ordered quantity.
  • What is written when an order is taken in, through the core classes: the TakePOS draft ticket (created if it does not exist), its customer, its lines, the lot and warehouse of lot-managed lines, and the link between the order and the ticket (“Related Objects”).
  • What is written at payment: the order classified billed, and delivered depending on the setting, through the core functions. The module makes no stock movement.
  • No Dolibarr file is modified. No outgoing connection.
  • When disabled, the button disappears and orders are no longer classified by the module. Tickets, orders and their links stay. The two tables and the module setting are not deleted.
08

Compatibility

The module descriptor only declares a minimum version. No upper bound is written in the code: the versions below are those on which the module has actually been run.

Compatibility of the Orders to collect in TakePOS module
Dolibarr versionsDolibarr 19.0 minimum. Tested on 19.0.4, 20.0.4, 21.0.4, 22.0.5, 23.0.4, 24.0.1 and 24.0.2; till walkthrough also run on 24.0.3.
Minimum PHP7.4
Dolibarr modules to enableSales Orders, Invoices, POS TakePOS
LicenceGPL v3 or later, full source code
LanguagesFrench, English, German, Spanish
MenuNo menu entry. An “Orders to collect” button in the TakePOS action bar, and a setup page reached from the module list.

The test results, Dolibarr version by version, are on the Compatibility tested page.

09

Installation

  1. Buy the module on dolix.fr, from the French page of the module (“Acheter directement” button, buy directly), then download the zip.
  2. In Dolibarr: HomeSetupModules/Applications“Deploy/install external app/module” tab, then upload the zip. Otherwise, unzip the dolixretrait folder into htdocs/custom/.
  3. Enable “Orders to collect in TakePOS” in the module list. It requires the Sales Orders, Invoices and POS TakePOS modules. The module's two tables are created at that moment.
  4. Give the permission “Take a sales order into TakePOS” to the cashiers concerned. They also need to be able to use TakePOS and read customers orders.
  5. On the module setup page, keep ticked or untick the option “Classify the order "delivered" after payment”.
  6. In TakePOS, click “Orders to collect”.

The details — permissions on the custom folder, shared hosting, upgrades, uninstalling — are on the page Installation and upgrades.

10

Frequently asked questions

Which Dolibarr versions does this module work on?

The descriptor requires Dolibarr 19.0 and PHP 7.4 at least. Version 1.0.1 passed its integration tests (45 out of 45) and its lot tests (11 out of 11) on 19.0.4, 20.0.4, 21.0.4, 22.0.5, 23.0.4, 24.0.1 and 24.0.2 with MariaDB, and on 19.0.4 and 24.0.2 with PostgreSQL. A real walkthrough at the till (button, order taken in, payment, order classified billed and delivered) was run in a browser on these seven versions and on 24.0.3. If in doubt, write before buying.

Does the module create or validate tickets?

No. It fills the TakePOS draft ticket, with the same temporary reference as TakePOS. Validation, numbering, payment and printing remain TakePOS's. With the restrictions of the certified till version (the core's test mode), tried on 23.0.4 and 24.0.2, the unalterable log chain stays intact.

What if the actual weight differs from the order?

Change the quantity in TakePOS as usual. The difference is shown in the ticket header, and the order is still classified billed after payment. The Dolibarr rule, for its part, requires an identical amount.

What happens if I empty the ticket?

The link to the order is removed: it is back in the list and can be taken in later.

A deposit was already paid: is it deducted?

No. An order with a deposit or credit note discount is refused with a message, and is invoiced from Dolibarr.

The order already has a validated shipment: can I take payment at the till?

No, so that stock does not go out twice. Invoice it from Dolibarr, as before.

My products are managed by lots: how is the lot chosen?

TakePOS asks for a lot for each lot-managed product. The module takes the lot that expires first and holds the whole quantity, in the till warehouse; if the same product is on several lines, it takes into account what the previous lines already took. If no lot is enough and the till takes stock out, the order is refused with a clear message: invoice it from Dolibarr or transfer stock.

I have version 1.0.0: what should I do after the update?

Disable then re-enable the module in the module list, to create the new 1.0.1 table. No data is lost. Until then, the till works normally; only “Ordered” is not shown under a product that is on several lines of the order.

Who provides support, and how do updates work?

Support is provided by the person who wrote the module, at support@dolix.fr. The module is bought directly on dolix.fr (businesses and associations established in France); new versions remain downloadable for two years at dolix.fr/telecharger/. Private individual or outside France: write to support@dolix.fr.

11

Version history

Taken from the module’s ChangeLog.md file: a single source.

1.0.214 November 2026

Stock taken out twice: with the Dolibarr setting “decrease stock on sales order validation”, a till that also takes stock out took it out a second time at checkout. Taking over such an order is now refused, with a message. Nothing changes if the till does not take stock out. Tested on 19.0.4 to 24.0.3, with and without lots.

1.0.112 November 2026

Same product on several order lines (for example 2 kg and 1 kg of the same ham): under each ticket line, “Ordered” gives the quantity of its own order line, no longer the product total; for lots, each line takes into account what the previous lines already took, so a lot is no longer assigned beyond its stock. New llx_dolixretrait_ligne table. After updating from 1.0.0: disable then re-enable the module (no data lost). Tested on 19.0.4 to 24.0.2.

1.0.04 November 2026

First version: “Orders to collect” button in TakePOS, order copied into the ticket, order and difference reminder on screen, order classified billed and delivered after payment, automatic lot choice, clear refusals. French, English, German, Spanish.

12

Support for this module

Write to support@dolix.fr. The person who wrote the module is the one who replies.

Reply within two working days. This is not an on-call service.

To include in your message

  • The exact Dolibarr version.
  • The module concerned and its version — here dolixretrait 1.0.2.
  • What you did, and what you expected.
  • The error message copied exactly, or a screenshot.
  • How Dolibarr is installed, if you know.

Sold directly to businesses in France

Direct purchase, with immediate download and an invoice by email, is open to businesses and associations established in France, on the French page of this module. From elsewhere, write to support@dolix.fr.

Support and contact
Also

The other modules

Multiple barcodes

dolixmultibarcode · v1.0.1

Several barcodes for one product: supplier code, old code, in-store label, pack code. Scanned in TakePOS, each code adds the product to the ticket with its quantity: the code of a pack of 6 adds 6 units.

Sold in FranceRead more

TakePOS cash closing

dolixcloture · v1.0.0

Bank deposits, withdrawals to the safe, cash in and cash expenses recorded from TakePOS, a count by notes and coins, and the discrepancy booked so that the cash account matches the drawer.

Sold in FranceRead more

For your sales of goods to consumers in other EU countries: the VAT rate of the customer's country, found from the product's customs code and the European Commission's official rates, draft invoices fixed in one click, tracking of the €10,000 threshold and the quarterly OSS return.

Sold in FranceRead more

Stored computed fields

dolixcalc · v1.0.0

An extra field computed by a formula written without PHP, with its value stored: right in the lists, sortable, filterable and printable on PDFs.

Sold in FranceRead more

Keyboard shortcuts

dolixshortcuts · v1.0.0

Ctrl+S (Cmd+S on Mac) saves the record you are filling in, without scrolling down to the button. g then a letter opens third parties, proposals, orders, invoices or products. ? shows the help.

Sold in FranceRead more

Google Contacts two-way sync

dolixgcontacts · v1.0.0

Dolibarr contacts and Google Contacts synced both ways, for each user. Only the contacts with the “Dolibarr” label in Google are involved, and a field changed on both sides is settled by the rule you chose.

Sold in FranceRead more

Dolix Coop

dolixcoop · v1.0.0

For cooperative and community grocery stores: shelf labels with the price per kilo or per litre, the customer's membership status in the TakePOS checkout, a simplified home page and menu for volunteers, a quick inventory on the phone.

Sold in FranceRead more