diff --git a/base_repair/README.rst b/base_repair/README.rst index a2bdb915b..891b29513 100644 --- a/base_repair/README.rst +++ b/base_repair/README.rst @@ -14,13 +14,13 @@ Base Repair :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmanufacture-lightgray.png?logo=github - :target: https://github.com/OCA/manufacture/tree/12.0/base_repair + :target: https://github.com/OCA/manufacture/tree/13.0/base_repair :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-base_repair + :target: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-base_repair :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 + :target: https://runbot.odoo-community.org/runbot/129/13.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -47,7 +47,7 @@ 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -99,6 +99,6 @@ Current `maintainer `__: |maintainer-marcelsavegnago| -This module is part of the `OCA/manufacture `_ project on GitHub. +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/base_repair/__manifest__.py b/base_repair/__manifest__.py index 0a909744c..b5050e483 100644 --- a/base_repair/__manifest__.py +++ b/base_repair/__manifest__.py @@ -2,22 +2,18 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { - 'name': 'Base Repair', - 'summary': """ + "name": "Base Repair", + "summary": """ This module extends the functionality of Odoo Repair module to add some basic features.""", - 'version': '12.0.1.0.0', - 'license': 'AGPL-3', - 'author': 'Escodoo, Agile Business Group, Odoo Community Association (OCA)', - 'maintainers': ['marcelsavegnago'], - 'images': ['static/description/banner.png'], - 'website': 'https://github.com/oca/manufacture', - 'category': 'Manufacturing', - 'depends': [ - 'repair', - ], - 'data': [ - 'views/repair_order.xml', - ], - 'installable': True, + "version": "13.0.1.0.0", + "license": "AGPL-3", + "author": "Escodoo, Agile Business Group, Odoo Community Association (OCA)", + "maintainers": ["marcelsavegnago"], + "images": ["static/description/banner.png"], + "website": "https://github.com/oca/manufacture", + "category": "Manufacturing", + "depends": ["repair"], + "data": ["views/repair_order.xml"], + "installable": True, } diff --git a/base_repair/i18n/base_repair.pot b/base_repair/i18n/base_repair.pot index c8edd1dc9..3ce9c1d36 100644 --- a/base_repair/i18n/base_repair.pot +++ b/base_repair/i18n/base_repair.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" diff --git a/base_repair/i18n/pt_BR.po b/base_repair/i18n/pt_BR.po index 36579bfaf..7266bd836 100644 --- a/base_repair/i18n/pt_BR.po +++ b/base_repair/i18n/pt_BR.po @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.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" diff --git a/base_repair/models/repair_order.py b/base_repair/models/repair_order.py index b7c65cae9..6e5b69baa 100644 --- a/base_repair/models/repair_order.py +++ b/base_repair/models/repair_order.py @@ -6,19 +6,20 @@ from odoo import fields, models class RepairOrder(models.Model): - _inherit = 'repair.order' + _inherit = "repair.order" user_id = fields.Many2one( - 'res.users', 'User', + "res.users", + "User", default=lambda self: self.env.user, - help="Person in charge for the repair") + help="Person in charge for the repair", + ) date_repair = fields.Datetime( - 'Repair Date', default=fields.Datetime.now, + "Repair Date", + default=fields.Datetime.now, copy=False, - help="Date of the repair, this field " - "and user_id defines the calendar") + help="Date of the repair, this field " "and user_id defines the calendar", + ) - duration = fields.Float( - 'Repair Duration', - help="Duration in hours and minutes.") + duration = fields.Float("Repair Duration", help="Duration in hours and minutes.") diff --git a/base_repair/static/description/index.html b/base_repair/static/description/index.html index a8b2870f1..79c7248d6 100644 --- a/base_repair/static/description/index.html +++ b/base_repair/static/description/index.html @@ -3,13 +3,13 @@ - + Base Repair