Skip to content

Commit a6fc7d6

Browse files
committed
Merge PR #453 into 18.0
Signed-off-by pedrobaeza
2 parents 140fbe0 + a9700bf commit a6fc7d6

19 files changed

+1153
-0
lines changed

maintenance_account/README.rst

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
===================
2+
Maintenance Account
3+
===================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:f9abd934016a986a5b9dd883b08f6af2e4a5f728f3ea4f4fe0b1ad56ff996d7c
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmaintenance-lightgray.png?logo=github
20+
:target: https://github.com/OCA/maintenance/tree/18.0/maintenance_account
21+
:alt: OCA/maintenance
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/maintenance-18-0/maintenance-18-0-maintenance_account
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/maintenance&target_branch=18.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module automatically creates the equipment when validating the
32+
purchase invoices.
33+
34+
**Table of contents**
35+
36+
.. contents::
37+
:local:
38+
39+
Usage
40+
=====
41+
42+
To use this module, you need to:
43+
44+
- Go to *Invoicing > Vendor > Bills* and create a new one with any
45+
product with the "Can be Maintenance" field checked.
46+
- Confirm the invoice.
47+
- A new equipment category linked to the product line has been created
48+
(if the product category did not already have one linked).
49+
- A smart-button is displayed with the equipments created (as many
50+
equipments as the quantity of product lines are created).
51+
52+
Bug Tracker
53+
===========
54+
55+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/maintenance/issues>`_.
56+
In case of trouble, please check there if your issue has already been reported.
57+
If you spotted it first, help us to smash it by providing a detailed and welcomed
58+
`feedback <https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_account%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
59+
60+
Do not contact contributors directly about support or help with technical issues.
61+
62+
Credits
63+
=======
64+
65+
Authors
66+
-------
67+
68+
* Tecnativa
69+
70+
Contributors
71+
------------
72+
73+
- César Fernández Domínguez <cesfernandez@outlook.com>
74+
- `Tecnativa <https://www.tecnativa.com>`__:
75+
76+
- Víctor Martínez
77+
- Pedro M. Baeza
78+
- Carolina Fernandez
79+
80+
- `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`__
81+
82+
- Bhavesh Heliconia
83+
84+
Maintainers
85+
-----------
86+
87+
This module is maintained by the OCA.
88+
89+
.. image:: https://odoo-community.org/logo.png
90+
:alt: Odoo Community Association
91+
:target: https://odoo-community.org
92+
93+
OCA, or the Odoo Community Association, is a nonprofit organization whose
94+
mission is to support the collaborative development of Odoo features and
95+
promote its widespread use.
96+
97+
.. |maintainer-victoralmau| image:: https://github.com/victoralmau.png?size=40px
98+
:target: https://github.com/victoralmau
99+
:alt: victoralmau
100+
101+
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
102+
103+
|maintainer-victoralmau|
104+
105+
This module is part of the `OCA/maintenance <https://github.com/OCA/maintenance/tree/18.0/maintenance_account>`_ project on GitHub.
106+
107+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

maintenance_account/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright 2022 Tecnativa - Víctor Martínez
2+
# Copyright 2024 Tecnativa - Carolina Fernandez
3+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
4+
{
5+
"name": "Maintenance Account",
6+
"version": "18.0.1.0.0",
7+
"category": "Maintenance",
8+
"website": "https://github.com/OCA/maintenance",
9+
"author": "Tecnativa, Odoo Community Association (OCA)",
10+
"license": "AGPL-3",
11+
"depends": ["maintenance_product", "account"],
12+
"installable": True,
13+
"data": [
14+
"views/maintenance_equipment_view.xml",
15+
"views/account_move_view.xml",
16+
],
17+
"maintainers": ["victoralmau"],
18+
}

