Skip to content

Latest commit

 

History

History
 
 

shopinvader_address

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Shopinvader Address

Beta License: AGPL-3 shopinvader/odoo-shopinvader

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, the Invoicing 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 n DeliveryAddress.

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

This module is part of the shopinvader/odoo-shopinvader project on GitHub.

You are welcome to contribute.