Skip to content

Commit

Permalink
Merge pull request #366 from qrtl/11.0-mig-partner_credit_rank
Browse files Browse the repository at this point in the history
[11.0][4077][MIG] partner_credit_rank: Migration to 11.0
  • Loading branch information
kanda999 authored Dec 14, 2023
2 parents b22f937 + 8311fb6 commit 059197e
Show file tree
Hide file tree
Showing 9 changed files with 545 additions and 0 deletions.
56 changes: 56 additions & 0 deletions partner_credit_rank/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
===================
Partner Credit Rank
===================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:31f42d7b268ae6fa2acb766ff60ee0820eed99dc1936f1e573b86d1f71f5eae2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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-qrtl%2Frmm--custom-lightgray.png?logo=github
:target: https://github.com/qrtl/rmm-custom/tree/15.0/partner_credit_rank
:alt: qrtl/rmm-custom

|badge1| |badge2| |badge3|

This module adds a credit_rank field to assign a rank based on
creditworthiness.

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/qrtl/rmm-custom/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/qrtl/rmm-custom/issues/new?body=module:%20partner_credit_rank%0Aversion:%2015.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
-------

* Quartile Limited

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

This module is part of the `qrtl/rmm-custom <https://github.com/qrtl/rmm-custom/tree/15.0/partner_credit_rank>`_ project on GitHub.

You are welcome to contribute.
1 change: 1 addition & 0 deletions partner_credit_rank/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
15 changes: 15 additions & 0 deletions partner_credit_rank/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2023 Quartile Limited
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Partner Credit Rank",
"version": "11.0.1.0.0",
"author": "Quartile Limited",
"website": "https://www.quartile.co",
"category": "Partner",
"license": "AGPL-3",
"depends": ["base"],
"data": [
"views/res_partner_views.xml",
],
"installable": True,
}
27 changes: 27 additions & 0 deletions partner_credit_rank/i18n/ja.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_credit_rank
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-13 06:07+0000\n"
"PO-Revision-Date: 2023-12-13 06:07+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_credit_rank
#: model:ir.model,name:partner_credit_rank.model_res_partner
msgid "Contact"
msgstr "連絡先"

#. module: partner_credit_rank
#: model:ir.model.fields,field_description:partner_credit_rank.field_res_partner_credit_rank
#: model:ir.model.fields,field_description:partner_credit_rank.field_res_users_credit_rank
msgid "Credit Rank"
msgstr "与信ランク"
1 change: 1 addition & 0 deletions partner_credit_rank/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import res_partner
20 changes: 20 additions & 0 deletions partner_credit_rank/models/res_partner.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2023 Quartile Limited
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from odoo import fields, models


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

credit_rank = fields.Selection(
[
("a", "A"),
("b", "B"),
("c", "C"),
("d", "D"),
("e", "E"),
("f", "F"),
("g", "G"),
]
)
2 changes: 2 additions & 0 deletions partner_credit_rank/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This module adds a credit_rank field to assign a rank based on
creditworthiness.
Loading

0 comments on commit 059197e

Please sign in to comment.