maintenance_account/i18n/es.po

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * maintenance_account
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 14.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2022-03-30 07:30+0000\n"
10+
"PO-Revision-Date: 2023-07-06 20:08+0000\n"
11+
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
12+
"Language-Team: \n"
13+
"Language: es\n"
14+
"MIME-Version: 1.0\n"
15+
"Content-Type: text/plain; charset=UTF-8\n"
16+
"Content-Transfer-Encoding: 8bit\n"
17+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
18+
"X-Generator: Weblate 4.17\n"
19+
20+
#. module: maintenance_account
21+
#: model:ir.model.fields,field_description:maintenance_account.field_account_move_line__equipment_category_id
22+
msgid "Equipment Category"
23+
msgstr "Categoría de equipo"
24+
25+
#. module: maintenance_account
26+
#: model:ir.model.fields,field_description:maintenance_account.field_account_bank_statement_line__equipment_count
27+
#: model:ir.model.fields,field_description:maintenance_account.field_account_move__equipment_count
28+
#: model:ir.model.fields,field_description:maintenance_account.field_account_move_line__equipment_count
29+
#: model:ir.model.fields,field_description:maintenance_account.field_account_payment__equipment_count
30+
msgid "Equipment Count"
31+
msgstr "Total de equipos"
32+
33+
#. module: maintenance_account
34+
#: model_terms:ir.ui.view,arch_db:maintenance_account.view_move_form
35+
msgid "Equipment(s)"
36+
msgstr "Equipo(s)"
37+
38+
#. module: maintenance_account
39+
#: model:ir.model.fields,field_description:maintenance_account.field_account_move_line__equipment_ids
40+
msgid "Equipments"
41+
msgstr "Equipos"
42+
43+
#. module: maintenance_account
44+
#: model:ir.model,name:maintenance_account.model_account_move
45+
msgid "Journal Entry"
46+
msgstr "Asiento contable"
47+
48+
#. module: maintenance_account
49+
#: model:ir.model,name:maintenance_account.model_account_move_line
50+
msgid "Journal Item"
51+
msgstr "Apunte contable"
52+
53+
#. module: maintenance_account
54+
#: model:ir.model,name:maintenance_account.model_maintenance_equipment
55+
msgid "Maintenance Equipment"
56+
msgstr "Equipo de mantenimiento"
57+
58+
#. module: maintenance_account
59+
#: model:ir.model.fields,field_description:maintenance_account.field_maintenance_equipment__move_id
60+
msgid "Move"
61+
msgstr "Asiento"
62+
63+
#. module: maintenance_account
64+
#: model:ir.model.fields,field_description:maintenance_account.field_maintenance_equipment__move_line_id
65+
msgid "Move line"
66+
msgstr "Apunte"
67+
68+
#~ msgid "The move of this entry line."
69+
#~ msgstr "El movimiento de esta línea de entrada."

