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
108 changes: 108 additions & 0 deletions repair_order_template/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=====================
Repair Order Template
=====================

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

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

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

Create and use templates to save time when creating repair orders. With
them, you can pre-fill the repair order fields and spare parts.

**Table of contents**

.. contents::
:local:

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

Go to **Repairs > Configuration > Repair Orders Templates** to create
and manage your templates.

Usage
=====

On a *draft* Repair Order, choose a template to automatically fill some
fields and spare parts, according to the template.

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

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

* Camptocamp

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

- `Camptocamp <https://camptocamp.com/>`__:

- Iván Todorovich <ivan.todorovich@camptocamp.com>
- Italo Lopes <italo.lopes@camptocamp.com>

- `Time for Dev <https://timefordev.com>`__:

- Andrius Laukavičius <andrius@timefordev.com>

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-ivantodorovich| image:: https://github.com/ivantodorovich.png?size=40px
:target: https://github.com/ivantodorovich
:alt: ivantodorovich

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

|maintainer-ivantodorovich|

This module is part of the `OCA/repair <https://github.com/OCA/repair/tree/19.0/repair_order_template>`_ 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 repair_order_template/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
23 changes: 23 additions & 0 deletions repair_order_template/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2024 Camptocamp SA (https://www.camptocamp.com).
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Repair Order Template",
"summary": "Use templates to save time when creating repair orders",
"version": "19.0.1.0.0",
"author": "Camptocamp, Odoo Community Association (OCA)",
"maintainers": ["ivantodorovich"],
"website": "https://github.com/OCA/repair",
"license": "AGPL-3",
"category": "Repair",
"depends": ["repair"],
"data": [
"security/security.xml",
"security/ir.model.access.csv",
"views/repair_order_template.xml",
"views/repair_order.xml",
],
"demo": [
"demo/repair_order_template.xml",
],
}
30 changes: 30 additions & 0 deletions repair_order_template/demo/repair_order_template.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2024 Camptocamp SA (https://www.camptocamp.com).
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
-->
<odoo>
<record id="repair_order_template_demo" model="repair.order.template">
<field name="name">General Repair</field>
</record>

<record id="repair_order_template_demo__line_1" model="repair.order.template.line">
<field
name="template_id"
ref="repair_order_template.repair_order_template_demo"
/>
<field name="type">add</field>
<field name="product_id" ref="product.product_product_3" />
<field name="product_uom" ref="uom.product_uom_unit" />
</record>

<record id="repair_order_template_demo__line_2" model="repair.order.template.line">
<field
name="template_id"
ref="repair_order_template.repair_order_template_demo"
/>
<field name="type">add</field>
<field name="product_id" ref="product.product_product_4" />
<field name="product_uom" ref="uom.product_uom_unit" />
</record>
</odoo>
221 changes: 221 additions & 0 deletions repair_order_template/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,221 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * repair_order_template
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-12-06 19:06+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 5.6.2\n"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template__active
msgid "Active"
msgstr "Attivo"

#. module: repair_order_template
#: model_terms:ir.ui.view,arch_db:repair_order_template.view_repair_order_template_form
msgid "Add internal notes."
msgstr "Aggiungi note interne."

#. module: repair_order_template
#: model_terms:ir.ui.view,arch_db:repair_order_template.view_repair_order_template_form
#: model_terms:ir.ui.view,arch_db:repair_order_template.view_repair_order_template_search
msgid "Archived"
msgstr "In archivio"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template_line__product_uom_category_id
msgid "Category"
msgstr "Categoria"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template__company_id
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template_line__company_id
#: model_terms:ir.ui.view,arch_db:repair_order_template.view_repair_order_template_search
msgid "Company"
msgstr "Azienda"

#. module: repair_order_template
#: model:ir.model.fields,help:repair_order_template.field_repair_order_template_line__product_uom_category_id
msgid ""
"Conversion between Units of Measure can only occur if they belong to the "
"same category. The conversion will be made based on the ratios."
msgstr ""
"Le conversioni tra unità di misura possono avvenire solo se appartengono "
"alla stessa categoria. La conversione verrà effettuata in base alle "
"proporzioni."

#. module: repair_order_template
#: model_terms:ir.actions.act_window,help:repair_order_template.action_repair_order_template
msgid "Create your Repair Order template"
msgstr "Creare il proprio modello ordine di riparazione"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template__create_uid
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template_line__create_uid
msgid "Created by"
msgstr "Creato da"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template__create_date
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template_line__create_date
msgid "Created on"
msgstr "Creato il"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template__display_name
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template_line__display_name
msgid "Display Name"
msgstr "Nome visualizzato"

#. module: repair_order_template
#: model:repair.order.template,name:repair_order_template.repair_order_template_demo
msgid "General Repair"
msgstr "Riparazione generale"

#. module: repair_order_template
#: model_terms:ir.ui.view,arch_db:repair_order_template.view_repair_order_template_search
msgid "Group By"
msgstr "Raggruppa per"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template__id
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template_line__id
msgid "ID"
msgstr "ID"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template__internal_notes
msgid "Internal Notes"
msgstr "Note interne"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template__write_uid
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template_line__write_uid
msgid "Last Updated by"
msgstr "Ultimo aggiornamento di"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template__write_date
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template_line__write_date
msgid "Last Updated on"
msgstr "Ultimo aggiornamento il"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template__line_ids
msgid "Line"
msgstr "Riga"

#. module: repair_order_template
#: model_terms:ir.ui.view,arch_db:repair_order_template.view_repair_order_template_form
msgid "Lines"
msgstr "Righe"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template__name
msgid "Name"
msgstr "Nome"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order__repair_order_template_id
msgid "Order Template"
msgstr "Modello ordine"

#. module: repair_order_template
#. odoo-python
#: code:addons/repair_order_template/models/repair_order.py:0
#, python-format
msgid "Order Template can only be set on draft orders"
msgstr "Il modello ordine può essere impostato solo su ordini in bozza"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template_line__product_id
msgid "Product"
msgstr "Prodotto"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template__product_id
msgid "Product to Repair"
msgstr "Prodotto da riparare"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template_line__product_uom_qty
msgid "Quantity"
msgstr "Quantità"

#. module: repair_order_template
#: model_terms:ir.ui.view,arch_db:repair_order_template.view_repair_order_template_form
msgid "Repair Notes"
msgstr "Note di riparazione"

#. module: repair_order_template
#: model:ir.model,name:repair_order_template.model_repair_order
msgid "Repair Order"
msgstr "Ordine di riparazione"

#. module: repair_order_template
#: model:ir.model,name:repair_order_template.model_repair_order_template
msgid "Repair Order Template"
msgstr "Modello ordine di riparazione"

#. module: repair_order_template
#: model:ir.model,name:repair_order_template.model_repair_order_template_line
msgid "Repair Order Template Line"
msgstr "Riga modello ordine di riparazione"

#. module: repair_order_template
#: model:ir.actions.act_window,name:repair_order_template.action_repair_order_template
msgid "Repair Order Templates"
msgstr "Modelli ordine di riparazione"

#. module: repair_order_template
#: model:ir.ui.menu,name:repair_order_template.menu_repair_order_template
msgid "Repair Orders Templates"
msgstr "Modelli ordini di riparazione"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template__tag_ids
msgid "Tags"
msgstr "Etichette"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template_line__template_id
msgid "Template"
msgstr "Modello"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template_line__type
msgid "Type"
msgstr "Tipo"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template__under_warranty
msgid "Under Warranty"
msgstr "In garanzia"

#. module: repair_order_template
#: model:ir.model.fields,field_description:repair_order_template.field_repair_order_template_line__product_uom
msgid "Unit of Measure"
msgstr "Unità di misura"

#. module: repair_order_template
#: model:ir.model.fields,help:repair_order_template.field_repair_order__repair_order_template_id
#: model_terms:ir.actions.act_window,help:repair_order_template.action_repair_order_template
msgid "Use templates to save time when creating repair orders."
msgstr ""
"Utilizza i modelli per risparmiare tempo durante la creazione degli ordini "
"di riparazione."

#. module: repair_order_template
#: model_terms:ir.ui.view,arch_db:repair_order_template.view_repair_order_template_form
msgid "e.g. General repair"
msgstr "es. riparazione generale"
Loading
Loading