Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] account_asset_number: Migration to 18.0 #2040

Open
wants to merge 25 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
e9eea2d
[14.0][ADD] account_asset_number
ps-tubtim Jul 21, 2021
93c51c0
[UPD] Update account_asset_number.pot
May 5, 2022
aa19118
[UPD] README.rst
OCA-git-bot May 5, 2022
5769172
Added translation using Weblate (Croatian)
badbole Aug 22, 2022
7356fc0
Translated using Weblate (Croatian)
badbole Aug 22, 2022
c5f1df0
[15.0][MIG] account_asset_number
Saran440 Dec 2, 2022
b6cea4f
[UPD] Update account_asset_number.pot
Feb 8, 2023
8e33ff2
[UPD] README.rst
OCA-git-bot Feb 8, 2023
12d643c
Update translation files
weblate Feb 8, 2023
40baf6a
Added translation using Weblate (Spanish)
Ivorra78 Jul 29, 2023
26128d1
Translated using Weblate (Spanish)
Ivorra78 Jul 29, 2023
b5fd087
Translated using Weblate (Spanish)
Ivorra78 Aug 7, 2023
320c9fa
[UPD] README.rst
OCA-git-bot Sep 3, 2023
d92e2cc
[MIG] account_asset_number: Migration to 16.0
Saran440 Dec 28, 2023
a7ceb7c
[UPD] Update account_asset_number.pot
Jul 24, 2024
7cc200d
Update translation files
weblate Jul 24, 2024
725a652
Added translation using Weblate (Italian)
mymage Jul 29, 2024
2fb3dd0
Translated using Weblate (Italian)
mymage Aug 7, 2024
e1287d0
[IMP] account_asset_number: Add barcode type configuration
Pani-k-folk Sep 20, 2024
55bd356
[UPD] Update account_asset_number.pot
Sep 24, 2024
7603771
[BOT] post-merge updates
OCA-git-bot Sep 24, 2024
7dfdb5d
Update translation files
weblate Sep 24, 2024
728cea2
Translated using Weblate (Italian)
mymage Sep 26, 2024
a71f755
[IMP] account_asset_number: pre-commit auto fixes
Pani-k-folk Mar 3, 2025
c0e17fe
[MIG] account_asset_number: Migration to 18.0
Pani-k-folk Mar 3, 2025
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
90 changes: 90 additions & 0 deletions account_asset_number/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
=============
Assets Number
=============

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

.. |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-OCA%2Faccount--financial--tools-lightgray.png?logo=github
:target: https://github.com/OCA/account-financial-tools/tree/18.0/account_asset_number
:alt: OCA/account-financial-tools
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-financial-tools-18-0/account-financial-tools-18-0-account_asset_number
: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/account-financial-tools&target_branch=18.0
:alt: Try me on Runboat

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

This module adds a asset number for the asset's reference.

**Notes:**

If you check "Auto Asset Number by Sequence", you will not be able to
edit the asset number using that asset profile.

**Table of contents**

.. contents::
:local:

Configuration
=============

You can set the default asset number by going to *Invoicing >
Configuration > Asset Profile*, and check *Auto Asset Number by
Sequence* then select *Asset Number Sequence*.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-financial-tools/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/account-financial-tools/issues/new?body=module:%20account_asset_number%0Aversion:%2018.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
-------

* Ecosoft

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

- `Ecosoft <http://ecosoft.co.th>`__:

