-
-
Notifications
You must be signed in to change notification settings - Fork 504
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIGR] mrp_calendar_view: migrate it to v10.0 and rename it to mrp_re…
…pair_calendar_view
- Loading branch information
Showing
13 changed files
with
150 additions
and
144 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
.. image:: https://img.shields.io/badge/licence-LGPL--3-blue.svg | ||
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html | ||
:alt: License: LGPL-3 | ||
|
||
================= | ||
MRP Calendar View | ||
================= | ||
|
||
This Module adds a calendar view for the repair orders | ||
|
||
Usage | ||
===== | ||
|
||
|
||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas | ||
:alt: Try me on Runbot | ||
:target: https://runbot.odoo-community.org/runbot/129/10.0 | ||
|
||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues | ||
<https://github.com/OCA/manufacture/issues>`_. In case of trouble, please | ||
check there if your issue has already been reported. If you spotted it first, | ||
help us smashing it by providing a detailed and welcomed feedback. | ||
|
||
Credits | ||
======= | ||
|
||
Images | ||
------ | ||
|
||
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_. | ||
|
||
Contributors | ||
------------ | ||
|
||
* Nicola Malcontenti <nicola.malcontenti@agilebg.com> | ||
* Alessio Gerace <alessio.gerace@agilebg.com> | ||
* Alex Comba <alex.comba@agilebg.com> | ||
|
||
Maintainer | ||
---------- | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
This module is maintained by the OCA. | ||
|
||
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. | ||
|
||
To contribute to this module, please visit https://odoo-community.org. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2016 Agile Business Group | ||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). | ||
|
||
|
||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2016 Agile Business Group | ||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). | ||
|
||
|
||
{ | ||
'name': 'MRP Repair Calendar View', | ||
'version': '10.0.1.0.0', | ||
'category': 'Manufacturing', | ||
'author': "Agile Business Group, Odoo Community Association (OCA)", | ||
'website': 'http://www.agilebg.com', | ||
'license': 'LGPL-3', | ||
'depends': ['mrp_repair'], | ||
'data': ['views/mrp_repair_view.xml'], | ||
'installable': True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * mrp_repair_calendar_view | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 10.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2017-04-07 08:27+0000\n" | ||
"PO-Revision-Date: 2017-04-07 08:27+0000\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: mrp_repair_calendar_view | ||
#: model:ir.model.fields,help:mrp_repair_calendar_view.field_mrp_repair_date_repair | ||
msgid "Date of the repair, this field and user_id defines the calendar" | ||
msgstr "Data della riparazione, questo campo e user_id definiscono il calendario" | ||
|
||
#. module: mrp_repair_calendar_view | ||
#: model:ir.model.fields,help:mrp_repair_calendar_view.field_mrp_repair_user_id | ||
msgid "Person in charge for the repair" | ||
msgstr "Persona responsabile della riparazione" | ||
|
||
#. module: mrp_repair_calendar_view | ||
#: model:ir.model.fields,field_description:mrp_repair_calendar_view.field_mrp_repair_date_repair | ||
msgid "Repair Date" | ||
msgstr "Data riparazione" | ||
|
||
#. module: mrp_repair_calendar_view | ||
#: model:ir.model,name:mrp_repair_calendar_view.model_mrp_repair | ||
msgid "Repair Order" | ||
msgstr "Ordine di riparazione" | ||
|
||
#. module: mrp_repair_calendar_view | ||
#: model:ir.ui.view,arch_db:mrp_repair_calendar_view.view_repair_order_calendar | ||
msgid "Repair Orders Calendar" | ||
msgstr "Calendario ordini di riparazione" | ||
|
||
#. module: mrp_repair_calendar_view | ||
#: model:ir.model.fields,field_description:mrp_repair_calendar_view.field_mrp_repair_user_id | ||
msgid "Responsible" | ||
msgstr "Responsabile" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2016 Agile Business Group | ||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). | ||
|
||
|
||
from . import mrp_repair |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2016 Agile Business Group | ||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). | ||
|
||
from odoo import fields, models | ||
|
||
|
||
class mrp_repair(models.Model): | ||
_inherit = 'mrp.repair' | ||
|
||
user_id = fields.Many2one('res.users', 'User', | ||
default=lambda self: self.env.user, | ||
help="Person in charge for the repair") | ||
date_repair = fields.Datetime('Repair Date', default=fields.Datetime.now, | ||
copy=False, | ||
help="Date of the repair, this field " | ||
"and user_id defines the calendar") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters