diff --git a/fleet_vehicle_usage/README.rst b/fleet_vehicle_usage/README.rst new file mode 100644 index 00000000..911c1d22 --- /dev/null +++ b/fleet_vehicle_usage/README.rst @@ -0,0 +1,90 @@ +=================== +Fleet Vehicle Usage +=================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:85114223f558913640aa0d6f2a8b901e47cdf5b1c3bbda790c07e92dba8f8d79 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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%2Ffleet-lightgray.png?logo=github + :target: https://github.com/OCA/fleet/tree/17.0/fleet_vehicle_usage + :alt: OCA/fleet +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/fleet-17-0/fleet-17-0-fleet_vehicle_usage + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/fleet&target_branch=17.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module allows to record usages of fleet vehicles by employees, with +their dates, states and comments. + +**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 to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* César Fernández +* Tecnativa + +Contributors +------------ + +- César Fernández Domínguez +- `Tecnativa `__: + + - Víctor Martínez + - Pedro M. Baeza + +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-victoralmau| image:: https://github.com/victoralmau.png?size=40px + :target: https://github.com/victoralmau + :alt: victoralmau + +Current `maintainer `__: + +|maintainer-victoralmau| + +This module is part of the `OCA/fleet `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/fleet_vehicle_usage/__init__.py b/fleet_vehicle_usage/__init__.py new file mode 100644 index 00000000..0650744f --- /dev/null +++ b/fleet_vehicle_usage/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/fleet_vehicle_usage/__manifest__.py b/fleet_vehicle_usage/__manifest__.py new file mode 100644 index 00000000..8ccca64b --- /dev/null +++ b/fleet_vehicle_usage/__manifest__.py @@ -0,0 +1,21 @@ +# Copyright 2021 César Fernández Domínguez +# Copyright 2024 Tecnativa - Víctor Martínez +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +{ + "name": "Fleet Vehicle Usage", + "version": "17.0.1.0.0", + "category": "Human Resources/Fleet", + "website": "https://github.com/OCA/fleet", + "author": "César Fernández, Tecnativa, Odoo Community Association (OCA)", + "license": "AGPL-3", + "depends": ["fleet"], + "installable": True, + "data": [ + "security/ir.model.access.csv", + "security/security.xml", + "data/ir_sequence_data.xml", + "views/fleet_vehicle_usage_view.xml", + "views/fleet_vehicle_view.xml", + ], + "maintainers": ["victoralmau"], +} diff --git a/fleet_vehicle_usage/data/ir_sequence_data.xml b/fleet_vehicle_usage/data/ir_sequence_data.xml new file mode 100644 index 00000000..3e493822 --- /dev/null +++ b/fleet_vehicle_usage/data/ir_sequence_data.xml @@ -0,0 +1,12 @@ + + + + Fleet Vehicle Usage + fleet.vehicle.usage + FU/ + 5 + 1 + 1 + + + diff --git a/fleet_vehicle_usage/i18n/es.po b/fleet_vehicle_usage/i18n/es.po new file mode 100644 index 00000000..363b8258 --- /dev/null +++ b/fleet_vehicle_usage/i18n/es.po @@ -0,0 +1,410 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * fleet_vehicle_usage +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-02-26 08:22+0000\n" +"PO-Revision-Date: 2024-03-25 20:37+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: \n" +"Language: es\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: Weblate 4.17\n" + +#. module: fleet_vehicle_usage +#: model_terms:ir.ui.view,arch_db:fleet_vehicle_usage.fleet_vehicle_view_form +#: model_terms:ir.ui.view,arch_db:fleet_vehicle_usage.fleet_vehicle_view_kanban +msgid "" +" 1: + raise UserError( + _("Every vehicle can only be picked once at the same time!") + ) + for driver in self.mapped("user_id"): + domain = [("user_id", "=", driver.id), ("state", "=", "in_use")] + if self.search_count(domain) > 1: + raise UserError(_("Every driver can only drive a vehicle at once!")) diff --git a/fleet_vehicle_usage/pyproject.toml b/fleet_vehicle_usage/pyproject.toml new file mode 100644 index 00000000..4231d0cc --- /dev/null +++ b/fleet_vehicle_usage/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/fleet_vehicle_usage/readme/CONTRIBUTORS.md b/fleet_vehicle_usage/readme/CONTRIBUTORS.md new file mode 100644 index 00000000..4d8764ff --- /dev/null +++ b/fleet_vehicle_usage/readme/CONTRIBUTORS.md @@ -0,0 +1,4 @@ +- César Fernández Domínguez +- [Tecnativa](https://www.tecnativa.com): + - Víctor Martínez + - Pedro M. Baeza diff --git a/fleet_vehicle_usage/readme/DESCRIPTION.md b/fleet_vehicle_usage/readme/DESCRIPTION.md new file mode 100644 index 00000000..9b5a3db4 --- /dev/null +++ b/fleet_vehicle_usage/readme/DESCRIPTION.md @@ -0,0 +1,2 @@ +This module allows to record usages of fleet vehicles by employees, with +their dates, states and comments. diff --git a/fleet_vehicle_usage/security/ir.model.access.csv b/fleet_vehicle_usage/security/ir.model.access.csv new file mode 100644 index 00000000..8048fb66 --- /dev/null +++ b/fleet_vehicle_usage/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_fleet_vehicle_usage,fleet.vehicle.usage,model_fleet_vehicle_usage,fleet.fleet_group_user,1,1,1,0 +access_fleet_vehicle_usage_manager,fleet.vehicle.usage,model_fleet_vehicle_usage,fleet.fleet_group_manager,1,1,1,1 diff --git a/fleet_vehicle_usage/security/security.xml b/fleet_vehicle_usage/security/security.xml new file mode 100644 index 00000000..251c6271 --- /dev/null +++ b/fleet_vehicle_usage/security/security.xml @@ -0,0 +1,9 @@ + + + + Fleet vehicle usage multi-company + + + [('company_id', 'in', [False] + company_ids)] + + diff --git a/fleet_vehicle_usage/static/description/icon.png b/fleet_vehicle_usage/static/description/icon.png new file mode 100644 index 00000000..3a0328b5 Binary files /dev/null and b/fleet_vehicle_usage/static/description/icon.png differ diff --git a/fleet_vehicle_usage/static/description/index.html b/fleet_vehicle_usage/static/description/index.html new file mode 100644 index 00000000..00a72902 --- /dev/null +++ b/fleet_vehicle_usage/static/description/index.html @@ -0,0 +1,432 @@ + + + + + +Fleet Vehicle Usage + + + +
+

