diff --git a/mrp_repair_calendar_view/README.rst b/mrp_repair_calendar_view/README.rst deleted file mode 100644 index 2cdb3ae93..000000000 --- a/mrp_repair_calendar_view/README.rst +++ /dev/null @@ -1,56 +0,0 @@ -.. 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 -`_. 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 `_. - -Contributors ------------- - -* Nicola Malcontenti -* Alessio Gerace -* Alex Comba - -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. diff --git a/repair_calendar_view/README.rst b/repair_calendar_view/README.rst new file mode 100644 index 000000000..1a1abe4a9 --- /dev/null +++ b/repair_calendar_view/README.rst @@ -0,0 +1,85 @@ +==================== +Repair Calendar View +==================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmanufacture-lightgray.png?logo=github + :target: https://github.com/OCA/manufacture/tree/12.0/repair_calendar_view + :alt: OCA/manufacture +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-repair_calendar_view + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/129/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This Module adds a calendar view for the repair orders + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub 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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Agile Business Group + +Contributors +~~~~~~~~~~~~ + +* Nicola Malcontenti +* Alessio Gerace +* Alex Comba +* Carlos Jimeno +* María Asunción Daza + +Other credits +~~~~~~~~~~~~~ + +Images +------ + +* Odoo Community Association: `Icon `_. + +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. + +This module is part of the `OCA/manufacture `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/mrp_repair_calendar_view/__init__.py b/repair_calendar_view/__init__.py similarity index 84% rename from mrp_repair_calendar_view/__init__.py rename to repair_calendar_view/__init__.py index 1821b76a9..3debae779 100644 --- a/mrp_repair_calendar_view/__init__.py +++ b/repair_calendar_view/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2016 Agile Business Group # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). diff --git a/mrp_repair_calendar_view/__manifest__.py b/repair_calendar_view/__manifest__.py similarity index 73% rename from mrp_repair_calendar_view/__manifest__.py rename to repair_calendar_view/__manifest__.py index a10475a43..b0fccb03c 100644 --- a/mrp_repair_calendar_view/__manifest__.py +++ b/repair_calendar_view/__manifest__.py @@ -1,16 +1,15 @@ -# -*- 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', + 'name': 'Repair Calendar View', + 'version': '12.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'], + 'depends': ['repair'], 'data': ['views/mrp_repair_view.xml'], 'installable': True, } diff --git a/mrp_repair_calendar_view/i18n/ar.po b/repair_calendar_view/i18n/ar.po similarity index 100% rename from mrp_repair_calendar_view/i18n/ar.po rename to repair_calendar_view/i18n/ar.po diff --git a/mrp_repair_calendar_view/i18n/bs.po b/repair_calendar_view/i18n/bs.po similarity index 100% rename from mrp_repair_calendar_view/i18n/bs.po rename to repair_calendar_view/i18n/bs.po diff --git a/mrp_repair_calendar_view/i18n/ca.po b/repair_calendar_view/i18n/ca.po similarity index 100% rename from mrp_repair_calendar_view/i18n/ca.po rename to repair_calendar_view/i18n/ca.po diff --git a/mrp_repair_calendar_view/i18n/cs.po b/repair_calendar_view/i18n/cs.po similarity index 100% rename from mrp_repair_calendar_view/i18n/cs.po rename to repair_calendar_view/i18n/cs.po diff --git a/mrp_repair_calendar_view/i18n/de.po b/repair_calendar_view/i18n/de.po similarity index 100% rename from mrp_repair_calendar_view/i18n/de.po rename to repair_calendar_view/i18n/de.po diff --git a/mrp_repair_calendar_view/i18n/en_GB.po b/repair_calendar_view/i18n/en_GB.po similarity index 100% rename from mrp_repair_calendar_view/i18n/en_GB.po rename to repair_calendar_view/i18n/en_GB.po diff --git a/mrp_repair_calendar_view/i18n/es.po b/repair_calendar_view/i18n/es.po similarity index 100% rename from mrp_repair_calendar_view/i18n/es.po rename to repair_calendar_view/i18n/es.po diff --git a/mrp_repair_calendar_view/i18n/es_CR.po b/repair_calendar_view/i18n/es_CR.po similarity index 100% rename from mrp_repair_calendar_view/i18n/es_CR.po rename to repair_calendar_view/i18n/es_CR.po diff --git a/mrp_repair_calendar_view/i18n/es_EC.po b/repair_calendar_view/i18n/es_EC.po similarity index 100% rename from mrp_repair_calendar_view/i18n/es_EC.po rename to repair_calendar_view/i18n/es_EC.po diff --git a/mrp_repair_calendar_view/i18n/es_MX.po b/repair_calendar_view/i18n/es_MX.po similarity index 100% rename from mrp_repair_calendar_view/i18n/es_MX.po rename to repair_calendar_view/i18n/es_MX.po diff --git a/mrp_repair_calendar_view/i18n/es_VE.po b/repair_calendar_view/i18n/es_VE.po similarity index 100% rename from mrp_repair_calendar_view/i18n/es_VE.po rename to repair_calendar_view/i18n/es_VE.po diff --git a/mrp_repair_calendar_view/i18n/et.po b/repair_calendar_view/i18n/et.po similarity index 100% rename from mrp_repair_calendar_view/i18n/et.po rename to repair_calendar_view/i18n/et.po diff --git a/mrp_repair_calendar_view/i18n/fi.po b/repair_calendar_view/i18n/fi.po similarity index 100% rename from mrp_repair_calendar_view/i18n/fi.po rename to repair_calendar_view/i18n/fi.po diff --git a/mrp_repair_calendar_view/i18n/fr.po b/repair_calendar_view/i18n/fr.po similarity index 100% rename from mrp_repair_calendar_view/i18n/fr.po rename to repair_calendar_view/i18n/fr.po diff --git a/mrp_repair_calendar_view/i18n/gl.po b/repair_calendar_view/i18n/gl.po similarity index 100% rename from mrp_repair_calendar_view/i18n/gl.po rename to repair_calendar_view/i18n/gl.po diff --git a/mrp_repair_calendar_view/i18n/hr.po b/repair_calendar_view/i18n/hr.po similarity index 100% rename from mrp_repair_calendar_view/i18n/hr.po rename to repair_calendar_view/i18n/hr.po diff --git a/mrp_repair_calendar_view/i18n/hr_HR.po b/repair_calendar_view/i18n/hr_HR.po similarity index 100% rename from mrp_repair_calendar_view/i18n/hr_HR.po rename to repair_calendar_view/i18n/hr_HR.po diff --git a/mrp_repair_calendar_view/i18n/hu.po b/repair_calendar_view/i18n/hu.po similarity index 100% rename from mrp_repair_calendar_view/i18n/hu.po rename to repair_calendar_view/i18n/hu.po diff --git a/mrp_repair_calendar_view/i18n/id.po b/repair_calendar_view/i18n/id.po similarity index 100% rename from mrp_repair_calendar_view/i18n/id.po rename to repair_calendar_view/i18n/id.po diff --git a/mrp_repair_calendar_view/i18n/it.po b/repair_calendar_view/i18n/it.po similarity index 100% rename from mrp_repair_calendar_view/i18n/it.po rename to repair_calendar_view/i18n/it.po diff --git a/mrp_repair_calendar_view/i18n/ja.po b/repair_calendar_view/i18n/ja.po similarity index 100% rename from mrp_repair_calendar_view/i18n/ja.po rename to repair_calendar_view/i18n/ja.po diff --git a/mrp_repair_calendar_view/i18n/lt.po b/repair_calendar_view/i18n/lt.po similarity index 100% rename from mrp_repair_calendar_view/i18n/lt.po rename to repair_calendar_view/i18n/lt.po diff --git a/mrp_repair_calendar_view/i18n/lv.po b/repair_calendar_view/i18n/lv.po similarity index 100% rename from mrp_repair_calendar_view/i18n/lv.po rename to repair_calendar_view/i18n/lv.po diff --git a/mrp_repair_calendar_view/i18n/mk.po b/repair_calendar_view/i18n/mk.po similarity index 100% rename from mrp_repair_calendar_view/i18n/mk.po rename to repair_calendar_view/i18n/mk.po diff --git a/mrp_repair_calendar_view/i18n/mn.po b/repair_calendar_view/i18n/mn.po similarity index 100% rename from mrp_repair_calendar_view/i18n/mn.po rename to repair_calendar_view/i18n/mn.po diff --git a/mrp_repair_calendar_view/i18n/mrp_repair_calendar_view.pot b/repair_calendar_view/i18n/mrp_repair_calendar_view.pot similarity index 100% rename from mrp_repair_calendar_view/i18n/mrp_repair_calendar_view.pot rename to repair_calendar_view/i18n/mrp_repair_calendar_view.pot diff --git a/mrp_repair_calendar_view/i18n/nb.po b/repair_calendar_view/i18n/nb.po similarity index 100% rename from mrp_repair_calendar_view/i18n/nb.po rename to repair_calendar_view/i18n/nb.po diff --git a/mrp_repair_calendar_view/i18n/nl.po b/repair_calendar_view/i18n/nl.po similarity index 100% rename from mrp_repair_calendar_view/i18n/nl.po rename to repair_calendar_view/i18n/nl.po diff --git a/mrp_repair_calendar_view/i18n/nl_BE.po b/repair_calendar_view/i18n/nl_BE.po similarity index 100% rename from mrp_repair_calendar_view/i18n/nl_BE.po rename to repair_calendar_view/i18n/nl_BE.po diff --git a/mrp_repair_calendar_view/i18n/nl_NL.po b/repair_calendar_view/i18n/nl_NL.po similarity index 100% rename from mrp_repair_calendar_view/i18n/nl_NL.po rename to repair_calendar_view/i18n/nl_NL.po diff --git a/mrp_repair_calendar_view/i18n/pl.po b/repair_calendar_view/i18n/pl.po similarity index 100% rename from mrp_repair_calendar_view/i18n/pl.po rename to repair_calendar_view/i18n/pl.po diff --git a/mrp_repair_calendar_view/i18n/pt.po b/repair_calendar_view/i18n/pt.po similarity index 100% rename from mrp_repair_calendar_view/i18n/pt.po rename to repair_calendar_view/i18n/pt.po diff --git a/mrp_repair_calendar_view/i18n/pt_BR.po b/repair_calendar_view/i18n/pt_BR.po similarity index 100% rename from mrp_repair_calendar_view/i18n/pt_BR.po rename to repair_calendar_view/i18n/pt_BR.po diff --git a/mrp_repair_calendar_view/i18n/pt_PT.po b/repair_calendar_view/i18n/pt_PT.po similarity index 100% rename from mrp_repair_calendar_view/i18n/pt_PT.po rename to repair_calendar_view/i18n/pt_PT.po diff --git a/mrp_repair_calendar_view/i18n/ro.po b/repair_calendar_view/i18n/ro.po similarity index 100% rename from mrp_repair_calendar_view/i18n/ro.po rename to repair_calendar_view/i18n/ro.po diff --git a/mrp_repair_calendar_view/i18n/ru.po b/repair_calendar_view/i18n/ru.po similarity index 100% rename from mrp_repair_calendar_view/i18n/ru.po rename to repair_calendar_view/i18n/ru.po diff --git a/mrp_repair_calendar_view/i18n/sl.po b/repair_calendar_view/i18n/sl.po similarity index 100% rename from mrp_repair_calendar_view/i18n/sl.po rename to repair_calendar_view/i18n/sl.po diff --git a/mrp_repair_calendar_view/i18n/sr@latin.po b/repair_calendar_view/i18n/sr@latin.po similarity index 100% rename from mrp_repair_calendar_view/i18n/sr@latin.po rename to repair_calendar_view/i18n/sr@latin.po diff --git a/mrp_repair_calendar_view/i18n/sv.po b/repair_calendar_view/i18n/sv.po similarity index 100% rename from mrp_repair_calendar_view/i18n/sv.po rename to repair_calendar_view/i18n/sv.po diff --git a/mrp_repair_calendar_view/i18n/th.po b/repair_calendar_view/i18n/th.po similarity index 100% rename from mrp_repair_calendar_view/i18n/th.po rename to repair_calendar_view/i18n/th.po diff --git a/mrp_repair_calendar_view/i18n/tr.po b/repair_calendar_view/i18n/tr.po similarity index 100% rename from mrp_repair_calendar_view/i18n/tr.po rename to repair_calendar_view/i18n/tr.po diff --git a/mrp_repair_calendar_view/i18n/tr_TR.po b/repair_calendar_view/i18n/tr_TR.po similarity index 100% rename from mrp_repair_calendar_view/i18n/tr_TR.po rename to repair_calendar_view/i18n/tr_TR.po diff --git a/mrp_repair_calendar_view/i18n/vi.po b/repair_calendar_view/i18n/vi.po similarity index 100% rename from mrp_repair_calendar_view/i18n/vi.po rename to repair_calendar_view/i18n/vi.po diff --git a/mrp_repair_calendar_view/i18n/zh_CN.po b/repair_calendar_view/i18n/zh_CN.po similarity index 100% rename from mrp_repair_calendar_view/i18n/zh_CN.po rename to repair_calendar_view/i18n/zh_CN.po diff --git a/mrp_repair_calendar_view/i18n/zh_TW.po b/repair_calendar_view/i18n/zh_TW.po similarity index 100% rename from mrp_repair_calendar_view/i18n/zh_TW.po rename to repair_calendar_view/i18n/zh_TW.po diff --git a/mrp_repair_calendar_view/models/__init__.py b/repair_calendar_view/models/__init__.py similarity index 68% rename from mrp_repair_calendar_view/models/__init__.py rename to repair_calendar_view/models/__init__.py index bef547b33..00be16b90 100644 --- a/mrp_repair_calendar_view/models/__init__.py +++ b/repair_calendar_view/models/__init__.py @@ -1,6 +1,5 @@ -# -*- coding: utf-8 -*- # Copyright 2016 Agile Business Group # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -from . import mrp_repair +from . import repair diff --git a/mrp_repair_calendar_view/models/mrp_repair.py b/repair_calendar_view/models/repair.py similarity index 87% rename from mrp_repair_calendar_view/models/mrp_repair.py rename to repair_calendar_view/models/repair.py index 3ee25f06b..39f29126e 100644 --- a/mrp_repair_calendar_view/models/mrp_repair.py +++ b/repair_calendar_view/models/repair.py @@ -1,12 +1,11 @@ -# -*- 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' +class RepairOrder(models.Model): + _inherit = 'repair.order' user_id = fields.Many2one('res.users', 'User', default=lambda self: self.env.user, diff --git a/repair_calendar_view/readme/CONTRIBUTORS.rst b/repair_calendar_view/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..3d1e18274 --- /dev/null +++ b/repair_calendar_view/readme/CONTRIBUTORS.rst @@ -0,0 +1,5 @@ +* Nicola Malcontenti +* Alessio Gerace +* Alex Comba +* Carlos Jimeno +* María Asunción Daza diff --git a/repair_calendar_view/readme/CREDITS.rst b/repair_calendar_view/readme/CREDITS.rst new file mode 100644 index 000000000..9baa7efb9 --- /dev/null +++ b/repair_calendar_view/readme/CREDITS.rst @@ -0,0 +1,4 @@ +Images +------ + +* Odoo Community Association: `Icon `_. diff --git a/repair_calendar_view/readme/DESCRIPTION.rst b/repair_calendar_view/readme/DESCRIPTION.rst new file mode 100644 index 000000000..b0cd92a7c --- /dev/null +++ b/repair_calendar_view/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This Module adds a calendar view for the repair orders diff --git a/repair_calendar_view/readme/USAGE.rst b/repair_calendar_view/readme/USAGE.rst new file mode 100644 index 000000000..e69de29bb diff --git a/mrp_repair_calendar_view/static/description/icon.png b/repair_calendar_view/static/description/icon.png similarity index 100% rename from mrp_repair_calendar_view/static/description/icon.png rename to repair_calendar_view/static/description/icon.png diff --git a/repair_calendar_view/static/description/index.html b/repair_calendar_view/static/description/index.html new file mode 100644 index 000000000..ae6105caf --- /dev/null +++ b/repair_calendar_view/static/description/index.html @@ -0,0 +1,436 @@ + + + + + + +Repair Calendar View + + + +
+

