Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
107 changes: 107 additions & 0 deletions maintenance_account/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
===================
Maintenance Account
===================

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

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

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

This module automatically creates the equipment when validating the
purchase invoices.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

- Go to *Invoicing > Vendor > Bills* and create a new one with any
product with the "Can be Maintenance" field checked.
- Confirm the invoice.
- A new equipment category linked to the product line has been created
(if the product category did not already have one linked).
- A smart-button is displayed with the equipments created (as many
equipments as the quantity of product lines are created).

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/maintenance/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/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**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Tecnativa

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

- César Fernández Domínguez <cesfernandez@outlook.com>
- `Tecnativa <https://www.tecnativa.com>`__:

- Víctor Martínez
- Pedro M. Baeza
- Carolina Fernandez

- `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`__

- Bhavesh Heliconia

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.

.. |maintainer-victoralmau| image:: https://github.com/victoralmau.png?size=40px
:target: https://github.com/victoralmau
:alt: victoralmau

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-victoralmau|

This module is part of the `OCA/maintenance <https://github.com/OCA/maintenance/tree/18.0/maintenance_account>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions maintenance_account/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
18 changes: 18 additions & 0 deletions maintenance_account/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2022 Tecnativa - Víctor Martínez
# Copyright 2024 Tecnativa - Carolina Fernandez
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Maintenance Account",
"version": "18.0.1.0.0",
"category": "Maintenance",
"website": "https://github.com/OCA/maintenance",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"depends": ["maintenance_product", "account"],
"installable": True,
"data": [
"views/maintenance_equipment_view.xml",
"views/account_move_view.xml",
],
"maintainers": ["victoralmau"],
}
69 changes: 69 additions & 0 deletions maintenance_account/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * maintenance_account
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-30 07:30+0000\n"
"PO-Revision-Date: 2023-07-06 20:08+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: maintenance_account
#: model:ir.model.fields,field_description:maintenance_account.field_account_move_line__equipment_category_id
msgid "Equipment Category"
msgstr "Categoría de equipo"

#. module: maintenance_account
#: model:ir.model.fields,field_description:maintenance_account.field_account_bank_statement_line__equipment_count
#: model:ir.model.fields,field_description:maintenance_account.field_account_move__equipment_count
#: model:ir.model.fields,field_description:maintenance_account.field_account_move_line__equipment_count
#: model:ir.model.fields,field_description:maintenance_account.field_account_payment__equipment_count
msgid "Equipment Count"
msgstr "Total de equipos"

#. module: maintenance_account
#: model_terms:ir.ui.view,arch_db:maintenance_account.view_move_form
msgid "Equipment(s)"
msgstr "Equipo(s)"

#. module: maintenance_account
#: model:ir.model.fields,field_description:maintenance_account.field_account_move_line__equipment_ids
msgid "Equipments"
msgstr "Equipos"

#. module: maintenance_account
#: model:ir.model,name:maintenance_account.model_account_move
msgid "Journal Entry"
msgstr "Asiento contable"

#. module: maintenance_account
#: model:ir.model,name:maintenance_account.model_account_move_line
msgid "Journal Item"
msgstr "Apunte contable"

#. module: maintenance_account
#: model:ir.model,name:maintenance_account.model_maintenance_equipment
msgid "Maintenance Equipment"
msgstr "Equipo de mantenimiento"

#. module: maintenance_account
#: model:ir.model.fields,field_description:maintenance_account.field_maintenance_equipment__move_id
msgid "Move"
msgstr "Asiento"

#. module: maintenance_account
#: model:ir.model.fields,field_description:maintenance_account.field_maintenance_equipment__move_line_id
msgid "Move line"
msgstr "Apunte"

#~ msgid "The move of this entry line."
#~ msgstr "El movimiento de esta línea de entrada."
68 changes: 68 additions & 0 deletions maintenance_account/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * maintenance_account
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-12 17:39+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\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: maintenance_account
#: model:ir.model.fields,field_description:maintenance_account.field_account_move_line__equipment_category_id
msgid "Equipment Category"
msgstr "Categoria attrezzatura"

#. module: maintenance_account
#: model:ir.model.fields,field_description:maintenance_account.field_account_bank_statement_line__equipment_count
#: model:ir.model.fields,field_description:maintenance_account.field_account_move__equipment_count
#: model:ir.model.fields,field_description:maintenance_account.field_account_move_line__equipment_count
#: model:ir.model.fields,field_description:maintenance_account.field_account_payment__equipment_count
msgid "Equipment Count"
msgstr "Conteggio attrezzature"

#. module: maintenance_account
#: model_terms:ir.ui.view,arch_db:maintenance_account.view_move_form
msgid "Equipment(s)"
msgstr "Attrezzatura(e)"

#. module: maintenance_account
#: model:ir.model.fields,field_description:maintenance_account.field_account_move_line__equipment_ids
msgid "Equipments"
msgstr "Attrezzature"

#. module: maintenance_account
#: model:ir.model,name:maintenance_account.model_account_move
msgid "Journal Entry"
msgstr "Registrazione contabile"

#. module: maintenance_account
#: model:ir.model,name:maintenance_account.model_account_move_line
msgid "Journal Item"
msgstr "Movimento contabile"

#. module: maintenance_account
#: model:ir.model,name:maintenance_account.model_maintenance_equipment
msgid "Maintenance Equipment"
msgstr "Attrezzatura manutenzione"

#. module: maintenance_account
#: model:ir.model.fields,field_description:maintenance_account.field_maintenance_equipment__move_id
msgid "Move"
msgstr "Movimento"

#. module: maintenance_account
#: model:ir.model.fields,field_description:maintenance_account.field_maintenance_equipment__move_line_id
msgid "Move line"
msgstr "Riga movimento"

#~ msgid "The move of this entry line."
#~ msgstr "Il movimento per questa riga di registrazione."
62 changes: 62 additions & 0 deletions maintenance_account/i18n/maintenance_account.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * maintenance_account
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.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: maintenance_account
#: model:ir.model.fields,field_description:maintenance_account.field_account_move_line__equipment_category_id
msgid "Equipment Category"
msgstr ""

#. module: maintenance_account
#: model:ir.model.fields,field_description:maintenance_account.field_account_bank_statement_line__equipment_count
#: model:ir.model.fields,field_description:maintenance_account.field_account_move__equipment_count
#: model:ir.model.fields,field_description:maintenance_account.field_account_move_line__equipment_count
#: model:ir.model.fields,field_description:maintenance_account.field_account_payment__equipment_count
msgid "Equipment Count"
msgstr ""

#. module: maintenance_account
#: model_terms:ir.ui.view,arch_db:maintenance_account.view_move_form
msgid "Equipment(s)"
msgstr ""

#. module: maintenance_account
#: model:ir.model.fields,field_description:maintenance_account.field_account_move_line__equipment_ids
msgid "Equipments"
msgstr ""

#. module: maintenance_account
#: model:ir.model,name:maintenance_account.model_account_move
msgid "Journal Entry"
msgstr ""

#. module: maintenance_account
#: model:ir.model,name:maintenance_account.model_account_move_line
msgid "Journal Item"
msgstr ""

#. module: maintenance_account
#: model:ir.model,name:maintenance_account.model_maintenance_equipment
msgid "Maintenance Equipment"
msgstr ""

#. module: maintenance_account
#: model:ir.model.fields,field_description:maintenance_account.field_maintenance_equipment__move_id
msgid "Move"
msgstr ""

#. module: maintenance_account
#: model:ir.model.fields,field_description:maintenance_account.field_maintenance_equipment__move_line_id
msgid "Move line"
msgstr ""
2 changes: 2 additions & 0 deletions maintenance_account/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import account_move
from . import maintenance_equipment
Loading