Skip to content

Commit

Permalink
[4120][ADD] analytic_plan_code (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
yostashiro authored Apr 24, 2024
1 parent e55da48 commit 8363b50
Show file tree
Hide file tree
Showing 11 changed files with 555 additions and 0 deletions.
58 changes: 58 additions & 0 deletions analytic_plan_code/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
==================
Analytic Plan Code
==================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:5e35bb1b75dd0872272470eb82087710554559fb4f9269a790d3337acdfffd4c
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-qrtl%2Faxls--custom-lightgray.png?logo=github
:target: https://github.com/qrtl/axls-custom/tree/16.0/analytic_plan_code
:alt: qrtl/axls-custom

|badge1| |badge2| |badge3|

This module adds the code field to the analytic plan.

The code from the analytic plan is expected to be used in modules that
inherit this one.

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/qrtl/axls-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/axls-custom/issues/new?body=module:%20analytic_plan_code%0Aversion:%2016.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/axls-custom <https://github.com/qrtl/axls-custom/tree/16.0/analytic_plan_code>`_ project on GitHub.

You are welcome to contribute.
1 change: 1 addition & 0 deletions analytic_plan_code/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
15 changes: 15 additions & 0 deletions analytic_plan_code/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2024 Quartile Limited
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
{
"name": "Analytic Plan Code",
"version": "16.0.1.0.0",
"category": "Accounting",
"author": "Quartile Limited",
"website": "https://www.quartile.co",
"license": "LGPL-3",
"depends": ["analytic"],
"data": [
"views/account_analytic_plan_views.xml",
],
"installable": True,
}
26 changes: 26 additions & 0 deletions analytic_plan_code/i18n/ja.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * analytic_plan_code
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-04-20 09:30+0000\n"
"PO-Revision-Date: 2024-04-20 09:30+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: analytic_plan_code
#: model:ir.model,name:analytic_plan_code.model_account_analytic_plan
msgid "Analytic Plans"
msgstr "分析プラン"

#. module: analytic_plan_code
#: model:ir.model.fields,field_description:analytic_plan_code.field_account_analytic_plan__code
msgid "Code"
msgstr "コード"
1 change: 1 addition & 0 deletions analytic_plan_code/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import account_analytic_plan
10 changes: 10 additions & 0 deletions analytic_plan_code/models/account_analytic_plan.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright 2024 Quartile Limited
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).

from odoo import fields, models


class AccountAnalylticPlan(models.Model):
_inherit = "account.analytic.plan"

code = fields.Char()
3 changes: 3 additions & 0 deletions analytic_plan_code/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This module adds the code field to the analytic plan.

The code from the analytic plan is expected to be used in modules that inherit this one.
Loading

0 comments on commit 8363b50

Please sign in to comment.