Fleet Vehicle Usage

+ + +

Beta License: AGPL-3 OCA/fleet Translate me on Weblate Try me on Runboat

+

This module allows to record usages of fleet vehicles by employees, with +their dates, states and comments.

+

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 to smash it by providing a detailed and welcomed +feedback.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • César Fernández
  • +
  • Tecnativa
  • +
+
+
+

Contributors

+
    +
  • César Fernández Domínguez
  • +
  • Tecnativa:
      +
    • Víctor Martínez
    • +
    • Pedro M. Baeza
    • +
    +
  • +
+
+
+

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:

+

victoralmau

+

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

+

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

+
+
+
+ + diff --git a/fleet_vehicle_usage/tests/__init__.py b/fleet_vehicle_usage/tests/__init__.py new file mode 100644 index 00000000..2c11a9c9 --- /dev/null +++ b/fleet_vehicle_usage/tests/__init__.py @@ -0,0 +1 @@ +from . import test_fleet_vehicle_usage diff --git a/fleet_vehicle_usage/tests/test_fleet_vehicle_usage.py b/fleet_vehicle_usage/tests/test_fleet_vehicle_usage.py new file mode 100644 index 00000000..6391e8eb --- /dev/null +++ b/fleet_vehicle_usage/tests/test_fleet_vehicle_usage.py @@ -0,0 +1,52 @@ +# Copyright 2024 Tecnativa - Víctor Martínez +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo.exceptions import UserError + +from odoo.addons.base.tests.common import BaseCommon + + +class TestFleetVehicleUsage(BaseCommon): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.brand = cls.env["fleet.vehicle.model.brand"].create({"name": "Test brand"}) + cls.model = cls.env["fleet.vehicle.model"].create( + { + "name": "Test model", + "brand_id": cls.brand.id, + "vehicle_type": "car", + } + ) + cls.vehicle = cls.env["fleet.vehicle"].create({"model_id": cls.model.id}) + cls.user = cls.env.ref("base.user_demo") + + def _create_fleet_vehicle_usage(self, vehicle): + return self.env["fleet.vehicle.usage"].create( + {"vehicle_id": vehicle.id, "user_id": self.user.id} + ) + + def test_fleet_vehicle_usage(self): + usage = self._create_fleet_vehicle_usage(self.vehicle) + self.assertFalse(self.vehicle.in_use) + usage.action_pick() + self.assertTrue(usage.date_picking) + self.assertTrue(self.vehicle.in_use) + usage.action_return() + self.assertTrue(usage.date_return) + self.assertFalse(self.vehicle.in_use) + + def test_fleet_vehicle_usage_constrain_1(self): + usage = self._create_fleet_vehicle_usage(self.vehicle) + usage.action_pick() + with self.assertRaises(UserError): + usage2 = self._create_fleet_vehicle_usage(self.vehicle) + usage2.action_pick() + + def test_fleet_vehicle_usage_constrain_2(self): + usage = self._create_fleet_vehicle_usage(self.vehicle) + usage.action_pick() + vehicle2 = self.vehicle.copy() + with self.assertRaises(UserError): + usage2 = self._create_fleet_vehicle_usage(vehicle2) + usage2.action_pick() diff --git a/fleet_vehicle_usage/views/fleet_vehicle_usage_view.xml b/fleet_vehicle_usage/views/fleet_vehicle_usage_view.xml new file mode 100644 index 00000000..f19e6c44 --- /dev/null +++ b/fleet_vehicle_usage/views/fleet_vehicle_usage_view.xml @@ -0,0 +1,214 @@ + + + + fleet.vehicle.usage.tree + fleet.vehicle.usage + + + + + + + + + + + + + + fleet.vehicle.usage.form + fleet.vehicle.usage + +
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+
+
+
+ + fleet.vehicle.usage.search + fleet.vehicle.usage + + + + + + + + + + + + + + + + + + + + + + + Fleet Vehicle Usage + ir.actions.act_window + fleet.vehicle.usage + tree,form + + + {'search_default_not_returned': 1} + +

Click to create a Fleet Vehicle Usage.

+
+
+ + + Fleet Vehicle Usage + ir.actions.act_window + fleet.vehicle.usage + tree,form + + + {'default_vehicle_id': active_id, 'search_default_not_returned': 1} + [('vehicle_id', '=', active_id)] + +

Click to create a Fleet Vehicle Usage.

+
+
+
diff --git a/fleet_vehicle_usage/views/fleet_vehicle_view.xml b/fleet_vehicle_usage/views/fleet_vehicle_view.xml new file mode 100644 index 00000000..92efeb05 --- /dev/null +++ b/fleet_vehicle_usage/views/fleet_vehicle_view.xml @@ -0,0 +1,58 @@ + + + + fleet.vehicle.search + fleet.vehicle + + + + + + + + + + fleet.vehicle.kanban + fleet.vehicle + + + + + + + In use + + + + + fleet.vehicle.form + fleet.vehicle + + +
+
+ + + In use + + +
+
diff --git a/setup/.setuptools-odoo-make-default-ignore b/setup/.setuptools-odoo-make-default-ignore new file mode 100644 index 00000000..207e6153 --- /dev/null +++ b/setup/.setuptools-odoo-make-default-ignore @@ -0,0 +1,2 @@ +# addons listed in this file are ignored by +# setuptools-odoo-make-default (one addon per line) diff --git a/setup/README b/setup/README new file mode 100644 index 00000000..a63d633e --- /dev/null +++ b/setup/README @@ -0,0 +1,2 @@ +To learn more about this directory, please visit +https://pypi.python.org/pypi/setuptools-odoo diff --git a/setup/_metapackage/VERSION.txt b/setup/_metapackage/VERSION.txt new file mode 100644 index 00000000..f76341b7 --- /dev/null +++ b/setup/_metapackage/VERSION.txt @@ -0,0 +1 @@ +17.0.1.0 \ No newline at end of file diff --git a/setup/_metapackage/setup.py b/setup/_metapackage/setup.py new file mode 100644 index 00000000..c4da0115 --- /dev/null +++ b/setup/_metapackage/setup.py @@ -0,0 +1,18 @@ +import setuptools + +with open('VERSION.txt', 'r') as f: + version = f.read().strip() + +setuptools.setup( + name="odoo-addons-oca-fleet", + description="Meta package for oca-fleet Odoo addons", + version=version, + install_requires=[ + 'odoo-addon-fleet_vehicle_usage>=16.0dev,<16.1dev', + ], + classifiers=[ + 'Programming Language :: Python', + 'Framework :: Odoo', + 'Framework :: Odoo :: 17.0', + ] +) diff --git a/setup/fleet_vehicle_calendar_year/odoo/addons/fleet_vehicle_calendar_year b/setup/fleet_vehicle_calendar_year/odoo/addons/fleet_vehicle_calendar_year new file mode 120000 index 00000000..6c8fc0c9 --- /dev/null +++ b/setup/fleet_vehicle_calendar_year/odoo/addons/fleet_vehicle_calendar_year @@ -0,0 +1 @@ +../../../../fleet_vehicle_calendar_year \ No newline at end of file diff --git a/setup/fleet_vehicle_calendar_year/setup.py b/setup/fleet_vehicle_calendar_year/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/fleet_vehicle_calendar_year/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/fleet_vehicle_category/odoo/addons/fleet_vehicle_category b/setup/fleet_vehicle_category/odoo/addons/fleet_vehicle_category new file mode 120000 index 00000000..a8ed55ec --- /dev/null +++ b/setup/fleet_vehicle_category/odoo/addons/fleet_vehicle_category @@ -0,0 +1 @@ +../../../../fleet_vehicle_category \ No newline at end of file diff --git a/setup/fleet_vehicle_category/setup.py b/setup/fleet_vehicle_category/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/fleet_vehicle_category/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/fleet_vehicle_configuration/odoo/addons/fleet_vehicle_configuration b/setup/fleet_vehicle_configuration/odoo/addons/fleet_vehicle_configuration new file mode 120000 index 00000000..936b029f --- /dev/null +++ b/setup/fleet_vehicle_configuration/odoo/addons/fleet_vehicle_configuration @@ -0,0 +1 @@ +../../../../fleet_vehicle_configuration \ No newline at end of file diff --git a/setup/fleet_vehicle_configuration/setup.py b/setup/fleet_vehicle_configuration/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/fleet_vehicle_configuration/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/fleet_vehicle_fuel_capacity/odoo/addons/fleet_vehicle_fuel_capacity b/setup/fleet_vehicle_fuel_capacity/odoo/addons/fleet_vehicle_fuel_capacity new file mode 120000 index 00000000..a9369a53 --- /dev/null +++ b/setup/fleet_vehicle_fuel_capacity/odoo/addons/fleet_vehicle_fuel_capacity @@ -0,0 +1 @@ +../../../../fleet_vehicle_fuel_capacity \ No newline at end of file diff --git a/setup/fleet_vehicle_fuel_capacity/setup.py b/setup/fleet_vehicle_fuel_capacity/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/fleet_vehicle_fuel_capacity/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/fleet_vehicle_fuel_type_ethanol/odoo/addons/fleet_vehicle_fuel_type_ethanol b/setup/fleet_vehicle_fuel_type_ethanol/odoo/addons/fleet_vehicle_fuel_type_ethanol new file mode 120000 index 00000000..ef203179 --- /dev/null +++ b/setup/fleet_vehicle_fuel_type_ethanol/odoo/addons/fleet_vehicle_fuel_type_ethanol @@ -0,0 +1 @@ +../../../../fleet_vehicle_fuel_type_ethanol \ No newline at end of file diff --git a/setup/fleet_vehicle_fuel_type_ethanol/setup.py b/setup/fleet_vehicle_fuel_type_ethanol/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/fleet_vehicle_fuel_type_ethanol/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/fleet_vehicle_history_date_end/odoo/addons/fleet_vehicle_history_date_end b/setup/fleet_vehicle_history_date_end/odoo/addons/fleet_vehicle_history_date_end new file mode 120000 index 00000000..9ab44749 --- /dev/null +++ b/setup/fleet_vehicle_history_date_end/odoo/addons/fleet_vehicle_history_date_end @@ -0,0 +1 @@ +../../../../fleet_vehicle_history_date_end \ No newline at end of file diff --git a/setup/fleet_vehicle_history_date_end/setup.py b/setup/fleet_vehicle_history_date_end/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/fleet_vehicle_history_date_end/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/fleet_vehicle_inspection/odoo/addons/fleet_vehicle_inspection b/setup/fleet_vehicle_inspection/odoo/addons/fleet_vehicle_inspection new file mode 120000 index 00000000..384daa26 --- /dev/null +++ b/setup/fleet_vehicle_inspection/odoo/addons/fleet_vehicle_inspection @@ -0,0 +1 @@ +../../../../fleet_vehicle_inspection \ No newline at end of file diff --git a/setup/fleet_vehicle_inspection/setup.py b/setup/fleet_vehicle_inspection/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/fleet_vehicle_inspection/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/fleet_vehicle_inspection_template/odoo/addons/fleet_vehicle_inspection_template b/setup/fleet_vehicle_inspection_template/odoo/addons/fleet_vehicle_inspection_template new file mode 120000 index 00000000..362ffe57 --- /dev/null +++ b/setup/fleet_vehicle_inspection_template/odoo/addons/fleet_vehicle_inspection_template @@ -0,0 +1 @@ +../../../../fleet_vehicle_inspection_template \ No newline at end of file diff --git a/setup/fleet_vehicle_inspection_template/setup.py b/setup/fleet_vehicle_inspection_template/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/fleet_vehicle_inspection_template/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/fleet_vehicle_log_fuel/odoo/addons/fleet_vehicle_log_fuel b/setup/fleet_vehicle_log_fuel/odoo/addons/fleet_vehicle_log_fuel new file mode 120000 index 00000000..94ad2dfc --- /dev/null +++ b/setup/fleet_vehicle_log_fuel/odoo/addons/fleet_vehicle_log_fuel @@ -0,0 +1 @@ +../../../../fleet_vehicle_log_fuel \ No newline at end of file diff --git a/setup/fleet_vehicle_log_fuel/setup.py b/setup/fleet_vehicle_log_fuel/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/fleet_vehicle_log_fuel/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/fleet_vehicle_service_activity/odoo/addons/fleet_vehicle_service_activity b/setup/fleet_vehicle_service_activity/odoo/addons/fleet_vehicle_service_activity new file mode 120000 index 00000000..7ce0e755 --- /dev/null +++ b/setup/fleet_vehicle_service_activity/odoo/addons/fleet_vehicle_service_activity @@ -0,0 +1 @@ +../../../../fleet_vehicle_service_activity \ No newline at end of file diff --git a/setup/fleet_vehicle_service_activity/setup.py b/setup/fleet_vehicle_service_activity/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/fleet_vehicle_service_activity/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/fleet_vehicle_service_calendar/odoo/addons/fleet_vehicle_service_calendar b/setup/fleet_vehicle_service_calendar/odoo/addons/fleet_vehicle_service_calendar new file mode 120000 index 00000000..21ec3ebe --- /dev/null +++ b/setup/fleet_vehicle_service_calendar/odoo/addons/fleet_vehicle_service_calendar @@ -0,0 +1 @@ +../../../../fleet_vehicle_service_calendar \ No newline at end of file diff --git a/setup/fleet_vehicle_service_calendar/setup.py b/setup/fleet_vehicle_service_calendar/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/fleet_vehicle_service_calendar/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/fleet_vehicle_service_kanban/odoo/addons/fleet_vehicle_service_kanban b/setup/fleet_vehicle_service_kanban/odoo/addons/fleet_vehicle_service_kanban new file mode 120000 index 00000000..38efe48f --- /dev/null +++ b/setup/fleet_vehicle_service_kanban/odoo/addons/fleet_vehicle_service_kanban @@ -0,0 +1 @@ +../../../../fleet_vehicle_service_kanban \ No newline at end of file diff --git a/setup/fleet_vehicle_service_kanban/setup.py b/setup/fleet_vehicle_service_kanban/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/fleet_vehicle_service_kanban/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/fleet_vehicle_service_services/odoo/addons/fleet_vehicle_service_services b/setup/fleet_vehicle_service_services/odoo/addons/fleet_vehicle_service_services new file mode 120000 index 00000000..f80da898 --- /dev/null +++ b/setup/fleet_vehicle_service_services/odoo/addons/fleet_vehicle_service_services @@ -0,0 +1 @@ +../../../../fleet_vehicle_service_services \ No newline at end of file diff --git a/setup/fleet_vehicle_service_services/setup.py b/setup/fleet_vehicle_service_services/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/fleet_vehicle_service_services/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/fleet_vehicle_stock/odoo/addons/fleet_vehicle_stock b/setup/fleet_vehicle_stock/odoo/addons/fleet_vehicle_stock new file mode 120000 index 00000000..044402bc --- /dev/null +++ b/setup/fleet_vehicle_stock/odoo/addons/fleet_vehicle_stock @@ -0,0 +1 @@ +../../../../fleet_vehicle_stock \ No newline at end of file diff --git a/setup/fleet_vehicle_stock/setup.py b/setup/fleet_vehicle_stock/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/fleet_vehicle_stock/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/fleet_vehicle_usage/odoo/addons/fleet_vehicle_usage b/setup/fleet_vehicle_usage/odoo/addons/fleet_vehicle_usage new file mode 120000 index 00000000..965849e2 --- /dev/null +++ b/setup/fleet_vehicle_usage/odoo/addons/fleet_vehicle_usage @@ -0,0 +1 @@ +../../../../fleet_vehicle_usage \ No newline at end of file diff --git a/setup/fleet_vehicle_usage/setup.py b/setup/fleet_vehicle_usage/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/fleet_vehicle_usage/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)