Skip to content

Commit

Permalink
[MIG] partner_default_company: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bijaya committed Feb 20, 2025
1 parent 3ab32a0 commit ce8cc7f
Show file tree
Hide file tree
Showing 8 changed files with 476 additions and 24 deletions.
55 changes: 45 additions & 10 deletions partner_default_company/README.rst
Original file line number Diff line number Diff line change
@@ -1,29 +1,64 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

=======================
Partner Default Company
=======================

* This module populates the company with the current one on partner creation
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ff7d5ccfe4a0078518d54ca1779d08ac85eba44dd67d8189fb665f080560d3de
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/licence-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-NuoBiT%2Fodoo--addons-lightgray.png?logo=github
:target: https://github.com/NuoBiT/odoo-addons/tree/17.0/partner_default_company
:alt: NuoBiT/odoo-addons

|badge1| |badge2| |badge3|

This module populates the company with the current one on partner
creation

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues
<https://github.com/nuobit/odoo-addons/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed feedback.
Bugs are tracked on `GitHub Issues <https://github.com/NuoBiT/odoo-addons/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/NuoBiT/odoo-addons/issues/new?body=module:%20partner_default_company%0Aversion:%2017.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
-------

* NuoBiT Solutions SL

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

* Eric Antones <eantones@nuobit.com>
- `NuoBiT <https://www.nuobit.com>`__:

- Eric Antones eantones@nuobit.com
- Bijaya Kumal bkumal@nuobit.com

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

This module is part of the `NuoBiT/odoo-addons <https://github.com/NuoBiT/odoo-addons/tree/17.0/partner_default_company>`_ project on GitHub.

You are welcome to contribute.
4 changes: 0 additions & 4 deletions partner_default_company/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
# Copyright NuoBiT Solutions, S.L. (<https://www.nuobit.com>)
# Eric Antones <eantones@nuobit.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

from . import models
10 changes: 4 additions & 6 deletions partner_default_company/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
# Copyright NuoBiT Solutions, S.L. (<https://www.nuobit.com>)
# Eric Antones <eantones@nuobit.com>
# Copyright NuoBiT - Eric Antones <eantones@nuobit.com>
# Copyright NuoBiT 2025 - Bijaya Kumal <bkumal@nuobit.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

{
"name": "Partner Default Company",
"summary": "This module populates the company with "
"the current one on partner creation",
"version": "14.0.1.0.0",
"version": "17.0.0.0.0",
"category": "Contacts",
"author": "NuoBiT Solutions, S.L.",
"author": "NuoBiT Solutions SL",
"website": "https://github.com/NuoBiT/odoo-addons",
"license": "AGPL-3",
"depends": [
"base",
],
"installable": True,
"auto_install": False,
}
3 changes: 1 addition & 2 deletions partner_default_company/models/res_company.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Copyright NuoBiT Solutions, S.L. (<https://www.nuobit.com>)
# Eric Antones <eantones@nuobit.com>
# Copyright NuoBiT - Eric Antones <eantones@nuobit.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

from odoo import api, models
Expand Down
3 changes: 1 addition & 2 deletions partner_default_company/models/res_partner.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Copyright NuoBiT Solutions, S.L. (<https://www.nuobit.com>)
# Eric Antones <eantones@nuobit.com>
# Copyright NuoBiT - Eric Antones <eantones@nuobit.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

from odoo import fields, models
Expand Down
3 changes: 3 additions & 0 deletions partner_default_company/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- [NuoBiT](https://www.nuobit.com):
- Eric Antones <eantones@nuobit.com>
- Bijaya Kumal <bkumal@nuobit.com>
1 change: 1 addition & 0 deletions partner_default_company/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module populates the company with the current one on partner creation
Loading

0 comments on commit ce8cc7f

Please sign in to comment.