This addons adds helper methos on the res.partner model that ease the management and the creation of addresses within odoo code.
Table of contents
- InvoicingAddress
In the context of shopinvader, the
InvoicingAddress
corresponds to the authenticated partner itself. Therefore, theInvoicing Address
is unique for each partner.Creation of
Invoicing Address
is not supported since it corresponds to the authenticated partner.It can be updated using:
def _update_shopinvader_invoicing_address(self, vals: dict, address_id: int) -> "ResPartner"
Remark: it cannot be modified if it has already been used on a confirmed sale order.
- DeliveryAddress
In the context of shopinvader, a
DeliveryAddress
corresponds to any delivery address linked to the authenticated partner. A partner can have between 0 and nDeliveryAddress
.It can be created using:
def _create_shopinvader_delivery_address(self, vals: dict) -> "ResPartner":
It can be updated using:
def _update_shopinvader_delivery_address(self, vals: dict, address_id: int) -> "ResPartner":
Remark: it cannot be modified if it has already been used on a confirmed sale order.
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
- ACSONE SA/NV
- Laurent Mignon <[email protected]>
- Marie Lejeune <[email protected]>
- Stéphane Bidoul <[email protected]>
- Zina Rasoamanana <[email protected]>
This module is part of the shopinvader/odoo-shopinvader project on GitHub.
You are welcome to contribute.