Repair Calendar View

+ + +

Beta License: LGPL-3 OCA/manufacture Translate me on Weblate Try me on Runbot

+

This Module adds a calendar view for the repair orders

+

Table of contents

+ +
+

Bug Tracker

+

Bugs are tracked on GitHub 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.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Agile Business Group
  • +
+
+
+

Contributors

+ +
+
+

Other credits

+
+

Images

+
    +
  • Odoo Community Association: Icon.
  • +
+
+
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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.

+

This module is part of the OCA/manufacture project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/mrp_repair_calendar_view/views/mrp_repair_view.xml b/repair_calendar_view/views/mrp_repair_view.xml similarity index 70% rename from mrp_repair_calendar_view/views/mrp_repair_view.xml rename to repair_calendar_view/views/mrp_repair_view.xml index cb3c740cf..e229116c1 100644 --- a/mrp_repair_calendar_view/views/mrp_repair_view.xml +++ b/repair_calendar_view/views/mrp_repair_view.xml @@ -1,9 +1,9 @@ - mrp.repair.calendar.form - mrp.repair - + repair.calendar.form + repair.order + @@ -16,7 +16,7 @@ Repair Orders Calendar - mrp.repair + repair.order @@ -25,8 +25,8 @@ - - calendar,tree,form + + tree,kanban,calendar,form