Merge PR #602 into 12.0

Signed-off-by dreispt
This commit is contained in:
OCA-git-bot
2021-02-24 15:17:22 +00:00
6 changed files with 88 additions and 33 deletions

View File

@@ -35,6 +35,8 @@ This module extends the functionality of Odoo Repair module to add some basic fe
* Includes grouping by Repair Date
* Implements Calendar view
* Implements PivotTable view
* Implements Graph view
* Includes Reporting menu
**Table of contents**

View File

@@ -6,6 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-02-19 19:46+0000\n"
"PO-Revision-Date: 2021-02-19 19:46+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -28,6 +30,11 @@ msgstr ""
msgid "Person in charge for the repair"
msgstr ""
#. module: base_repair
#: model:ir.actions.act_window,name:base_repair.action_repair_order_report
msgid "Repair Analysis"
msgstr ""
#. module: base_repair
#: model:ir.model.fields,field_description:base_repair.field_repair_order__date_repair
#: model_terms:ir.ui.view,arch_db:base_repair.view_repair_order_search
@@ -45,6 +52,7 @@ msgid "Repair Order"
msgstr ""
#. module: base_repair
#: model_terms:ir.ui.view,arch_db:base_repair.view_repair_order_graph
#: model_terms:ir.ui.view,arch_db:base_repair.view_repair_order_pivot
msgid "Repair Orders"
msgstr ""
@@ -54,6 +62,16 @@ msgstr ""
msgid "Repair Orders Calendar"
msgstr ""
#. module: base_repair
#: model:ir.ui.menu,name:base_repair.repair_menu
msgid "Repairs"
msgstr ""
#. module: base_repair
#: model:ir.ui.menu,name:base_repair.repair_menu_reporting
msgid "Reporting"
msgstr ""
#. module: base_repair
#: model_terms:ir.ui.view,arch_db:base_repair.view_repair_order_search
msgid "Responsible User"

View File

@@ -6,16 +6,16 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-02-03 07:04+0000\n"
"PO-Revision-Date: 2021-02-03 04:04-0300\n"
"POT-Creation-Date: 2021-02-19 19:46+0000\n"
"PO-Revision-Date: 2021-02-19 16:47-0300\n"
"Last-Translator: Marcel Savegnago <marcel.savegnago@gmail.com>\n"
"Language-Team: \n"
"Language: pt_BR\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: Poedit 2.4.1\n"
"Last-Translator: Marcel Savegnago <marcel.savegnago@gmail.com>\n"
"Language: pt_BR\n"
#. module: base_repair
#: model:ir.model.fields,help:base_repair.field_repair_order__date_repair
@@ -32,6 +32,11 @@ msgstr "Duração em horas e minutos."
msgid "Person in charge for the repair"
msgstr "Responsável pelo reparo"
#. module: base_repair
#: model:ir.actions.act_window,name:base_repair.action_repair_order_report
msgid "Repair Analysis"
msgstr "Análise de Reparo"
#. module: base_repair
#: model:ir.model.fields,field_description:base_repair.field_repair_order__date_repair
#: model_terms:ir.ui.view,arch_db:base_repair.view_repair_order_search
@@ -49,6 +54,7 @@ msgid "Repair Order"
msgstr "Ordem de Reparo"
#. module: base_repair
#: model_terms:ir.ui.view,arch_db:base_repair.view_repair_order_graph
#: model_terms:ir.ui.view,arch_db:base_repair.view_repair_order_pivot
msgid "Repair Orders"
msgstr "Ordens de Reparo"
@@ -59,7 +65,21 @@ msgid "Repair Orders Calendar"
msgstr "Calendário de Pedidos de Reparo"
#. module: base_repair
#: model:ir.model.fields,field_description:base_repair.field_repair_order__user_id
#: model:ir.ui.menu,name:base_repair.repair_menu
msgid "Repairs"
msgstr "Reparações"
#. module: base_repair
#: model:ir.ui.menu,name:base_repair.repair_menu_reporting
msgid "Reporting"
msgstr "Relatórios"
#. module: base_repair
#: model_terms:ir.ui.view,arch_db:base_repair.view_repair_order_search
msgid "Responsible User"
msgstr "Usuário Responsável"
#. module: base_repair
#: model:ir.model.fields,field_description:base_repair.field_repair_order__user_id
msgid "User"
msgstr "Usuário"

View File

@@ -8,3 +8,5 @@ This module extends the functionality of Odoo Repair module to add some basic fe
* Includes grouping by Repair Date
* Implements Calendar view
* Implements PivotTable view
* Implements Graph view
* Includes Reporting menu

View File

@@ -3,13 +3,13 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils: http://docutils.sourceforge.net/" />
<title>Base Repair</title>
<style type="text/css">
/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
:Id: $Id: html4css1.css 7614 2013-02-21 15:55:51Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
@@ -37,14 +37,6 @@ table.borderless td, table.borderless th {
.hidden {
display: none }
.subscript {
vertical-align: sub;
font-size: smaller }
.superscript {
vertical-align: super;
font-size: smaller }
a.toc-backref {
text-decoration: none ;
color: black }
@@ -169,12 +161,12 @@ h2.subtitle {
hr.docutils {
width: 75% }
img.align-left, .figure.align-left, object.align-left, table.align-left {
img.align-left, .figure.align-left, object.align-left {
clear: left ;
float: left ;
margin-right: 1em }
img.align-right, .figure.align-right, object.align-right, table.align-right {
img.align-right, .figure.align-right, object.align-right {
clear: right ;
float: right ;
margin-left: 1em }
@@ -185,11 +177,6 @@ img.align-center, .figure.align-center, object.align-center {
margin-right: auto;
}
table.align-center {
margin-left: auto;
margin-right: auto;
}
.align-left {
text-align: left }
@@ -207,15 +194,6 @@ div.align-right {
/* div.align-center * { */
/* text-align: left } */
.align-top {
vertical-align: top }
.align-middle {
vertical-align: middle }
.align-bottom {
vertical-align: bottom }
ol.simple, ul.simple {
margin-bottom: 1em }
@@ -378,6 +356,8 @@ ul.auto-toc {
<li>Includes grouping by Repair Date</li>
<li>Implements Calendar view</li>
<li>Implements PivotTable view</li>
<li>Implements Graph view</li>
<li>Includes Reporting menu</li>
</ul>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">

View File

@@ -40,6 +40,17 @@
</field>
</record>
<record id="view_repair_order_graph" model="ir.ui.view">
<field name="name">repair.order.graph (in base_repair)</field>
<field name="model">repair.order</field>
<field name="arch" type="xml">
<graph string="Repair Orders">
<field name="create_date"/>
<field name="product_id"/>
</graph>
</field>
</record>
<record id="view_repair_order_pivot" model="ir.ui.view">
<field name="name">repair.order.pivot (in base_repair)</field>
<field name="model">repair.order</field>
@@ -64,8 +75,30 @@
</field>
</record>
<record id="repair.action_repair_order_tree" model="ir.actions.act_window">
<field name="view_mode">tree,kanban,pivot,calendar,form</field>
<record id="action_repair_order_report" model="ir.actions.act_window">
<field name="name">Repair Analysis</field>
<field name="res_model">repair.order</field>
<field name="view_type">form</field>
<field name="view_mode">graph,pivot,calendar,form</field>
<field name="context">{
'search_default_product': 1,
'search_default_createDate': 1
}</field>
</record>
<record id="action_window_repair_order_graph" model="ir.actions.act_window.view">
<field name="sequence" eval="1"/>
<field name="view_mode">graph</field>
<field name="view_id" ref="view_repair_order_graph"/>
<field name="act_window_id" ref="action_repair_order_report"/>
</record>
<record id="repair.action_repair_order_tree" model="ir.actions.act_window">
<field name="view_mode">tree,kanban,graph,pivot,calendar,form</field>
</record>
<menuitem id="repair_menu_reporting" name="Reporting" parent="repair.menu_repair_order" groups="stock.group_stock_user"/>
<menuitem id="repair_menu" name="Repairs" parent="repair_menu_reporting" action="action_repair_order_report"/>
</odoo>