diff --git a/base_repair_config/README.rst b/base_repair_config/README.rst new file mode 100644 index 000000000..7e27ef54c --- /dev/null +++ b/base_repair_config/README.rst @@ -0,0 +1,122 @@ +================== +Base Repair Config +================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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-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%2Fmanufacture-lightgray.png?logo=github + :target: https://github.com/OCA/manufacture/tree/12.0/base_repair_config + :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_config + :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 provides an empty general settings section for the repair +configuration. + +This is a technical module and it doesn't provide any new functionality. +Extend this module to add general settings related to the repair app. + +When extending the general settings view, here is an example of how the code +would look like: + +.. code:: xml + + + res.config.settings + + + +
+
+
+
+
+
+
+ +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +To use this module, you need to: + +#. Go to *Repair > Configuration > General Settings*. + +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 +~~~~~~~ + +* Escodoo + +Contributors +~~~~~~~~~~~~ + +* Marcel Savegnago + +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-marcelsavegnago| image:: https://github.com/marcelsavegnago.png?size=40px + :target: https://github.com/marcelsavegnago + :alt: marcelsavegnago + +Current `maintainer `__: + +|maintainer-marcelsavegnago| + +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_config/__init__.py b/base_repair_config/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/base_repair_config/__manifest__.py b/base_repair_config/__manifest__.py new file mode 100644 index 000000000..3ee4e2953 --- /dev/null +++ b/base_repair_config/__manifest__.py @@ -0,0 +1,20 @@ +# Copyright 2021 - TODAY, Escodoo +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + 'name': 'Base Repair Config', + 'summary': """ + Provides general settings for the Maintenance App""", + 'version': '12.0.1.0.0', + 'license': 'AGPL-3', + 'author': 'Escodoo,Odoo Community Association (OCA)', + 'maintainers': ['marcelsavegnago'], + 'images': ['static/description/banner.png'], + 'website': 'https://github.com/oca/manufacture', + 'depends': [ + 'repair', + ], + 'data': [ + 'views/res_config_settings.xml', + ] +} diff --git a/base_repair_config/i18n/base_repair_config.pot b/base_repair_config/i18n/base_repair_config.pot new file mode 100644 index 000000000..105c9ce97 --- /dev/null +++ b/base_repair_config/i18n/base_repair_config.pot @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_repair_config +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-02-03 02:04+0000\n" +"PO-Revision-Date: 2021-02-03 02:04+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: base_repair_config +#: model:ir.ui.menu,name:base_repair_config.menu_repair_configuration +msgid "Configuration" +msgstr "" + +#. module: base_repair_config +#: model_terms:ir.ui.view,arch_db:base_repair_config.res_config_settings_view_form +msgid "Configure Repair" +msgstr "" + +#. module: base_repair_config +#: model:ir.actions.act_window,name:base_repair_config.action_repair_config_settings +#: model:ir.ui.menu,name:base_repair_config.menu_repair_config_settings +msgid "General Settings" +msgstr "" + +#. module: base_repair_config +#: model_terms:ir.ui.view,arch_db:base_repair_config.res_config_settings_view_form +msgid "Repair" +msgstr "" + diff --git a/base_repair_config/i18n/pt_BR.po b/base_repair_config/i18n/pt_BR.po new file mode 100644 index 000000000..cb02e6c2b --- /dev/null +++ b/base_repair_config/i18n/pt_BR.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_repair_config +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-02-03 02:04+0000\n" +"PO-Revision-Date: 2021-02-02 23:05-0300\n" +"Language-Team: \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 \n" +"Language: pt_BR\n" + +#. module: base_repair_config +#: model:ir.ui.menu,name:base_repair_config.menu_repair_configuration +msgid "Configuration" +msgstr "Configuração" + +#. module: base_repair_config +#: model_terms:ir.ui.view,arch_db:base_repair_config.res_config_settings_view_form +msgid "Configure Repair" +msgstr "Configurar Reparo" + +#. module: base_repair_config +#: model:ir.actions.act_window,name:base_repair_config.action_repair_config_settings +#: model:ir.ui.menu,name:base_repair_config.menu_repair_config_settings +msgid "General Settings" +msgstr "Configurações Gerais" + +#. module: base_repair_config +#: model_terms:ir.ui.view,arch_db:base_repair_config.res_config_settings_view_form +msgid "Repair" +msgstr "Reparar" diff --git a/base_repair_config/readme/CONFIGURE.rst b/base_repair_config/readme/CONFIGURE.rst new file mode 100644 index 000000000..e69de29bb diff --git a/base_repair_config/readme/CONTRIBUTORS.rst b/base_repair_config/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..61f9287b3 --- /dev/null +++ b/base_repair_config/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Marcel Savegnago diff --git a/base_repair_config/readme/DESCRIPTION.rst b/base_repair_config/readme/DESCRIPTION.rst new file mode 100644 index 000000000..b26dae464 --- /dev/null +++ b/base_repair_config/readme/DESCRIPTION.rst @@ -0,0 +1,35 @@ +This module provides an empty general settings section for the repair +configuration. + +This is a technical module and it doesn't provide any new functionality. +Extend this module to add general settings related to the repair app. + +When extending the general settings view, here is an example of how the code +would look like: + +.. code:: xml + + + res.config.settings + + + +
+
+
+
+
+
+
diff --git a/base_repair_config/readme/USAGE.rst b/base_repair_config/readme/USAGE.rst new file mode 100644 index 000000000..0b8926ee8 --- /dev/null +++ b/base_repair_config/readme/USAGE.rst @@ -0,0 +1,3 @@ +To use this module, you need to: + +#. Go to *Repair > Configuration > General Settings*. diff --git a/base_repair_config/static/description/banner.png b/base_repair_config/static/description/banner.png new file mode 100644 index 000000000..da4f6de2a Binary files /dev/null and b/base_repair_config/static/description/banner.png differ diff --git a/base_repair_config/static/description/icon.png b/base_repair_config/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/base_repair_config/static/description/icon.png differ diff --git a/base_repair_config/static/description/index.html b/base_repair_config/static/description/index.html new file mode 100644 index 000000000..40e68f2ec --- /dev/null +++ b/base_repair_config/static/description/index.html @@ -0,0 +1,460 @@ + + + + + + +Base Repair Config + + + +
+

Base Repair Config

+ + +

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

+

This module provides an empty general settings section for the repair +configuration.

+

This is a technical module and it doesn’t provide any new functionality. +Extend this module to add general settings related to the repair app.

+

When extending the general settings view, here is an example of how the code +would look like:

+
+<record id="res_config_settings_view_form" model="ir.ui.view">
+    <field name="model">res.config.settings</field>
+    <field name="inherit_id" ref="base_repair_config.res_config_settings_view_form"/>
+    <field name="arch" type="xml">
+        <xpath expr="//div[@id='configure_repair']" position="after">
+            <div class="col-xs-12 col-md-6 o_setting_box">
+                <div class="o_setting_right_pane">
+                    <label for="new_field_name"/>
+                    <span class="fa fa-lg fa-building-o" title="Values set here are company-specific." groups="base.group_multi_company"/>
+                    <div class="row">
+                        <div class="text-muted col-md-8">
+                            Set some configuration data for this field ...
+                        </div>
+                    </div>
+                    <div class="content-group">
+                        <div class="mt16">
+                            <field name="new_field_name" class="o_light_label"/>
+                        </div>
+                    </div>
+                </div>
+            </div>
+        </xpath>
+    </field>
+</record>
+
+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
    +
  1. Go to Repair > Configuration > General Settings.
  2. +
+
+
+

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

+
    +
  • Escodoo
  • +
+
+
+

Contributors

+ +
+
+

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.

+

Current maintainer:

+

marcelsavegnago

+

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_config/views/res_config_settings.xml b/base_repair_config/views/res_config_settings.xml new file mode 100644 index 000000000..566286388 --- /dev/null +++ b/base_repair_config/views/res_config_settings.xml @@ -0,0 +1,46 @@ + + + + + + + res.config.settings + + + +
+

Repair

+
+
+
+
+
+
+ + + General Settings + ir.actions.act_window + res.config.settings + form + inline + {'module' : 'repair'} + + + + + + +