The delivery instruction is two words long. Bay 4. Sales wants the instruction in a box called “Dock reference.” The harder question comes six months later, when someone else has to update the ERP and keep the instruction attached to the right order.
We ran the test in ERPNext, Odoo Community, Dolibarr and our own Open Mercato sales module. In each system we added a text field, saved “Bay 4” on a draft customer order and checked the same record after maintenance.
| System tested | Where the field lives | What we verified |
|---|---|---|
| ERPNext 16.61.0 | A Custom Field on the Sales Order document type. A team can export the definition to its Frappe app. | After running the site migration on the same version, the original order still returned “Bay 4.” |
| Odoo Community 19.0 | A Python field on the sales order model and an XML change to the order form, both in our add-on. | The combined form contained the field. After updating the add-on, the draft quotation still returned “Bay 4.” |
| Dolibarr 23.0.4 | An order extrafield. Its value sits in a separate table linked to the order ID. | After restoring the database dump into a second database, the same draft order ID still joined to “Bay 4.” |
| Open Mercato 0.10.1 | A shipping module defines the text field on the sales order. Each order carries its own value. | Reapplying the definition made zero field changes. After a PostgreSQL restore, order DOCK-004 still read “Bay 4.” The older order stayed blank. |
All four tests used a fixed application version. A major-version upgrade and a printed delivery note would each need their own test.
ERPNext gives the administrator a handoff to Git
In ERPNext, an administrator can put a text field on Sales Order with Customize Form. Our test created the equivalent field through Frappe’s Custom Field API. Its name was custom_dock_reference. After bench --site editorial.localhost migrate, we opened the same saved order and found the value under that name. ERPNext custom fields and Frappe site migrations.
To give the next administrator a copy, use Export Customizations to write the form changes into an app module. A developer can then commit the JSON. When a site syncs those customizations, Frappe says the app’s definitions replace the site’s property setters and custom permissions for that document type. If two warehouses maintain different sales-order rules, compare those settings before shipping the same export to both. Frappe’s export and sync instructions.
Odoo gives the developer two things to maintain
Our Community add-on extended sale.order with a character field. An inherited XML view placed the input after the customer reference. Registering the field and putting it on the form were separate changes, both visible in the same code review. Updating the add-on left the value on quotation S00001. Odoo model and view inheritance.
Keep both checks for the next release. A new base form can move the element your XML uses to position the input. A database check could pass while the salesperson has nowhere to type the dock. The maintainer needs enough Python to follow the model and enough XML to find where the field lands. Odoo’s upgrade guide walks through adapting custom modules and trying them against upgraded data. Upgrading a customized Odoo database.
Dolibarr puts the recovery test in the database
Dolibarr calls the field an extrafield. We attached it to customer orders. In PHP, the order exposed its value as options_dock_reference. In the restored database, order 1 in llx_commande still had a matching row in llx_commande_extrafields. That extra join is worth knowing about if your reporting or backup checks run directly against SQL. Dolibarr extrafields.
If the driver carries a PDF, hand the warehouse a freshly generated one as well. Dolibarr documents the separate work of displaying an extrafield on a PDF model. Its backup guide also includes the documents directory and the configuration file. Our database restore covered the saved value. A team that owns its delivery paperwork should rehearse restoring those files too. Fields on PDF models and Dolibarr backups.
Open Mercato keeps the dock reference on the order
We ran Open Mercato 0.10.1’s sales and custom-field code against PostgreSQL. First we created draft order DOCK-003 for a test customer. Then we installed a shipping module’s text field, dock_reference, for that tenant. We put it on sales:sales_order because the whole delivery goes to one bay. The standard order-create command saved “Bay 4” on a second draft, DOCK-004. Sales order and line entities and the 0.10.1 sales commands.
On the second run, the field installer reported zero changes. We restored the database dump into a separate PostgreSQL database and read both orders through Open Mercato. The second order kept its original ID and “Bay 4.” The first still had no dock instruction. An agency can ship the field definition to another tenant in the same module. Whoever owns the delivery template still has to put the bay on the driver’s paperwork. Custom field definitions and the field installer we ran.
Who should own the dock reference?
For a business with one warehouse and an administrator who knows the forms, ERPNext’s form editor or Dolibarr’s order extrafields give that person a sensible place to start. For an agency already reviewing Odoo add-ons in Git, the Python and XML change fits its existing release process. Ask the person who covers for the usual maintainer to demonstrate the path you choose.
Open Mercato fits a team that maintains a custom order app in TypeScript and wants to review field changes alongside its application code. If you are still deciding which parts of your current ERP to keep, our ERPNext replacement guide works through that decision.
At your next ERP demo, save a draft order with a delivery instruction from your own warehouse. Give a second person the docs and a copy of the system. Ask them to recover the order, show the instruction and put it on the document the driver uses. If they have to call the original implementer, write down why. That is the maintenance work you need to budget for.