Skip to content
Extraits de code Groupes Projets
Valider 8ff3b905 rédigé par Rémi - Le Filament's avatar Rémi - Le Filament
Parcourir les fichiers

Module creation

parent
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl
:alt: License: AGPL-3
================================
Partner add Postal Address
================================
Adds a new type of address : Postal address
This module has been pushed to oca in partner-contact on PR#763 <https://github.com/OCA/partner-contact/pull/763>
Credits
=======
Contributors
------------
* Rémi Cazenave <remi@le-filament.com>
Maintainer
----------
.. image:: https://le-filament.com/images/logo-lefilament.png
:alt: Le Filament
:target: https://le-filament.com
This module is maintained by Le Filament
# Copyright (C) 2019 Le Filament
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import models
# Copyright (C) 2019 Le Filament
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Partner Postal Address",
"summary": "Adds a postal address in address types",
"version": "12.0.1.0.0",
"category": "Partner Management",
"website": "https://github.com/OCA/partner-contact",
"author": "Le Filament, Odoo Community Association (OCA)",
"license": "AGPL-3",
"depends": [
"contacts",
],
"installable": True,
"development_status": "Beta",
"maintainers": ["remi-filament"],
}
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_postal_address
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-08-14 10:09+0000\n"
"PO-Revision-Date: 2019-08-14 10:09+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: partner_postal_address
#: model:ir.model.fields,field_description:partner_postal_address.field_res_partner__type
#: model:ir.model.fields,field_description:partner_postal_address.field_res_users__type
msgid "Address Type"
msgstr "Type d'adresse"
#. module: partner_postal_address
#: model:ir.model,name:partner_postal_address.model_res_partner
#: selection:res.partner,type:0
msgid "Contact"
msgstr ""
#. module: partner_postal_address
#: selection:res.partner,type:0
msgid "Invoice address"
msgstr "Adresse de facturation"
#. module: partner_postal_address
#: selection:res.partner,type:0
msgid "Other address"
msgstr "Autre adresse"
#. module: partner_postal_address
#: selection:res.partner,type:0
msgid "Postal address"
msgstr "Adresse postale"
#. module: partner_postal_address
#: selection:res.partner,type:0
msgid "Private Address"
msgstr "Adresse personnelle"
#. module: partner_postal_address
#: selection:res.partner,type:0
msgid "Shipping address"
msgstr "Adresse d'expédition"
#. module: partner_postal_address
#: model:ir.model.fields,help:partner_postal_address.field_res_partner__type
#: model:ir.model.fields,help:partner_postal_address.field_res_users__type
msgid "Used by Sales and Purchase Apps to select the relevant address depending on the context."
msgstr "Utilisé par les Applications Vente et Achats pour sélectionner l'adresse adéquate en fonction du contexte"
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_postal_address
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-08-14 10:10+0000\n"
"PO-Revision-Date: 2019-08-14 10:10+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: partner_postal_address
#: model:ir.model.fields,field_description:partner_postal_address.field_res_partner__type
#: model:ir.model.fields,field_description:partner_postal_address.field_res_users__type
msgid "Address Type"
msgstr ""
#. module: partner_postal_address
#: model:ir.model,name:partner_postal_address.model_res_partner
#: selection:res.partner,type:0
msgid "Contact"
msgstr ""
#. module: partner_postal_address
#: selection:res.partner,type:0
msgid "Invoice address"
msgstr ""
#. module: partner_postal_address
#: selection:res.partner,type:0
msgid "Other address"
msgstr ""
#. module: partner_postal_address
#: selection:res.partner,type:0
msgid "Postal address"
msgstr ""
#. module: partner_postal_address
#: selection:res.partner,type:0
msgid "Private Address"
msgstr ""
#. module: partner_postal_address
#: selection:res.partner,type:0
msgid "Shipping address"
msgstr ""
#. module: partner_postal_address
#: model:ir.model.fields,help:partner_postal_address.field_res_partner__type
#: model:ir.model.fields,help:partner_postal_address.field_res_users__type
msgid "Used by Sales and Purchase Apps to select the relevant address depending on the context."
msgstr ""
# Copyright (C) 2019 Le Filament
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import res_partner
# Copyright (C) 2019 Le Filament
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class Partner(models.Model):
_inherit = 'res.partner'
type = fields.Selection(selection_add=[('postal', 'Postal address')])
* Rémi Cazenave <remi-filament> (https://le-filament.com)
* Le Filament <https://le-filament.com>
This module allows you define an address as Postal address (ie to be used for postal communication).
It adds a new type of address/contact.
To use this module, you need to:
#. Go to the partner form
#. Select a company
#. Add a new address and select the type "Postal"
static/description/icon.png

9,23 ko

0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter