OdooWiki OCA HUB

Website Sale Invoice Address

website_sale_invoice_address folder_open OCA/e-commerce open_in_new
Website License: AGPL-3

Since versión 12.0, the e-Commerce orders are force to have the order partner as the invoice address, wich is quite unconveniant for a B2B scenario.

This module restitutes the classic behavior.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Restores the classic behaviour where the invoice address of an online shop order is taken from the customer's invoicing address, instead of always using the order contact. Useful for B2B webshops.

In standard Odoo 16, an e-Commerce order forces the order contact to also be the invoice address. This module brings back the previous behaviour: when a customer checks out in the online shop, the invoice address is automatically taken from the invoicing address configured on the customer record, just like it works in the backend.

What changes for users:

  • During checkout, the address shown as the invoice address is the customer's invoicing address, not necessarily the order contact.
  • The "same as shipping" logic on the payment step now compares the shipping address with the invoice address, so the checkbox behaves correctly.
  • The checkout summary displays the invoice address of the order.

Behind the scenes, the module adjusts how the online shop prepares and updates sale orders: when an order is created or updated from the website, the invoice address is recalculated from the customer's invoicing address. It touches the sale.order and website models and overrides two website templates (the payment step and the checkout page). No new menus or screens are added; the change is visible directly in the standard checkout flow.

Depends on

website_sale
Models and fields (2)
  • website · extends an existing model
  • sale.order · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 5 confirmed, 4 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/e-commerce.

terminal Installation and usage

OCA documentation · Odoo 16.0

To test this module:

  • Create a partner with children: one a contact and another an invoice address.
  • Add portal credentials to the contact one.
  • Log in with the former contact user and place an order in the e-Commerce.
  • You should the resultant sale order should have the invoice contact we set before as invoice address.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.