From e185239408eaa6dda2139d19860fe91cf9fa44ca Mon Sep 17 00:00:00 2001 From: Hadrien Huvelle Date: Fri, 4 Oct 2024 15:38:16 +0200 Subject: [PATCH] [16.0] adds res.team model --- partner_team/__init__.py | 1 + partner_team/__manifest__.py | 20 +++ partner_team/models/__init__.py | 3 + partner_team/models/rel_team_partner.py | 10 ++ partner_team/models/res_partner.py | 10 ++ partner_team/models/res_team.py | 18 +++ partner_team/security/ir.model.access.csv | 5 + partner_team/views/rel_team_partner_views.xml | 22 ++++ .../views/res_config_settings_views.xml | 76 +++++++++++ partner_team/views/res_partner_views.xml | 22 ++++ partner_team/views/res_team_views.xml | 119 ++++++++++++++++++ setup/partner_team/odoo/addons/partner_team | 1 + setup/partner_team/setup.py | 6 + 13 files changed, 313 insertions(+) create mode 100644 partner_team/__init__.py create mode 100644 partner_team/__manifest__.py create mode 100644 partner_team/models/__init__.py create mode 100644 partner_team/models/rel_team_partner.py create mode 100644 partner_team/models/res_partner.py create mode 100644 partner_team/models/res_team.py create mode 100644 partner_team/security/ir.model.access.csv create mode 100644 partner_team/views/rel_team_partner_views.xml create mode 100644 partner_team/views/res_config_settings_views.xml create mode 100644 partner_team/views/res_partner_views.xml create mode 100644 partner_team/views/res_team_views.xml create mode 120000 setup/partner_team/odoo/addons/partner_team create mode 100644 setup/partner_team/setup.py diff --git a/partner_team/__init__.py b/partner_team/__init__.py new file mode 100644 index 000000000000..0650744f6bc6 --- /dev/null +++ b/partner_team/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/partner_team/__manifest__.py b/partner_team/__manifest__.py new file mode 100644 index 000000000000..19e89981fd85 --- /dev/null +++ b/partner_team/__manifest__.py @@ -0,0 +1,20 @@ +# Copyright 2023 camptocamp ( + + rel.team.partner.view.form + rel.team.partner + +
+ + + + + + + + + + + + +
+
+
+ \ No newline at end of file diff --git a/partner_team/views/res_config_settings_views.xml b/partner_team/views/res_config_settings_views.xml new file mode 100644 index 000000000000..936ccd455c2b --- /dev/null +++ b/partner_team/views/res_config_settings_views.xml @@ -0,0 +1,76 @@ + + + + + + res.config.settings.view.form.inherit.sportclub.base + res.config.settings + + + + +
+

Sport Club

+
+
+ + 0 + + +
+
+ +
+

Club informations

+
+
+
+
+
+
+
+
+
+
+
+ +
+ + + Settings + res.config.settings + form + inline + + + + + Settings + ir.actions.act_window + res.config.settings + form + inline + {'module': 'sportclub_base', 'bin_size': False} + + + + + + + + +
+
\ No newline at end of file diff --git a/partner_team/views/res_partner_views.xml b/partner_team/views/res_partner_views.xml new file mode 100644 index 000000000000..14c0325317e8 --- /dev/null +++ b/partner_team/views/res_partner_views.xml @@ -0,0 +1,22 @@ + + + + + partner_team.res.partner.form + res.partner + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/partner_team/views/res_team_views.xml b/partner_team/views/res_team_views.xml new file mode 100644 index 000000000000..c6fa936cab97 --- /dev/null +++ b/partner_team/views/res_team_views.xml @@ -0,0 +1,119 @@ + + + + + partner_teamres.team.form + res.team + + +
+ +
+ + + + +
+

+ +

+ +
+ + + + + + + + + + + + +
+ + + partner_teamres.team.kanban + res.team + + + + + + + +
+ +