- Pimolnat Suntian <[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.

This module is part of the `OCA/account-financial-tools <https://github.com/OCA/account-financial-tools/tree/18.0/account_asset_number>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions account_asset_number/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
from . import report
17 changes: 17 additions & 0 deletions account_asset_number/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2021 Ecosoft Co., Ltd. (http://ecosoft.co.th)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Assets Number",
"version": "18.0.1.0.0",
"license": "AGPL-3",
"depends": ["account_asset_management"],
"author": "Ecosoft, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-financial-tools",
"category": "Accounting & Finance",
"data": [
"views/account_asset_profile.xml",
"views/account_asset.xml",
"report/account_asset_number_report.xml",
],
}
119 changes: 119 additions & 0 deletions account_asset_number/i18n/account_asset_number.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_asset_number
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \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: account_asset_number
#: model:ir.actions.report,print_report_name:account_asset_number.report_account_asset_number
msgid "'Asset Number - %s' % (object.name)"
msgstr ""

#. module: account_asset_number
#: model_terms:ir.ui.view,arch_db:account_asset_number.report_simple_asset_number
msgid "<span class=\"text-muted\">No number available</span>"
msgstr ""

#. module: account_asset_number
#: model:ir.model,name:account_asset_number.model_account_asset
msgid "Asset"
msgstr ""

#. module: account_asset_number
#: model:ir.model.fields,field_description:account_asset_number.field_account_asset__number
msgid "Asset Number"
msgstr ""

#. module: account_asset_number
#: model:ir.actions.report,name:account_asset_number.report_account_asset_number
msgid "Asset Number (PDF)"
msgstr ""

#. module: account_asset_number
#: model:ir.model.fields,field_description:account_asset_number.field_account_asset_profile__sequence_id
msgid "Asset Number Sequence"
msgstr ""

#. module: account_asset_number
#: model:ir.model,name:account_asset_number.model_account_asset_profile
msgid "Asset profile"
msgstr ""

#. module: account_asset_number
#: model:ir.model.fields,field_description:account_asset_number.field_account_asset__use_sequence
#: model:ir.model.fields,field_description:account_asset_number.field_account_asset_profile__use_sequence
msgid "Auto Asset Number by Sequence"
msgstr ""

#. module: account_asset_number
#: model:ir.model.fields.selection,name:account_asset_number.selection__account_asset_profile__barcode_type__barcode
#: model_terms:ir.ui.view,arch_db:account_asset_number.report_simple_asset_number
msgid "Barcode"
msgstr ""

#. module: account_asset_number
#: model:ir.model.fields,field_description:account_asset_number.field_account_asset_profile__barcode_height
msgid "Barcode Height"
msgstr ""

#. module: account_asset_number
#: model:ir.model.fields,field_description:account_asset_number.field_account_asset_profile__barcode_type
msgid "Barcode Type"
msgstr ""

#. module: account_asset_number
#: model:ir.model.fields,field_description:account_asset_number.field_account_asset_profile__barcode_width
msgid "Barcode Width"
msgstr ""

#. module: account_asset_number
#: model:ir.model,name:account_asset_number.model_report_account_asset_management_asset_report_xls
msgid "Dynamic XLS asset report generator"
msgstr ""

#. module: account_asset_number
#: model:ir.model.fields,help:account_asset_number.field_account_asset_profile__barcode_height
msgid "Height (in px) of the barcode or the QR code"
msgstr ""

#. module: account_asset_number
#: model:ir.model.fields,help:account_asset_number.field_account_asset__use_sequence
#: model:ir.model.fields,help:account_asset_number.field_account_asset_profile__use_sequence
msgid "If check, asset number auto run by sequence."
msgstr ""

#. module: account_asset_number
#. odoo-python
#: code:addons/account_asset_number/report/account_asset_report_xls.py:0
#, python-format
msgid "Number"
msgstr ""

#. module: account_asset_number
#: model:ir.model.fields.selection,name:account_asset_number.selection__account_asset_profile__barcode_type__qr
msgid "QR"
msgstr ""

#. module: account_asset_number
#: model_terms:ir.ui.view,arch_db:account_asset_number.account_asset_profile_view_form
msgid "QR/Barcode Configuration"
msgstr ""

#. module: account_asset_number
#: model_terms:ir.ui.view,arch_db:account_asset_number.report_simple_asset_number
msgid "QRcode"
msgstr ""

#. module: account_asset_number
#: model:ir.model.fields,help:account_asset_number.field_account_asset_profile__barcode_width
msgid "Width (in px) of the barcode or the QR code"
msgstr ""
124 changes: 124 additions & 0 deletions account_asset_number/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_asset_number
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-08-07 12:10+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: account_asset_number
#: model:ir.actions.report,print_report_name:account_asset_number.report_account_asset_number
msgid "'Asset Number - %s' % (object.name)"
msgstr "'Número de activo - %s' % (object.name)"

#. module: account_asset_number
#: model_terms:ir.ui.view,arch_db:account_asset_number.report_simple_asset_number
msgid "<span class=\"text-muted\">No number available</span>"
msgstr "<span class=\"text-muted\">Ningún número disponible</span>"

#. module: account_asset_number
#: model:ir.model,name:account_asset_number.model_account_asset
msgid "Asset"
msgstr "Activo"

#. module: account_asset_number
#: model:ir.model.fields,field_description:account_asset_number.field_account_asset__number
msgid "Asset Number"
msgstr "Número de activo"

#. module: account_asset_number
#: model:ir.actions.report,name:account_asset_number.report_account_asset_number
msgid "Asset Number (PDF)"
msgstr "Número de activo (PDF)"

#. module: account_asset_number
#: model:ir.model.fields,field_description:account_asset_number.field_account_asset_profile__sequence_id
msgid "Asset Number Sequence"
msgstr "Secuencia del número de activo"

#. module: account_asset_number
#: model:ir.model,name:account_asset_number.model_account_asset_profile
msgid "Asset profile"
msgstr "Perfil del activo"

#. module: account_asset_number
#: model:ir.model.fields,field_description:account_asset_number.field_account_asset__use_sequence
#: model:ir.model.fields,field_description:account_asset_number.field_account_asset_profile__use_sequence
msgid "Auto Asset Number by Sequence"
msgstr "Número de activo automático por secuencia"

#. module: account_asset_number
#: model:ir.model.fields.selection,name:account_asset_number.selection__account_asset_profile__barcode_type__barcode
#: model_terms:ir.ui.view,arch_db:account_asset_number.report_simple_asset_number
msgid "Barcode"
msgstr "Código de Barras"

#. module: account_asset_number
#: model:ir.model.fields,field_description:account_asset_number.field_account_asset_profile__barcode_height
msgid "Barcode Height"
msgstr ""

#. module: account_asset_number
#: model:ir.model.fields,field_description:account_asset_number.field_account_asset_profile__barcode_type
msgid "Barcode Type"
msgstr ""

#. module: account_asset_number
#: model:ir.model.fields,field_description:account_asset_number.field_account_asset_profile__barcode_width
msgid "Barcode Width"
msgstr ""

#. module: account_asset_number
#: model:ir.model,name:account_asset_number.model_report_account_asset_management_asset_report_xls
msgid "Dynamic XLS asset report generator"
msgstr "Generador dinámico de informes de activos en XLS"

#. module: account_asset_number
#: model:ir.model.fields,help:account_asset_number.field_account_asset_profile__barcode_height
msgid "Height (in px) of the barcode or the QR code"
msgstr ""

#. module: account_asset_number
#: model:ir.model.fields,help:account_asset_number.field_account_asset__use_sequence
#: model:ir.model.fields,help:account_asset_number.field_account_asset_profile__use_sequence
msgid "If check, asset number auto run by sequence."
msgstr ""
"Si está marcada, el número de activo se ejecuta automáticamente por "
"secuencia."

#. module: account_asset_number
#. odoo-python
#: code:addons/account_asset_number/report/account_asset_report_xls.py:0
#, python-format
msgid "Number"
msgstr "Número"

#. module: account_asset_number
#: model:ir.model.fields.selection,name:account_asset_number.selection__account_asset_profile__barcode_type__qr
msgid "QR"
msgstr ""

#. module: account_asset_number
#: model_terms:ir.ui.view,arch_db:account_asset_number.account_asset_profile_view_form
msgid "QR/Barcode Configuration"
msgstr ""

#. module: account_asset_number
#: model_terms:ir.ui.view,arch_db:account_asset_number.report_simple_asset_number
msgid "QRcode"
msgstr ""

#. module: account_asset_number
#: model:ir.model.fields,help:account_asset_number.field_account_asset_profile__barcode_width
msgid "Width (in px) of the barcode or the QR code"
msgstr ""
Loading