
Turn your Odoo shop into a purchasing portal for trade customers
Wholesale buyers know their codes, buy in cases and reorder the same lines every month. Give them a B2B account page, quick order by SKU, agreed contract prices, reorder suggestions, order templates, a trade credit page and a catalogue of their own.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Odoo's shop is built for a consumer buying one item. A trade buyer needs to type forty product codes, order in full cases, see their agreed prices and their credit, and repeat last month's order. This module adds that to the customer portal and the shop.
Products get a minimum quantity, an increment and a case size; quick-order quantities that break them are raised to the nearest allowed quantity and the buyer is told why. Customer agreements hold negotiated prices and committed quantities, and the agreed price is charged on the buyer's cart while the agreement is in force.
In the backend you get B2B customer and product summaries, customer agreements, catalogues per customer or group, order templates, approval rules and credit limit requests to review. There is no public sign-up form: staff enter wholesale applications under Website > Configuration > B2B > Applications, and approving one creates the customer and its portal login.
Who it is for
Wholesalers and distributors Businesses selling to trade customers who order by code and by the case. | Manufacturers selling to dealers Companies with negotiated prices and committed volumes per account. | Sales teams Account managers who follow customer agreements, reorders and credit. |
Key features
All screenshots were taken on Odoo 19 with this module installed on a clean database with Odoo demo products, logged in as a buyer of a sample trade customer.
Feature 1
A B2B account page for the buyer
Orders, open quotations, overdue invoices, order templates and available credit at a glance, with links to quick order, templates, the catalogue, reorder suggestions, agreements, trade credit and the statement of account, and recent orders with Order again.

Feature 2
Quick order by product code
Paste codes and quantities, upload a CSV or Excel file, or type line by line. Check Prices & Quantities reports each line: quantities raised to the minimum or rounded up to the case size with the reason, and unknown codes flagged.
Add all checked lines to the cart in one click

Feature 3
The cart charges the agreed price
Added to the cart, the products with an agreement are charged at the agreed price - here the office chair at 62.00 instead of 70.00 - and each line shows its case size, minimum and increment. The cart also takes a PO number, delivery instructions and can be saved as a template.
Request a custom pricing quote instead of ordering

Feature 4
Agreements and contract prices
The buyer sees each agreement with its dates, agreed price per product, committed, ordered and remaining quantity, how much is used, and can order more from it.

Feature 5
Reorder suggestions from order history
Worked out from the customer's own confirmed orders: when each product was last ordered, how often it usually is, how many times and the usual quantity - with Due now for what is overdue and Add everything due.

Feature 6
Trade credit and limit requests
The buyer sees the credit limit, what is outstanding (unpaid invoices and confirmed orders not yet invoiced), what is available and the payment terms, and can ask for a higher limit with a reason.

Feature 7
B2B customers in the backend
One line per B2B customer with salesperson, orders, revenue, average order, last order, held orders, outstanding and overdue amounts and whether they are over their limit.

Feature 8
Customer agreements
An agreement has a customer, account manager, start and end dates and a line per product with agreed price, committed quantity, ordered so far and remaining, and is Draft, Active or Closed.

Feature 9
Review credit limit requests
A request shows the limit when asked, the requested limit, who asked, the reason and a decision note shown to the customer; a reviewer activity is scheduled.

Feature 10
Catalogues per customer or group
A catalogue applies to selected customers, customer groups or every B2B customer and lists products or whole categories. While no catalogue applies, customers see the whole shop.

How it works, step by step
| 1 | Mark trade customers On the company contact tick B2B Customer, and optionally May Order on Account; give their contacts a role (buyer, purchasing manager, finance, viewer). |
| 2 | Set quantities and prices Give products a minimum, increment and case size; create agreements with agreed prices and committed quantities. |
| 3 | Optionally limit the catalogue Create catalogues for customers or groups. |
| 4 | Buyers log in They use the B2B dashboard, quick order, templates, reorder suggestions and trade credit pages in the portal. |
Settings
On customers, products and the B2B menu.
| B2B Customer / May Order on Account | On the company contact. |
| B2B Role | On each contact: buyer, purchasing manager, finance or viewer. |
| Minimum / increment / case quantity | On the product, in Wholesale Quantities. |
| Customer agreements | Agreed price and committed quantity per product, with dates. |
| Catalogues | Products or categories for selected customers, groups or every B2B customer. |
| Order templates, approval rules | In the B2B menu. |
Frequently asked questions
Does it replace pricelists?
No. Pricelists still set prices; an agreement price replaces the pricelist price on that customer's cart while the agreement is in force.
What happens to a quantity that is not a full case?
In quick order it is raised to the nearest allowed quantity and the line says why.
Can buyers upload a file?
The quick order page has an Upload a File tab for CSV or Excel files next to Paste a List and Line by Line.
Will installing it hide products?
No. While no catalogue applies to a customer, they see the whole shop.
Is there a credit limit check?
The trade credit page shows limit, outstanding and available credit, and customers can request a higher limit for you to review.
Compatibility
Odoo 19 Community and Enterprise | eCommerce Sales, Invoicing | Customer portal default website theme | 428 tests run on install |
Give your trade customers a real ordering portal
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Module, setup help by e-mail |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Sales (sale_management) • eCommerce (website_sale) • Discuss (mail) • Website (website) |
| Lines of code | 7409 |
| Technical Name |
mdv_b2b_portal |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/b2b-portal/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module