maintenance_account/i18n/it.po

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * maintenance_account
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 14.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2023-11-12 17:39+0000\n"
10+
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
11+
"Language-Team: none\n"
12+
"Language: it\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 4.17\n"
18+
19+
#. module: maintenance_account
20+
#: model:ir.model.fields,field_description:maintenance_account.field_account_move_line__equipment_category_id
21+
msgid "Equipment Category"
22+
msgstr "Categoria attrezzatura"
23+
24+
#. module: maintenance_account
25+
#: model:ir.model.fields,field_description:maintenance_account.field_account_bank_statement_line__equipment_count
26+
#: model:ir.model.fields,field_description:maintenance_account.field_account_move__equipment_count
27+
#: model:ir.model.fields,field_description:maintenance_account.field_account_move_line__equipment_count
28+
#: model:ir.model.fields,field_description:maintenance_account.field_account_payment__equipment_count
29+
msgid "Equipment Count"
30+
msgstr "Conteggio attrezzature"
31+
32+
#. module: maintenance_account
33+
#: model_terms:ir.ui.view,arch_db:maintenance_account.view_move_form
34+
msgid "Equipment(s)"
35+
msgstr "Attrezzatura(e)"
36+
37+
#. module: maintenance_account
38+
#: model:ir.model.fields,field_description:maintenance_account.field_account_move_line__equipment_ids
39+
msgid "Equipments"
40+
msgstr "Attrezzature"
41+
42+
#. module: maintenance_account
43+
#: model:ir.model,name:maintenance_account.model_account_move
44+
msgid "Journal Entry"
45+
msgstr "Registrazione contabile"
46+
47+
#. module: maintenance_account
48+
#: model:ir.model,name:maintenance_account.model_account_move_line
49+
msgid "Journal Item"
50+
msgstr "Movimento contabile"
51+
52+
#. module: maintenance_account
53+
#: model:ir.model,name:maintenance_account.model_maintenance_equipment
54+
msgid "Maintenance Equipment"
55+
msgstr "Attrezzatura manutenzione"
56+
57+
#. module: maintenance_account
58+
#: model:ir.model.fields,field_description:maintenance_account.field_maintenance_equipment__move_id
59+
msgid "Move"
60+
msgstr "Movimento"
61+
62+
#. module: maintenance_account
63+
#: model:ir.model.fields,field_description:maintenance_account.field_maintenance_equipment__move_line_id
64+
msgid "Move line"
65+
msgstr "Riga movimento"
66+
67+
#~ msgid "The move of this entry line."
68+
#~ msgstr "Il movimento per questa riga di registrazione."
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * maintenance_account
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 17.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"Last-Translator: \n"
10+
"Language-Team: \n"
11+
"MIME-Version: 1.0\n"
12+
"Content-Type: text/plain; charset=UTF-8\n"
13+
"Content-Transfer-Encoding: \n"
14+
"Plural-Forms: \n"
15+
16+
#. module: maintenance_account
17+
#: model:ir.model.fields,field_description:maintenance_account.field_account_move_line__equipment_category_id
18+
msgid "Equipment Category"
19+
msgstr ""
20+
21+
#. module: maintenance_account
22+
#: model:ir.model.fields,field_description:maintenance_account.field_account_bank_statement_line__equipment_count
23+
#: model:ir.model.fields,field_description:maintenance_account.field_account_move__equipment_count
24+
#: model:ir.model.fields,field_description:maintenance_account.field_account_move_line__equipment_count
25+
#: model:ir.model.fields,field_description:maintenance_account.field_account_payment__equipment_count
26+
msgid "Equipment Count"
27+
msgstr ""
28+
29+
#. module: maintenance_account
30+
#: model_terms:ir.ui.view,arch_db:maintenance_account.view_move_form
31+
msgid "Equipment(s)"
32+
msgstr ""
33+
34+
#. module: maintenance_account
35+
#: model:ir.model.fields,field_description:maintenance_account.field_account_move_line__equipment_ids
36+
msgid "Equipments"
37+
msgstr ""
38+
39+
#. module: maintenance_account
40+
#: model:ir.model,name:maintenance_account.model_account_move
41+
msgid "Journal Entry"
42+
msgstr ""
43+
44+
#. module: maintenance_account
45+
#: model:ir.model,name:maintenance_account.model_account_move_line
46+
msgid "Journal Item"
47+
msgstr ""
48+
49+
#. module: maintenance_account
50+
#: model:ir.model,name:maintenance_account.model_maintenance_equipment
51+
msgid "Maintenance Equipment"
52+
msgstr ""
53+
54+
#. module: maintenance_account
55+
#: model:ir.model.fields,field_description:maintenance_account.field_maintenance_equipment__move_id
56+
msgid "Move"
57+
msgstr ""
58+
59+
#. module: maintenance_account
60+
#: model:ir.model.fields,field_description:maintenance_account.field_maintenance_equipment__move_line_id
61+
msgid "Move line"
62+
msgstr ""
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
from . import account_move
2+
from . import maintenance_equipment

0 commit comments

Comments
 (0)