Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 92 additions & 0 deletions partner_mobile/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

==============
Partner Mobile
==============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:f8d35b215cc9e893cdbc44dc459fce24cd2f66da07fea16cd643ade3dce1c691
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github
:target: https://github.com/OCA/partner-contact/tree/19.0/partner_mobile
:alt: OCA/partner-contact
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/partner-contact-19-0/partner-contact-19-0-partner_mobile
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/partner-contact&target_branch=19.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module adds the field **Mobile** on partners.

The *Mobile* field on partners was native up to Odoo 18.0 and was
dropped in 19.0 (they only kept the *Phone* field). The goal of this OCA
module is just to restore the *Mobile* field.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/partner-contact/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 <https://github.com/OCA/partner-contact/issues/new?body=module:%20partner_mobile%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Akretion

Contributors
------------

- Alexis de Lattre <[email protected]>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px
:target: https://github.com/alexis-via
:alt: alexis-via

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-alexis-via|

This module is part of the `OCA/partner-contact <https://github.com/OCA/partner-contact/tree/19.0/partner_mobile>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions partner_mobile/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
21 changes: 21 additions & 0 deletions partner_mobile/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2025 Akretion France (https://www.akretion.com/)
# @author: Alexis de Lattre <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Partner Mobile",
"version": "19.0.1.0.0",
"category": "Extra Tools",
"license": "AGPL-3",
"summary": "Add mobile field on partner",
"author": "Akretion,Odoo Community Association (OCA)",
"maintainers": ["alexis-via"],
"development_status": "Beta",
"website": "https://github.com/OCA/partner-contact",
"depends": ["base"],
"data": [
"views/res_partner.xml",
],
"demo": ["demo/res_partner.xml"],
"installable": True,
}
39 changes: 39 additions & 0 deletions partner_mobile/demo/res_partner.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2025 Akretion France (https://www.akretion.com/)
@author: Alexis de Lattre <[email protected]>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo noupdate="1">
<record id="base.res_partner_address_1" model="res.partner">
<field name="mobile">+1 846 386 9844</field>
</record>

<record id="base.res_partner_address_2" model="res.partner">
<field name="mobile">+1 976 357 1597</field>
</record>

<record id="base.res_partner_address_3" model="res.partner">
<field name="mobile">+1 132 578 5793</field>
</record>

<record id="base.res_partner_address_4" model="res.partner">
<field name="mobile">+1 145 951 7763</field>
</record>

<record id="base.res_partner_address_7" model="res.partner">
<field name="mobile">+1 915 522 9644</field>
</record>

<record id="base.res_partner_address_15" model="res.partner">
<field name="mobile">+1 355 684 1265</field>
</record>

<record id="base.res_partner_address_16" model="res.partner">
<field name="mobile">+1 946 648 9678</field>
</record>

<record id="base.res_partner_address_28" model="res.partner">
<field name="mobile">+1 255 114 9724</field>
</record>
</odoo>
1 change: 1 addition & 0 deletions partner_mobile/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import res_partner
11 changes: 11 additions & 0 deletions partner_mobile/models/res_partner.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright 2025 Akretion France (https://www.akretion.com/)
# @author: Alexis de Lattre <[email protected]>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from odoo import fields, models


class ResPartner(models.Model):
_inherit = "res.partner"

mobile = fields.Char()
3 changes: 3 additions & 0 deletions partner_mobile/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
1 change: 1 addition & 0 deletions partner_mobile/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Alexis de Lattre \<<[email protected]>\>
3 changes: 3 additions & 0 deletions partner_mobile/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This module adds the field **Mobile** on partners.

The *Mobile* field on partners was native up to Odoo 18.0 and was dropped in 19.0 (they only kept the *Phone* field). The goal of this OCA module is just to restore the *Mobile* field.
Loading