Compare commits
No commits in common. "master" and "territoires_rues_gerer_numeros" have entirely different histories.
master
...
territoire
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2016-2020 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2016-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
||||||
@ -19,7 +19,7 @@
|
|||||||
'name': 'GOLEM activities',
|
'name': 'GOLEM activities',
|
||||||
'summary': 'Extends Odoo products for multi-activity',
|
'summary': 'Extends Odoo products for multi-activity',
|
||||||
'description': 'Extends Odoo products for multi-activity',
|
'description': 'Extends Odoo products for multi-activity',
|
||||||
'version': '10.0.2.8.2',
|
'version': '10.0.2.7.0',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois, Michel Dessenne',
|
'author': 'Fabien Bourgeois, Michel Dessenne',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2016-2019 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2016 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
||||||
@ -15,4 +15,4 @@
|
|||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from . import golem_activity, golem_season
|
from . import golem_activity
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2017-2019 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
||||||
@ -105,7 +105,8 @@ class GolemActivity(models.Model):
|
|||||||
index=True, auto_join=True,
|
index=True, auto_join=True,
|
||||||
ondelete='restrict')
|
ondelete='restrict')
|
||||||
is_default = fields.Boolean('Default season?',
|
is_default = fields.Boolean('Default season?',
|
||||||
compute='_compute_is_default', store=True)
|
compute='_compute_is_default',
|
||||||
|
search='_search_is_default')
|
||||||
|
|
||||||
@api.depends('season_id')
|
@api.depends('season_id')
|
||||||
def _compute_is_default(self):
|
def _compute_is_default(self):
|
||||||
@ -114,6 +115,18 @@ class GolemActivity(models.Model):
|
|||||||
for activity in self:
|
for activity in self:
|
||||||
activity.is_default = (default_season == activity.season_id)
|
activity.is_default = (default_season == activity.season_id)
|
||||||
|
|
||||||
|
@api.multi
|
||||||
|
def _search_is_default(self, operator, value):
|
||||||
|
""" Search function for is default """
|
||||||
|
if operator in ('in', '='):
|
||||||
|
operator = '=' if value else '!='
|
||||||
|
elif operator in ('not in', '!='):
|
||||||
|
operator = '!=' if value else '='
|
||||||
|
else:
|
||||||
|
err = _('Unsupported operator for defautl season search')
|
||||||
|
raise NotImplementedError(err)
|
||||||
|
return [('season_id', operator, self.default_season().id)]
|
||||||
|
|
||||||
animator_id = fields.Many2one('res.partner', string='Animator',
|
animator_id = fields.Many2one('res.partner', string='Animator',
|
||||||
index=True, auto_join=True,
|
index=True, auto_join=True,
|
||||||
domain=[('is_company', '=', False)])
|
domain=[('is_company', '=', False)])
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
# Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
""" GOLEM Season adaptations """
|
|
||||||
|
|
||||||
from odoo import models, api
|
|
||||||
|
|
||||||
|
|
||||||
class GolemSeason(models.Model):
|
|
||||||
""" GOLEM Season adaptations """
|
|
||||||
_inherit = 'golem.season'
|
|
||||||
|
|
||||||
@api.multi
|
|
||||||
def do_default_season(self):
|
|
||||||
""" Regenerates is_default when season changes """
|
|
||||||
self.ensure_one()
|
|
||||||
res = super(GolemSeason, self).do_default_season()
|
|
||||||
all_activities = self.env['golem.activity'].search([])
|
|
||||||
all_activities._compute_is_default()
|
|
||||||
return res
|
|
@ -1,22 +1,15 @@
|
|||||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||||
access_product_template_auditor,Access Product Template Auditor,product.model_product_template,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_product_template_user,Access Product Template User,product.model_product_template,golem_base.group_golem_user,1,1,1,0
|
access_product_template_user,Access Product Template User,product.model_product_template,golem_base.group_golem_user,1,1,1,0
|
||||||
access_product_template_manager,Access Product Template Manager,product.model_product_template,golem_base.group_golem_manager,1,1,1,1
|
access_product_template_manager,Access Product Template Manager,product.model_product_template,golem_base.group_golem_manager,1,1,1,1
|
||||||
access_product_product_auditor,Access Product Product Auditor,product.model_product_product,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_product_product_user,Access Product Product User,product.model_product_product,golem_base.group_golem_user,1,1,1,0
|
access_product_product_user,Access Product Product User,product.model_product_product,golem_base.group_golem_user,1,1,1,0
|
||||||
access_product_product_manager,Access Product Product Manager,product.model_product_product,golem_base.group_golem_manager,1,1,1,1
|
access_product_product_manager,Access Product Product Manager,product.model_product_product,golem_base.group_golem_manager,1,1,1,1
|
||||||
access_product_price_history_auditor,Access Product Price History Auditor,product.model_product_price_history,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_product_price_history_user,Access Product Price History User,product.model_product_price_history,golem_base.group_golem_user,1,1,1,0
|
access_product_price_history_user,Access Product Price History User,product.model_product_price_history,golem_base.group_golem_user,1,1,1,0
|
||||||
access_product_price_history_manager,Access Product Price History Manager,product.model_product_price_history,golem_base.group_golem_manager,1,1,1,1
|
access_product_price_history_manager,Access Product Price History Manager,product.model_product_price_history,golem_base.group_golem_manager,1,1,1,1
|
||||||
access_product_category_auditor,Access Product Category Auditor,product.model_product_category,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_product_category_user,Access Product Category User,product.model_product_category,golem_base.group_golem_user,1,0,0,0
|
access_product_category_user,Access Product Category User,product.model_product_category,golem_base.group_golem_user,1,0,0,0
|
||||||
access_product_category_manager,Access Product Category Manager,product.model_product_category,golem_base.group_golem_manager,1,1,1,1
|
access_product_category_manager,Access Product Category Manager,product.model_product_category,golem_base.group_golem_manager,1,1,1,1
|
||||||
access_golem_activity_auditor,Access GOLEM Activity Auditor,model_golem_activity,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_golem_activity_user,Access GOLEM Activity User,model_golem_activity,golem_base.group_golem_user,1,1,1,0
|
access_golem_activity_user,Access GOLEM Activity User,model_golem_activity,golem_base.group_golem_user,1,1,1,0
|
||||||
access_golem_activity_manager,Access GOLEM Activity Manager,model_golem_activity,golem_base.group_golem_manager,1,1,1,1
|
access_golem_activity_manager,Access GOLEM Activity Manager,model_golem_activity,golem_base.group_golem_manager,1,1,1,1
|
||||||
access_golem_activity_type_auditor,Access GOLEM Activity Type Auditor,model_golem_activity_type,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_golem_activity_type_user,Access GOLEM Activity Type User,model_golem_activity_type,golem_base.group_golem_user,1,1,1,0
|
access_golem_activity_type_user,Access GOLEM Activity Type User,model_golem_activity_type,golem_base.group_golem_user,1,1,1,0
|
||||||
access_golem_activity_type_manager,Access GOLEM Activity Type Manager,model_golem_activity_type,golem_base.group_golem_manager,1,1,1,1
|
access_golem_activity_type_manager,Access GOLEM Activity Type Manager,model_golem_activity_type,golem_base.group_golem_manager,1,1,1,1
|
||||||
access_golem_activity_audience_auditor,Access GOLEM Activity Audience Auditor,model_golem_activity_audience,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_golem_activity_audience_user,Access GOLEM Activity Audience User,model_golem_activity_audience,golem_base.group_golem_user,1,1,1,0
|
access_golem_activity_audience_user,Access GOLEM Activity Audience User,model_golem_activity_audience,golem_base.group_golem_user,1,1,1,0
|
||||||
access_golem_activity_audience_manager,Access GOLEM Activity Audience Manager,model_golem_activity_audience,golem_base.group_golem_manager,1,1,1,1
|
access_golem_activity_audience_manager,Access GOLEM Activity Audience Manager,model_golem_activity_audience,golem_base.group_golem_manager,1,1,1,1
|
||||||
|
|
@ -1,7 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
<!--
|
||||||
Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
|
Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
Copyright 2020 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
it under the terms of the GNU Affero General Public License as published by
|
||||||
@ -188,8 +187,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
<!-- Actions -->
|
<!-- Actions -->
|
||||||
<act_window id="golem_activity_action" name="GOLEM Activities"
|
<act_window id="golem_activity_action" name="GOLEM Activities"
|
||||||
res_model="golem.activity" view_mode="tree,form,calendar"
|
res_model="golem.activity" view_mode="tree,form,calendar" />
|
||||||
context="{'search_default_season_default': 1}"/>
|
|
||||||
<act_window id="golem_activity_type_action" name="GOLEM Activity Types"
|
<act_window id="golem_activity_type_action" name="GOLEM Activity Types"
|
||||||
res_model="golem.activity.type" view_mode="tree" />
|
res_model="golem.activity.type" view_mode="tree" />
|
||||||
<act_window id="golem_activity_audience_action" name="GOLEM Activity Audiences"
|
<act_window id="golem_activity_audience_action" name="GOLEM Activity Audiences"
|
||||||
@ -203,25 +201,25 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
<!-- Menus -->
|
<!-- Menus -->
|
||||||
<menuitem id="golem_activity_menu" name="Activities" sequence="30"
|
<menuitem id="golem_activity_menu" name="Activities" sequence="30"
|
||||||
groups="golem_base.group_golem_user,golem_base.group_golem_auditor"
|
groups="golem_base.group_golem_user"
|
||||||
web_icon="golem_activity,static/description/icon.png" />
|
web_icon="golem_activity,static/description/icon.png" />
|
||||||
<menuitem id="golem_activity_menu_list" name="Activities"
|
<menuitem id="golem_activity_menu_list" name="Activities"
|
||||||
groups="golem_base.group_golem_user,golem_base.group_golem_auditor"
|
groups="golem_base.group_golem_user"
|
||||||
parent="golem_activity_menu" sequence="1" action="golem_activity_action" />
|
parent="golem_activity_menu" sequence="1" action="golem_activity_action" />
|
||||||
<menuitem id="golem_activity_menu_configuration" name="Configuration"
|
<menuitem id="golem_activity_menu_configuration" name="Configuration"
|
||||||
parent="golem_activity_menu" sequence="90"
|
parent="golem_activity_menu" sequence="90"
|
||||||
groups="golem_base.group_golem_manager,golem_base.group_golem_auditor" />
|
groups="golem_base.group_golem_manager" />
|
||||||
<menuitem id="golem_activity_type_menu_list" name="Activity Types"
|
<menuitem id="golem_activity_type_menu_list" name="Activity Types"
|
||||||
groups="golem_base.group_golem_manager,golem_base.group_golem_auditor"
|
groups="golem_base.group_golem_manager"
|
||||||
parent="golem_activity_menu_configuration" sequence="5"
|
parent="golem_activity_menu_configuration" sequence="5"
|
||||||
action="golem_activity_type_action" />
|
action="golem_activity_type_action" />
|
||||||
<menuitem id="golem_activity_audience_menu_list" name="Activity Audiences"
|
<menuitem id="golem_activity_audience_menu_list" name="Activity Audiences"
|
||||||
groups="golem_base.group_golem_manager,golem_base.group_golem_auditor"
|
groups="golem_base.group_golem_manager"
|
||||||
parent="golem_activity_menu_configuration" sequence="7"
|
parent="golem_activity_menu_configuration" sequence="7"
|
||||||
action="golem_activity_audience_action" />
|
action="golem_activity_audience_action" />
|
||||||
<menuitem id="product_category_menu" name="Categories"
|
<menuitem id="product_category_menu" name="Categories"
|
||||||
parent="golem_activity_menu_configuration" sequence="10"
|
parent="golem_activity_menu_configuration" sequence="10"
|
||||||
groups="golem_base.group_golem_manager,golem_base.group_golem_auditor"
|
groups="golem_base.group_golem_manager"
|
||||||
action="product_category_action" />
|
action="product_category_action" />
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||||
golem_activity_queue_auditor_rule,GOLEM Activity Queue Auditor Rule,model_golem_activity_queue,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
golem_activity_queue_user_rule,GOLEM Activity Queue User Rule,model_golem_activity_queue,golem_base.group_golem_user,1,1,1,1
|
golem_activity_queue_user_rule,GOLEM Activity Queue User Rule,model_golem_activity_queue,golem_base.group_golem_user,1,1,1,1
|
||||||
golem_activity_queue_manager_rule,GOLEM Activity Queue Manager Rule,model_golem_activity_queue,golem_base.group_golem_manager,1,1,1,1
|
golem_activity_queue_manager_rule,GOLEM Activity Queue Manager Rule,model_golem_activity_queue,golem_base.group_golem_manager,1,1,1,1
|
||||||
|
|
@ -15,4 +15,4 @@
|
|||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from . import models, wizard
|
from . import models
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2017-2020 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
||||||
@ -18,7 +18,7 @@
|
|||||||
{
|
{
|
||||||
'name': 'GOLEM Activity Member Registrations',
|
'name': 'GOLEM Activity Member Registrations',
|
||||||
'summary': 'GOLEM Activities Member Registrations management',
|
'summary': 'GOLEM Activities Member Registrations management',
|
||||||
'version': '10.0.1.6.5',
|
'version': '10.0.1.5.1',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois, Michel Dessenne',
|
'author': 'Fabien Bourgeois, Michel Dessenne',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
@ -30,7 +30,5 @@
|
|||||||
'views/golem_activity_views.xml',
|
'views/golem_activity_views.xml',
|
||||||
'report/golem_member_card_templates.xml',
|
'report/golem_member_card_templates.xml',
|
||||||
'security/ir.model.access.csv',
|
'security/ir.model.access.csv',
|
||||||
'report/golem_activity_report_templates.xml',
|
'report/golem_activity_report_templates.xml']
|
||||||
'wizard/golem_activity_registration_analysis_wizard_views.xml',
|
|
||||||
'wizard/golem_member_analysis_views.xml']
|
|
||||||
}
|
}
|
||||||
|
@ -6,8 +6,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 10.0\n"
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2019-01-21 10:49+0000\n"
|
"POT-Creation-Date: 2018-09-26 08:25+0000\n"
|
||||||
"PO-Revision-Date: 2019-01-21 11:51+0100\n"
|
"PO-Revision-Date: 2018-09-26 10:28+0200\n"
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: <>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@ -53,7 +53,6 @@ msgstr "Activités de la saison par défaut"
|
|||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_activity_id
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_activity_id
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_member_analysis_activity_id
|
|
||||||
msgid "Activity"
|
msgid "Activity"
|
||||||
msgstr "Activité"
|
msgstr "Activité"
|
||||||
|
|
||||||
@ -62,46 +61,16 @@ msgstr "Activité"
|
|||||||
msgid "Activity registrations"
|
msgid "Activity registrations"
|
||||||
msgstr "Inscriptions"
|
msgstr "Inscriptions"
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_age_computing
|
|
||||||
msgid "Age"
|
|
||||||
msgstr "Âge"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_member_activity_registration_all_ids
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_member_activity_registration_all_ids
|
||||||
msgid "All activities"
|
msgid "All activities"
|
||||||
msgstr "Toutes les activités"
|
msgstr "Toutes les activités"
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_registration_analysis_wizard_view_form
|
|
||||||
msgid "Analyse Registrations"
|
|
||||||
msgstr "Analyse des inscriptions"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_analyse_type
|
|
||||||
msgid "Analyse type"
|
|
||||||
msgstr "Type d'analyse"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: model:ir.actions.act_window,name:golem_activity_registration.golem_registrations_analysis_action
|
|
||||||
msgid "Analysis"
|
|
||||||
msgstr "Analyse"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_member_card_template_inherit_golem_activity_resgitration
|
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_member_card_template_inherit_golem_activity_resgitration
|
||||||
msgid "Animator"
|
msgid "Animator"
|
||||||
msgstr "Intervenant"
|
msgstr "Intervenant"
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: selection:golem.activity.registration.analysis.wizard,age_computing:0
|
|
||||||
msgid "At season start"
|
|
||||||
msgstr "Au début de la saison"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: selection:golem.activity.registration.analysis.wizard,age_computing:0
|
|
||||||
msgid "At season stop"
|
|
||||||
msgstr "À la fin de la saison"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_registration_tree
|
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_registration_tree
|
||||||
msgid "Base price"
|
msgid "Base price"
|
||||||
@ -110,12 +79,7 @@ msgstr "Prix de base"
|
|||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,help:golem_activity_registration.field_golem_activity_registration_activity_price
|
#: model:ir.model.fields,help:golem_activity_registration.field_golem_activity_registration_activity_price
|
||||||
msgid "Base price to compute the customer price. Sometimes called the catalog price."
|
msgid "Base price to compute the customer price. Sometimes called the catalog price."
|
||||||
msgstr "Prix de base pour calculer le prix client. Parfois appelé prix catalogue."
|
msgstr "Prix de base pour calculer le prix usager. Parfois appelé prix catalogue."
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: selection:golem.activity.registration.analysis.wizard,analyse_type:0
|
|
||||||
msgid "By area and activity"
|
|
||||||
msgstr "Par territoire et activité"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_registration_search
|
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_registration_search
|
||||||
@ -123,13 +87,11 @@ msgid "By season"
|
|||||||
msgstr "Par saison"
|
msgstr "Par saison"
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_create_uid
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_create_uid
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_create_uid
|
||||||
msgid "Created by"
|
msgid "Created by"
|
||||||
msgstr "Créé par"
|
msgstr "Créé par"
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_create_date
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_create_date
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_create_date
|
||||||
msgid "Created on"
|
msgid "Created on"
|
||||||
msgstr "Créé le"
|
msgstr "Créé le"
|
||||||
@ -155,7 +117,6 @@ msgid "Default season?"
|
|||||||
msgstr "Saison par défaut?"
|
msgstr "Saison par défaut?"
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_display_name
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_display_name
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_display_name
|
||||||
msgid "Display Name"
|
msgid "Display Name"
|
||||||
msgstr "Nom affiché"
|
msgstr "Nom affiché"
|
||||||
@ -180,11 +141,6 @@ msgstr "Activité"
|
|||||||
msgid "GOLEM Activity Registration"
|
msgid "GOLEM Activity Registration"
|
||||||
msgstr "Inscription à l'activité"
|
msgstr "Inscription à l'activité"
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: model:ir.model,name:golem_activity_registration.model_golem_activity_registration_analysis_wizard
|
|
||||||
msgid "GOLEM Activity Registration Analysis Wizard Adaptation "
|
|
||||||
msgstr "GOLEM Activity Registration Analysis Wizard Adaptation "
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.actions.act_window,name:golem_activity_registration.golem_activity_registration_action
|
#: model:ir.actions.act_window,name:golem_activity_registration.golem_activity_registration_action
|
||||||
msgid "GOLEM Activity Registration List"
|
msgid "GOLEM Activity Registration List"
|
||||||
@ -195,18 +151,12 @@ msgstr "Liste des inscriptions aux activités"
|
|||||||
msgid "GOLEM Member"
|
msgid "GOLEM Member"
|
||||||
msgstr "Adhérent"
|
msgstr "Adhérent"
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: model:ir.model,name:golem_activity_registration.model_golem_member_analysis
|
|
||||||
msgid "GOLEM Members Analysis Adaption"
|
|
||||||
msgstr "GOLEM Members Analysis Adaption"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_member_card_template_inherit_golem_activity_resgitration
|
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_member_card_template_inherit_golem_activity_resgitration
|
||||||
msgid "Hours"
|
msgid "Hours"
|
||||||
msgstr "Horaires"
|
msgstr "Horaires"
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_id
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_id
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_id
|
||||||
msgid "ID"
|
msgid "ID"
|
||||||
msgstr "ID"
|
msgstr "ID"
|
||||||
@ -218,28 +168,19 @@ msgstr "Fixe :"
|
|||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration___last_update
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration___last_update
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard___last_update
|
|
||||||
msgid "Last Modified on"
|
msgid "Last Modified on"
|
||||||
msgstr "Dernière Modification le"
|
msgstr "Dernière Modification le"
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_write_uid
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_write_uid
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_write_uid
|
||||||
msgid "Last Updated by"
|
msgid "Last Updated by"
|
||||||
msgstr "Dernière mise à jour par"
|
msgstr "Dernière mise à jour par"
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_write_date
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_write_date
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_write_date
|
||||||
msgid "Last Updated on"
|
msgid "Last Updated on"
|
||||||
msgstr "Dernière mise à jour le"
|
msgstr "Dernière mise à jour le"
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: code:addons/golem_activity_registration/wizard/golem_activity_registration_analysis_wizard.py:86
|
|
||||||
#, python-format
|
|
||||||
msgid "Member Analysis"
|
|
||||||
msgstr "Analyse des usagers"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_activity_registration_ids
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_activity_registration_ids
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_form_inherit_registration
|
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_form_inherit_registration
|
||||||
@ -247,16 +188,10 @@ msgid "Members"
|
|||||||
msgstr "Adhérents"
|
msgstr "Adhérents"
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_name
|
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_member_card_template_inherit_golem_activity_resgitration
|
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_member_card_template_inherit_golem_activity_resgitration
|
||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "Nom"
|
msgstr "Nom"
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: selection:golem.activity.registration.analysis.wizard,age_computing:0
|
|
||||||
msgid "Now"
|
|
||||||
msgstr "Ce jour"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: code:addons/golem_activity_registration/models/golem_activity_registration.py:39
|
#: code:addons/golem_activity_registration/models/golem_activity_registration.py:39
|
||||||
#: sql_constraint:golem.activity:0
|
#: sql_constraint:golem.activity:0
|
||||||
@ -271,20 +206,11 @@ msgstr "Sur la saison par défaut, il n'y a pas d'activité pour cet usager."
|
|||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_only_for_subscriber
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_only_for_subscriber
|
||||||
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_only_for_subscriber
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_search_inherit_registration
|
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_search_inherit_registration
|
||||||
msgid "Only for subscriber"
|
msgid "Only for subscriber"
|
||||||
msgstr "Réservé aux adhérents"
|
msgstr "Réservé aux adhérents"
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_season_end
|
|
||||||
msgid "Period end"
|
|
||||||
msgstr "Fin de la période"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_season_start
|
|
||||||
msgid "Period start"
|
|
||||||
msgstr "Début de la période"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_places
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_places
|
||||||
msgid "Places"
|
msgid "Places"
|
||||||
@ -300,16 +226,6 @@ msgstr "Places prises"
|
|||||||
msgid "Practiced activities"
|
msgid "Practiced activities"
|
||||||
msgstr "Activités pratiquées"
|
msgstr "Activités pratiquées"
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: code:addons/golem_activity_registration/wizard/golem_activity_registration_analysis_wizard.py:36
|
|
||||||
#: model:ir.ui.menu,name:golem_activity_registration.golem_activity_registration_analysis_menu
|
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_registration_analysis_wizard_view_form
|
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_member_analysis_pivot_age_end_activity_area
|
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_member_analysis_pivot_age_now_activity_area
|
|
||||||
#, python-format
|
|
||||||
msgid "Registration Analysis"
|
|
||||||
msgstr "Analyse des inscriptions"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_tree_inherit_registration
|
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_tree_inherit_registration
|
||||||
msgid "Remain"
|
msgid "Remain"
|
||||||
@ -326,16 +242,10 @@ msgid "Sale Price"
|
|||||||
msgstr "Prix de vente"
|
msgstr "Prix de vente"
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_season_id
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_season_id
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_season_id
|
||||||
msgid "Season"
|
msgid "Season"
|
||||||
msgstr "Saison"
|
msgstr "Saison"
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_member_analysis_pivot_age_start_activity_area
|
|
||||||
msgid "Service User Analysis"
|
|
||||||
msgstr "Analyse des usagers"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_member_id
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_member_id
|
||||||
msgid "Service user"
|
msgid "Service user"
|
||||||
@ -353,19 +263,19 @@ msgid "Subscription"
|
|||||||
msgstr "Inscription"
|
msgstr "Inscription"
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: code:addons/golem_activity_registration/models/golem_activity_registration.py:119
|
#: code:addons/golem_activity_registration/models/golem_activity_registration.py:130
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Subscription can not be executed : the targeted activity is only for subscriber."
|
msgid "Subscription can not be executed : the targeted activity is only for subscriber."
|
||||||
msgstr "L'inscription n'a pas pu être faite : l'activité choisie est réservée aux adhérents."
|
msgstr "L'inscription n'a pas pu être faite : l'activité choisie est réservée aux adhérents."
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: code:addons/golem_activity_registration/models/golem_activity_registration.py:123
|
#: code:addons/golem_activity_registration/models/golem_activity_registration.py:134
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Subscription can not be executed : the targeted member is not on the same season as the activity."
|
msgid "Subscription can not be executed : the targeted member is not on the same season as the activity."
|
||||||
msgstr "L'inscription n'a pas pu être enregistrée : l'usager visé n'est pas ahdérant pour la même saison que celle pendant laquelle se déroule l'activité."
|
msgstr "L'inscription n'a pas pu être enregistrée : l'usager visé n'est pas ahdérant pour la même saison que celle pendant laquelle se déroule l'activité."
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: code:addons/golem_activity_registration/models/golem_activity_registration.py:93
|
#: code:addons/golem_activity_registration/models/golem_activity_registration.py:104
|
||||||
#: sql_constraint:golem.activity.registration:0
|
#: sql_constraint:golem.activity.registration:0
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "This member has already been registered for this activity."
|
msgid "This member has already been registered for this activity."
|
||||||
|
@ -6,8 +6,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 10.0\n"
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2019-01-21 10:49+0000\n"
|
"POT-Creation-Date: 2018-09-26 08:25+0000\n"
|
||||||
"PO-Revision-Date: 2019-01-21 10:49+0000\n"
|
"PO-Revision-Date: 2018-09-26 08:25+0000\n"
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: <>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@ -53,7 +53,6 @@ msgstr ""
|
|||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_activity_id
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_activity_id
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_member_analysis_activity_id
|
|
||||||
msgid "Activity"
|
msgid "Activity"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -62,46 +61,16 @@ msgstr ""
|
|||||||
msgid "Activity registrations"
|
msgid "Activity registrations"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_age_computing
|
|
||||||
msgid "Age"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_member_activity_registration_all_ids
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_member_activity_registration_all_ids
|
||||||
msgid "All activities"
|
msgid "All activities"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_registration_analysis_wizard_view_form
|
|
||||||
msgid "Analyse Registrations"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_analyse_type
|
|
||||||
msgid "Analyse type"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: model:ir.actions.act_window,name:golem_activity_registration.golem_registrations_analysis_action
|
|
||||||
msgid "Analysis"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_member_card_template_inherit_golem_activity_resgitration
|
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_member_card_template_inherit_golem_activity_resgitration
|
||||||
msgid "Animator"
|
msgid "Animator"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: selection:golem.activity.registration.analysis.wizard,age_computing:0
|
|
||||||
msgid "At season start"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: selection:golem.activity.registration.analysis.wizard,age_computing:0
|
|
||||||
msgid "At season stop"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_registration_tree
|
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_registration_tree
|
||||||
msgid "Base price"
|
msgid "Base price"
|
||||||
@ -112,24 +81,17 @@ msgstr ""
|
|||||||
msgid "Base price to compute the customer price. Sometimes called the catalog price."
|
msgid "Base price to compute the customer price. Sometimes called the catalog price."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: selection:golem.activity.registration.analysis.wizard,analyse_type:0
|
|
||||||
msgid "By area and activity"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_registration_search
|
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_registration_search
|
||||||
msgid "By season"
|
msgid "By season"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_create_uid
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_create_uid
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_create_uid
|
||||||
msgid "Created by"
|
msgid "Created by"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_create_date
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_create_date
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_create_date
|
||||||
msgid "Created on"
|
msgid "Created on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -155,7 +117,6 @@ msgid "Default season?"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_display_name
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_display_name
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_display_name
|
||||||
msgid "Display Name"
|
msgid "Display Name"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -180,11 +141,6 @@ msgstr ""
|
|||||||
msgid "GOLEM Activity Registration"
|
msgid "GOLEM Activity Registration"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: model:ir.model,name:golem_activity_registration.model_golem_activity_registration_analysis_wizard
|
|
||||||
msgid "GOLEM Activity Registration Analysis Wizard Adaptation "
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.actions.act_window,name:golem_activity_registration.golem_activity_registration_action
|
#: model:ir.actions.act_window,name:golem_activity_registration.golem_activity_registration_action
|
||||||
msgid "GOLEM Activity Registration List"
|
msgid "GOLEM Activity Registration List"
|
||||||
@ -195,18 +151,12 @@ msgstr ""
|
|||||||
msgid "GOLEM Member"
|
msgid "GOLEM Member"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: model:ir.model,name:golem_activity_registration.model_golem_member_analysis
|
|
||||||
msgid "GOLEM Members Analysis Adaption"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_member_card_template_inherit_golem_activity_resgitration
|
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_member_card_template_inherit_golem_activity_resgitration
|
||||||
msgid "Hours"
|
msgid "Hours"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_id
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_id
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_id
|
||||||
msgid "ID"
|
msgid "ID"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -218,28 +168,19 @@ msgstr ""
|
|||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration___last_update
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration___last_update
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard___last_update
|
|
||||||
msgid "Last Modified on"
|
msgid "Last Modified on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_write_uid
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_write_uid
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_write_uid
|
||||||
msgid "Last Updated by"
|
msgid "Last Updated by"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_write_date
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_write_date
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_write_date
|
||||||
msgid "Last Updated on"
|
msgid "Last Updated on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: code:addons/golem_activity_registration/wizard/golem_activity_registration_analysis_wizard.py:86
|
|
||||||
#, python-format
|
|
||||||
msgid "Member Analysis"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_activity_registration_ids
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_activity_registration_ids
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_form_inherit_registration
|
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_form_inherit_registration
|
||||||
@ -247,16 +188,10 @@ msgid "Members"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_name
|
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_member_card_template_inherit_golem_activity_resgitration
|
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_member_card_template_inherit_golem_activity_resgitration
|
||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: selection:golem.activity.registration.analysis.wizard,age_computing:0
|
|
||||||
msgid "Now"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: code:addons/golem_activity_registration/models/golem_activity_registration.py:39
|
#: code:addons/golem_activity_registration/models/golem_activity_registration.py:39
|
||||||
#: sql_constraint:golem.activity:0
|
#: sql_constraint:golem.activity:0
|
||||||
@ -271,20 +206,11 @@ msgstr ""
|
|||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_only_for_subscriber
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_only_for_subscriber
|
||||||
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_only_for_subscriber
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_search_inherit_registration
|
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_search_inherit_registration
|
||||||
msgid "Only for subscriber"
|
msgid "Only for subscriber"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_season_end
|
|
||||||
msgid "Period end"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_season_start
|
|
||||||
msgid "Period start"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_places
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_places
|
||||||
msgid "Places"
|
msgid "Places"
|
||||||
@ -300,16 +226,6 @@ msgstr ""
|
|||||||
msgid "Practiced activities"
|
msgid "Practiced activities"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: code:addons/golem_activity_registration/wizard/golem_activity_registration_analysis_wizard.py:36
|
|
||||||
#: model:ir.ui.menu,name:golem_activity_registration.golem_activity_registration_analysis_menu
|
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_registration_analysis_wizard_view_form
|
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_member_analysis_pivot_age_end_activity_area
|
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_member_analysis_pivot_age_now_activity_area
|
|
||||||
#, python-format
|
|
||||||
msgid "Registration Analysis"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_tree_inherit_registration
|
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_activity_tree_inherit_registration
|
||||||
msgid "Remain"
|
msgid "Remain"
|
||||||
@ -326,16 +242,10 @@ msgid "Sale Price"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_analysis_wizard_season_id
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_season_id
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_season_id
|
||||||
msgid "Season"
|
msgid "Season"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration.golem_member_analysis_pivot_age_start_activity_area
|
|
||||||
msgid "Service User Analysis"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_member_id
|
#: model:ir.model.fields,field_description:golem_activity_registration.field_golem_activity_registration_member_id
|
||||||
msgid "Service user"
|
msgid "Service user"
|
||||||
@ -353,19 +263,19 @@ msgid "Subscription"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: code:addons/golem_activity_registration/models/golem_activity_registration.py:119
|
#: code:addons/golem_activity_registration/models/golem_activity_registration.py:130
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Subscription can not be executed : the targeted activity is only for subscriber."
|
msgid "Subscription can not be executed : the targeted activity is only for subscriber."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: code:addons/golem_activity_registration/models/golem_activity_registration.py:123
|
#: code:addons/golem_activity_registration/models/golem_activity_registration.py:134
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Subscription can not be executed : the targeted member is not on the same season as the activity."
|
msgid "Subscription can not be executed : the targeted member is not on the same season as the activity."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration
|
#. module: golem_activity_registration
|
||||||
#: code:addons/golem_activity_registration/models/golem_activity_registration.py:93
|
#: code:addons/golem_activity_registration/models/golem_activity_registration.py:104
|
||||||
#: sql_constraint:golem.activity.registration:0
|
#: sql_constraint:golem.activity.registration:0
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "This member has already been registered for this activity."
|
msgid "This member has already been registered for this activity."
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Copyright 2017-2019 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
||||||
@ -95,7 +95,7 @@ class GolemActivityRegistration(models.Model):
|
|||||||
@api.onchange('activity_id', 'activity_id.only_for_subscriber')
|
@api.onchange('activity_id', 'activity_id.only_for_subscriber')
|
||||||
def onchange_activity_subcrib(self):
|
def onchange_activity_subcrib(self):
|
||||||
""" If activity only for subscribers : do not allow non subscribers """
|
""" If activity only for subscribers : do not allow non subscribers """
|
||||||
domain = [('is_default', '=', True)]
|
domain = []
|
||||||
if self.activity_id.only_for_subscriber:
|
if self.activity_id.only_for_subscriber:
|
||||||
domain.append(('membership_state', 'not in', ('none', 'canceled', 'old')))
|
domain.append(('membership_state', 'not in', ('none', 'canceled', 'old')))
|
||||||
return {'domain': {'member_id': domain}}
|
return {'domain': {'member_id': domain}}
|
||||||
@ -103,7 +103,7 @@ class GolemActivityRegistration(models.Model):
|
|||||||
@api.onchange('member_id')
|
@api.onchange('member_id')
|
||||||
def onchange_member_subcrib(self):
|
def onchange_member_subcrib(self):
|
||||||
""" If not subscriber : do not show subscribers only activities """
|
""" If not subscriber : do not show subscribers only activities """
|
||||||
domain = [('is_default', '=', True)]
|
domain = []
|
||||||
if self.member_id and self.member_id.membership_state in ('none', 'canceled', 'old'):
|
if self.member_id and self.member_id.membership_state in ('none', 'canceled', 'old'):
|
||||||
domain.append(('only_for_subscriber', '=', False))
|
domain.append(('only_for_subscriber', '=', False))
|
||||||
return {'domain': {'activity_id': domain}}
|
return {'domain': {'activity_id': domain}}
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||||
access_golem_activity_registration_auditor,Access GOLEM Activity Registration Auditor,model_golem_activity_registration,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_golem_activity_registration_user,Access GOLEM Activity Registration User,model_golem_activity_registration,golem_base.group_golem_user,1,1,1,1
|
access_golem_activity_registration_user,Access GOLEM Activity Registration User,model_golem_activity_registration,golem_base.group_golem_user,1,1,1,1
|
||||||
access_golem_activity_registration_manager,Access GOLEM Activity Registration Manager,model_golem_activity_registration,golem_base.group_golem_manager,1,1,1,1
|
access_golem_activity_registration_manager,Access GOLEM Activity Registration Manager,model_golem_activity_registration,golem_base.group_golem_manager,1,1,1,1
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
<!--
|
||||||
Copyright 2017-2020 Fabien Bourgeois <fabien@yaltik.com>
|
Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
it under the terms of the GNU Affero General Public License as published by
|
||||||
@ -53,7 +53,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<field name="activity_id" domain="[('is_default', '=', True)]"
|
<field name="activity_id" domain="[('is_default', '=', True)]"
|
||||||
invisible="not context.get('activity_show', 1)" />
|
invisible="not context.get('activity_show', 1)" />
|
||||||
<field name="activity_price" string="Base price" sum="Total"
|
<field name="activity_price" string="Base price" sum="Total"
|
||||||
invisible="not context.get('activity_show', 1)" readonly="1" />
|
invisible="not context.get('activity_show', 1)" />
|
||||||
</tree>
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
@ -86,7 +86,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<menuitem id="golem_activity_registration_menu" name="Activity registrations"
|
<menuitem id="golem_activity_registration_menu" name="Activity registrations"
|
||||||
parent="golem_activity.golem_activity_menu"
|
parent="golem_activity.golem_activity_menu"
|
||||||
action="golem_activity_registration_action"
|
action="golem_activity_registration_action"
|
||||||
groups="golem_base.group_golem_user,golem_base.group_golem_auditor"
|
groups="golem_base.group_golem_user"
|
||||||
sequence="20" />
|
sequence="20" />
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
# Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
# Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
from . import golem_activity_registration_analysis_wizard, golem_member_analysis
|
|
@ -1,106 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
#
|
|
||||||
# Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
# Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
""" GOLEM Activity Registration Analysis Wizard Management """
|
|
||||||
|
|
||||||
import logging
|
|
||||||
from odoo import models, fields, api, _
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class GolemActivityRegistrationAnalysisWizard(models.TransientModel):
|
|
||||||
""" GOLEM Activity Registration Analysis Wizard Management """
|
|
||||||
_name = 'golem.activity.registration.analysis.wizard'
|
|
||||||
_description = 'GOLEM Activity Registration Analysis Wizard Management '
|
|
||||||
|
|
||||||
def default_season(self):
|
|
||||||
""" Get default season """
|
|
||||||
domain = [('is_default', '=', True)]
|
|
||||||
return self.env['golem.season'].search(domain, limit=1)
|
|
||||||
|
|
||||||
name = fields.Char(default='/')
|
|
||||||
season_id = fields.Many2one('golem.season', 'Season', required=True,
|
|
||||||
default=default_season, ondelete='cascade')
|
|
||||||
season_start = fields.Date(related='season_id.date_start')
|
|
||||||
season_end = fields.Date(related='season_id.date_end')
|
|
||||||
analyse_type = fields.Selection([('activity_area', 'By area and activity')],
|
|
||||||
default='activity_area', required=True)
|
|
||||||
age_computing = fields.Selection([('season_start', 'At season start'),
|
|
||||||
('season_end', 'At season stop'),
|
|
||||||
('now', 'Now')], required=True,
|
|
||||||
default='season_start', string='Age')
|
|
||||||
|
|
||||||
@api.multi
|
|
||||||
def get_pivot_view(self):
|
|
||||||
""" get pivot view """
|
|
||||||
self.ensure_one()
|
|
||||||
rec = self[0]
|
|
||||||
ref = u''
|
|
||||||
if rec.age_computing == 'season_start':
|
|
||||||
if rec.analyse_type == 'activity_area':
|
|
||||||
ref = (u'golem_activity_registration.'
|
|
||||||
'golem_member_analysis_pivot_age_start_activity_area')
|
|
||||||
elif rec.age_computing == 'season_end':
|
|
||||||
if rec.analyse_type == 'activity_area':
|
|
||||||
ref = (u'golem_activity_registration.'
|
|
||||||
'golem_member_analysis_pivot_age_end_activity_area')
|
|
||||||
else: # now
|
|
||||||
if rec.analyse_type == 'activity_area':
|
|
||||||
ref = (u'golem_activity_registration.'
|
|
||||||
'golem_member_analysis_pivot_age_now_activity_area')
|
|
||||||
return self.env.ref(ref, False)
|
|
||||||
|
|
||||||
@api.multi
|
|
||||||
def get_registrations(self):
|
|
||||||
""" Returns registrations """
|
|
||||||
self.ensure_one()
|
|
||||||
return self.env['golem.activity.registration'].search(
|
|
||||||
[('season_id', '=', self[0].season_id.id)]
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
@api.multi
|
|
||||||
def registration_analyse(self):
|
|
||||||
""" registration analyse """
|
|
||||||
self.ensure_one()
|
|
||||||
analysis_rec = self[0]
|
|
||||||
# Remove existing analysis lines for current analysis
|
|
||||||
self.env['golem.member.analysis'].search(
|
|
||||||
[('resgistration_analysis_id', '=', analysis_rec.id)]
|
|
||||||
).unlink()
|
|
||||||
|
|
||||||
registrations = analysis_rec.get_registrations()
|
|
||||||
if registrations:
|
|
||||||
for registration in registrations:
|
|
||||||
self.env['golem.member.analysis'].create({
|
|
||||||
'season_id': analysis_rec.season_id.id,
|
|
||||||
'member_id': registration.member_id.id,
|
|
||||||
'activity_id': registration.activity_id.id,
|
|
||||||
'resgistration_analysis_id': analysis_rec.id
|
|
||||||
})
|
|
||||||
analyse_pivot = analysis_rec.get_pivot_view()
|
|
||||||
return {
|
|
||||||
'name': _('Registration Analysis'),
|
|
||||||
'type': 'ir.actions.act_window',
|
|
||||||
'res_model': 'golem.member.analysis',
|
|
||||||
'domain': [('resgistration_analysis_id', '=', analysis_rec.id)],
|
|
||||||
'view_type': 'pivot',
|
|
||||||
'view_mode': 'pivot',
|
|
||||||
'view_id': analyse_pivot.id,
|
|
||||||
'target': 'current',
|
|
||||||
}
|
|
@ -1,66 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Copyright 2019-2020 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
Copyright 2019-2020 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU Affero General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Affero General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<odoo>
|
|
||||||
<data>
|
|
||||||
|
|
||||||
<!-- Forms -->
|
|
||||||
<record model="ir.ui.view" id="golem_activity_registration_analysis_wizard_view_form">
|
|
||||||
<field name="name">GOLEM Activity Registration Analyse Wizard Form</field>
|
|
||||||
<field name="model">golem.activity.registration.analysis.wizard</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<form string="Registration Analysis">
|
|
||||||
<header>
|
|
||||||
<button name="registration_analyse" string="Analyse Registrations"
|
|
||||||
type="object" class="oe_highlight" />
|
|
||||||
</header>
|
|
||||||
<sheet>
|
|
||||||
<group>
|
|
||||||
<group>
|
|
||||||
<field name="season_id" options="{'no_create': True}"/>
|
|
||||||
</group>
|
|
||||||
<group>
|
|
||||||
<field name="season_start" readonly="1"/>
|
|
||||||
<field name="season_end" readonly="1"/>
|
|
||||||
</group>
|
|
||||||
<group>
|
|
||||||
<field name="analyse_type" widget="radio"/>
|
|
||||||
<field name="age_computing" widget="radio"/>
|
|
||||||
</group>
|
|
||||||
</group>
|
|
||||||
</sheet>
|
|
||||||
|
|
||||||
</form>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<!-- Actions -->
|
|
||||||
<act_window id="golem_registrations_analysis_action" name="Analysis"
|
|
||||||
res_model="golem.activity.registration.analysis.wizard" view_mode="form"
|
|
||||||
target="current"/>
|
|
||||||
|
|
||||||
<menuitem id="golem_activity_registration_analysis_menu"
|
|
||||||
name="Registration Analysis"
|
|
||||||
parent="golem_activity.golem_activity_menu"
|
|
||||||
groups="golem_base.group_golem_user,golem_base.group_golem_auditor"
|
|
||||||
action="golem_registrations_analysis_action" sequence="50" />
|
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
|
@ -1,33 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
#
|
|
||||||
# Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
# Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
""" GOLEM Members Analysis Adaptation """
|
|
||||||
|
|
||||||
import logging
|
|
||||||
from odoo import models, fields, api, _
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
class GolemMemberAnalysis(models.TransientModel):
|
|
||||||
""" GOLEM Member Analysis Adaptation """
|
|
||||||
_inherit = 'golem.member.analysis'
|
|
||||||
_description = 'GOLEM Member Analysis Adaptation'
|
|
||||||
|
|
||||||
resgistration_analysis_id = fields.Many2one(
|
|
||||||
'golem.activity.registration.analysis.wizard', index=True
|
|
||||||
)
|
|
||||||
activity_id = fields.Many2one('golem.activity', 'Activity')
|
|
@ -1,60 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU Affero General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Affero General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<odoo>
|
|
||||||
<data>
|
|
||||||
|
|
||||||
<!-- Pivots -->
|
|
||||||
<record id="golem_member_analysis_pivot_age_start_activity_area" model="ir.ui.view">
|
|
||||||
<field name="name">Golem Member Analysis Age Start Activity Area Pivot</field>
|
|
||||||
<field name="model">golem.member.analysis</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<pivot string="Service User Analysis">
|
|
||||||
<field name="age_range_start_season" type="col"/>
|
|
||||||
<field name="activity_id" type="row"/>
|
|
||||||
<field name="area_id" type="row"/>
|
|
||||||
</pivot>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
<record id="golem_member_analysis_pivot_age_end_activity_area" model="ir.ui.view">
|
|
||||||
<field name="name">Golem Member Analysis Age End Activity Area Pivot</field>
|
|
||||||
<field name="model">golem.member.analysis</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<pivot string="Registration Analysis">
|
|
||||||
<field name="age_range_end_season" type="col"/>
|
|
||||||
<field name="activity_id" type="row"/>
|
|
||||||
<field name="area_id" type="row"/>
|
|
||||||
</pivot>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
<record id="golem_member_analysis_pivot_age_now_activity_area" model="ir.ui.view">
|
|
||||||
<field name="name">Golem Member Analysis Age Now Activity Area Pivot</field>
|
|
||||||
<field name="model">golem.member.analysis</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<pivot string="Registration Analysis">
|
|
||||||
<field name="age_range_now" type="col"/>
|
|
||||||
<field name="activity_id" type="row"/>
|
|
||||||
<field name="area_id" type="row"/>
|
|
||||||
</pivot>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2018-2019 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
||||||
@ -24,7 +24,7 @@
|
|||||||
- allow set price per area and slice ;
|
- allow set price per area and slice ;
|
||||||
- computes automatically applicable price ;
|
- computes automatically applicable price ;
|
||||||
- anticipate ruleset to be implemented for computing.''',
|
- anticipate ruleset to be implemented for computing.''',
|
||||||
'version': '10.0.0.3.2',
|
'version': '10.0.0.2.0',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
@ -36,6 +36,5 @@
|
|||||||
'views/golem_payment_rule_quotient_slice_views.xml',
|
'views/golem_payment_rule_quotient_slice_views.xml',
|
||||||
'views/golem_member_views.xml',
|
'views/golem_member_views.xml',
|
||||||
'views/golem_activity_views.xml',
|
'views/golem_activity_views.xml',
|
||||||
'wizard/golem_activity_registration_invoicing_views.xml',
|
'wizard/golem_activity_registration_invoicing_views.xml']
|
||||||
'wizard/golem_member_analysis_views.xml']
|
|
||||||
}
|
}
|
||||||
|
@ -6,8 +6,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 10.0\n"
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2019-01-21 10:20+0000\n"
|
"POT-Creation-Date: 2018-08-03 23:02+0000\n"
|
||||||
"PO-Revision-Date: 2019-01-21 11:21+0100\n"
|
"PO-Revision-Date: 2018-08-04 01:17+0200\n"
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: <>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@ -70,7 +70,7 @@ msgid "Current family quotient slice cannot be included into another existing sl
|
|||||||
msgstr "La tranche de quotient familial ne peut être incluse dans une tranche existante."
|
msgstr "La tranche de quotient familial ne peut être incluse dans une tranche existante."
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
#. module: golem_activity_registration_custom_price
|
||||||
#: code:addons/golem_activity_registration_custom_price/models/golem_member.py:30
|
#: code:addons/golem_activity_registration_custom_price/models/golem_member.py:29
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration_custom_price.golem_activity_registration_invoicing_form_inherit_custom_price
|
#: model:ir.ui.view,arch_db:golem_activity_registration_custom_price.golem_activity_registration_invoicing_form_inherit_custom_price
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Default price"
|
msgid "Default price"
|
||||||
@ -89,13 +89,13 @@ msgid "Family Quotients"
|
|||||||
msgstr "Quotients familiaux"
|
msgstr "Quotients familiaux"
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
#. module: golem_activity_registration_custom_price
|
||||||
#: code:addons/golem_activity_registration_custom_price/models/golem_member.py:62
|
#: code:addons/golem_activity_registration_custom_price/models/golem_member.py:61
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Family quotient and area"
|
msgid "Family quotient and area"
|
||||||
msgstr "Quotient familial et territoire"
|
msgstr "Quotient familial et territoire"
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
#. module: golem_activity_registration_custom_price
|
||||||
#: code:addons/golem_activity_registration_custom_price/models/golem_member.py:60
|
#: code:addons/golem_activity_registration_custom_price/models/golem_member.py:59
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Family quotient but random area"
|
msgid "Family quotient but random area"
|
||||||
msgstr "Quotient familial mais territoire aléatoire"
|
msgstr "Quotient familial mais territoire aléatoire"
|
||||||
@ -116,11 +116,6 @@ msgstr "La borne basse du quotient familial fait partie d'une tranche existante.
|
|||||||
msgid "Family quotient slice"
|
msgid "Family quotient slice"
|
||||||
msgstr "Tranche de quotient familial"
|
msgstr "Tranche de quotient familial"
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration_custom_price.field_golem_member_analysis_family_quotient_slice_id
|
|
||||||
msgid "Family quotient slice id"
|
|
||||||
msgstr "Tranche de quotient familial"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
#. module: golem_activity_registration_custom_price
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration_custom_price.field_golem_payment_rule_familyquotient_slice_family_quotient_to
|
#: model:ir.model.fields,field_description:golem_activity_registration_custom_price.field_golem_payment_rule_familyquotient_slice_family_quotient_to
|
||||||
msgid "Family quotient to"
|
msgid "Family quotient to"
|
||||||
@ -152,21 +147,16 @@ msgstr "GOLEM Activity Registration Invoicing Lines"
|
|||||||
msgid "GOLEM Member"
|
msgid "GOLEM Member"
|
||||||
msgstr "Usager"
|
msgstr "Usager"
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
|
||||||
#: model:ir.model,name:golem_activity_registration_custom_price.model_golem_member_analysis_wizard
|
|
||||||
msgid "GOLEM Members Analysis Wizard Adaptation"
|
|
||||||
msgstr "GOLEM Members Analysis Wizard Adaptation"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
|
||||||
#: model:ir.model,name:golem_activity_registration_custom_price.model_golem_member_analysis
|
|
||||||
msgid "GOLEM Members Analysis Adaption"
|
|
||||||
msgstr "GOLEM Members Analysis Adaption"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
#. module: golem_activity_registration_custom_price
|
||||||
#: model:ir.model,name:golem_activity_registration_custom_price.model_golem_payment_rule_familyquotient_slice
|
#: model:ir.model,name:golem_activity_registration_custom_price.model_golem_payment_rule_familyquotient_slice
|
||||||
msgid "GOLEM Payment Rule Family Quotient Slice"
|
msgid "GOLEM Payment Rule Family Quotient Slice"
|
||||||
msgstr "GOLEM Payment Rule Family Quotient Slice"
|
msgstr "GOLEM Payment Rule Family Quotient Slice"
|
||||||
|
|
||||||
|
#. module: golem_activity_registration_custom_price
|
||||||
|
#: model:ir.model,name:golem_activity_registration_custom_price.model_golem_payment_rule_geo
|
||||||
|
msgid "GOLEM Payment Rule Geo"
|
||||||
|
msgstr "GOLEM Payment Rule Geo"
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
#. module: golem_activity_registration_custom_price
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration_custom_price.field_golem_activity_price_line_id
|
#: model:ir.model.fields,field_description:golem_activity_registration_custom_price.field_golem_activity_price_line_id
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration_custom_price.field_golem_payment_rule_familyquotient_slice_id
|
#: model:ir.model.fields,field_description:golem_activity_registration_custom_price.field_golem_payment_rule_familyquotient_slice_id
|
||||||
@ -216,11 +206,6 @@ msgstr "Lignes tarifaires"
|
|||||||
msgid "Prices"
|
msgid "Prices"
|
||||||
msgstr "Tarifs"
|
msgstr "Tarifs"
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration_custom_price.field_golem_activity_registration_invoicing_line_pricing_info
|
|
||||||
msgid "Pricing info"
|
|
||||||
msgstr "Information tarifaire"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
#. module: golem_activity_registration_custom_price
|
||||||
#: model:ir.ui.menu,name:golem_activity_registration_custom_price.golem_payment_rule_menu
|
#: model:ir.ui.menu,name:golem_activity_registration_custom_price.golem_payment_rule_menu
|
||||||
msgid "Pricing rules"
|
msgid "Pricing rules"
|
||||||
@ -241,16 +226,11 @@ msgstr "Prix de vente"
|
|||||||
msgid "Sequence"
|
msgid "Sequence"
|
||||||
msgstr "Séquence"
|
msgstr "Séquence"
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration_custom_price.golem_member_analysis_pivot_fquotientslice_area
|
|
||||||
msgid "Service User Analysis"
|
|
||||||
msgstr "Analyse des usagers"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
#. module: golem_activity_registration_custom_price
|
||||||
#: code:addons/golem_activity_registration_custom_price/models/golem_payment_rule_quotient_slice.py:49
|
#: code:addons/golem_activity_registration_custom_price/models/golem_payment_rule_quotient_slice.py:49
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "The 'to' family quotient must be higher than the 'from' one."
|
msgid "The 'to' family quotient must be higher than the 'from' one."
|
||||||
msgstr "La borne haute du quotient familial doit être supérieure à la borne basse."
|
msgstr "La borne haute du quotient familial doit être supérieur à la borne basse."
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
#. module: golem_activity_registration_custom_price
|
||||||
#: code:addons/golem_activity_registration_custom_price/models/golem_activity_price_line.py:30
|
#: code:addons/golem_activity_registration_custom_price/models/golem_activity_price_line.py:30
|
||||||
|
@ -6,8 +6,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 10.0\n"
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2019-01-21 10:20+0000\n"
|
"POT-Creation-Date: 2018-08-03 23:02+0000\n"
|
||||||
"PO-Revision-Date: 2019-01-21 10:20+0000\n"
|
"PO-Revision-Date: 2018-08-03 23:02+0000\n"
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: <>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@ -70,7 +70,7 @@ msgid "Current family quotient slice cannot be included into another existing sl
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
#. module: golem_activity_registration_custom_price
|
||||||
#: code:addons/golem_activity_registration_custom_price/models/golem_member.py:30
|
#: code:addons/golem_activity_registration_custom_price/models/golem_member.py:29
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration_custom_price.golem_activity_registration_invoicing_form_inherit_custom_price
|
#: model:ir.ui.view,arch_db:golem_activity_registration_custom_price.golem_activity_registration_invoicing_form_inherit_custom_price
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Default price"
|
msgid "Default price"
|
||||||
@ -89,13 +89,13 @@ msgid "Family Quotients"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
#. module: golem_activity_registration_custom_price
|
||||||
#: code:addons/golem_activity_registration_custom_price/models/golem_member.py:62
|
#: code:addons/golem_activity_registration_custom_price/models/golem_member.py:61
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Family quotient and area"
|
msgid "Family quotient and area"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
#. module: golem_activity_registration_custom_price
|
||||||
#: code:addons/golem_activity_registration_custom_price/models/golem_member.py:60
|
#: code:addons/golem_activity_registration_custom_price/models/golem_member.py:59
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Family quotient but random area"
|
msgid "Family quotient but random area"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -116,11 +116,6 @@ msgstr ""
|
|||||||
msgid "Family quotient slice"
|
msgid "Family quotient slice"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration_custom_price.field_golem_member_analysis_family_quotient_slice_id
|
|
||||||
msgid "Family quotient slice id"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
#. module: golem_activity_registration_custom_price
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration_custom_price.field_golem_payment_rule_familyquotient_slice_family_quotient_to
|
#: model:ir.model.fields,field_description:golem_activity_registration_custom_price.field_golem_payment_rule_familyquotient_slice_family_quotient_to
|
||||||
msgid "Family quotient to"
|
msgid "Family quotient to"
|
||||||
@ -152,21 +147,16 @@ msgstr ""
|
|||||||
msgid "GOLEM Member"
|
msgid "GOLEM Member"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
|
||||||
#: model:ir.model,name:golem_activity_registration_custom_price.model_golem_member_analysis_wizard
|
|
||||||
msgid "GOLEM Members Analysis Wizard Adaptation"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
|
||||||
#: model:ir.model,name:golem_activity_registration_custom_price.model_golem_member_analysis
|
|
||||||
msgid "GOLEM Members Analysis Adaption"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
#. module: golem_activity_registration_custom_price
|
||||||
#: model:ir.model,name:golem_activity_registration_custom_price.model_golem_payment_rule_familyquotient_slice
|
#: model:ir.model,name:golem_activity_registration_custom_price.model_golem_payment_rule_familyquotient_slice
|
||||||
msgid "GOLEM Payment Rule Family Quotient Slice"
|
msgid "GOLEM Payment Rule Family Quotient Slice"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: golem_activity_registration_custom_price
|
||||||
|
#: model:ir.model,name:golem_activity_registration_custom_price.model_golem_payment_rule_geo
|
||||||
|
msgid "GOLEM Payment Rule Geo"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
#. module: golem_activity_registration_custom_price
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration_custom_price.field_golem_activity_price_line_id
|
#: model:ir.model.fields,field_description:golem_activity_registration_custom_price.field_golem_activity_price_line_id
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration_custom_price.field_golem_payment_rule_familyquotient_slice_id
|
#: model:ir.model.fields,field_description:golem_activity_registration_custom_price.field_golem_payment_rule_familyquotient_slice_id
|
||||||
@ -216,11 +206,6 @@ msgstr ""
|
|||||||
msgid "Prices"
|
msgid "Prices"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration_custom_price.field_golem_activity_registration_invoicing_line_pricing_info
|
|
||||||
msgid "Pricing info"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
#. module: golem_activity_registration_custom_price
|
||||||
#: model:ir.ui.menu,name:golem_activity_registration_custom_price.golem_payment_rule_menu
|
#: model:ir.ui.menu,name:golem_activity_registration_custom_price.golem_payment_rule_menu
|
||||||
msgid "Pricing rules"
|
msgid "Pricing rules"
|
||||||
@ -241,11 +226,6 @@ msgstr ""
|
|||||||
msgid "Sequence"
|
msgid "Sequence"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration_custom_price.golem_member_analysis_pivot_fquotientslice_area
|
|
||||||
msgid "Service User Analysis"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration_custom_price
|
#. module: golem_activity_registration_custom_price
|
||||||
#: code:addons/golem_activity_registration_custom_price/models/golem_payment_rule_quotient_slice.py:49
|
#: code:addons/golem_activity_registration_custom_price/models/golem_payment_rule_quotient_slice.py:49
|
||||||
#, python-format
|
#, python-format
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||||
access_golem_payment_rule_familyquotient_slice_auditor,Access GOLEM Payment Rule Familyquotient Slice auditor,model_golem_payment_rule_familyquotient_slice,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_golem_payment_rule_familyquotient_slice_user,Access GOLEM Payment Rule Familyquotient Slice User,model_golem_payment_rule_familyquotient_slice,golem_base.group_golem_user,1,0,0,0
|
access_golem_payment_rule_familyquotient_slice_user,Access GOLEM Payment Rule Familyquotient Slice User,model_golem_payment_rule_familyquotient_slice,golem_base.group_golem_user,1,0,0,0
|
||||||
access_golem_payment_rule_familyquotient_slice_manager,Access GOLEM Payment Rule Familyquotient Slice Manager,model_golem_payment_rule_familyquotient_slice,golem_base.group_golem_manager,1,1,1,1
|
access_golem_payment_rule_familyquotient_slice_manager,Access GOLEM Payment Rule Familyquotient Slice Manager,model_golem_payment_rule_familyquotient_slice,golem_base.group_golem_manager,0,1,1,1
|
||||||
access_golem_activity_priceline_auditor,Access GOLEM Activity Price Line Auditor,model_golem_activity_price_line,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_golem_activity_priceline_user,Access GOLEM Activity Price Line User,model_golem_activity_price_line,golem_base.group_golem_user,1,0,0,0
|
access_golem_activity_priceline_user,Access GOLEM Activity Price Line User,model_golem_activity_price_line,golem_base.group_golem_user,1,0,0,0
|
||||||
access_golem_activity_priceline_manager,Access GOLEM Activity Price Line Manager,model_golem_activity_price_line,golem_base.group_golem_manager,1,1,1,1
|
access_golem_activity_priceline_manager,Access GOLEM Activity Price Line Manager,model_golem_activity_price_line,golem_base.group_golem_manager,1,1,1,1
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
<!--
|
||||||
Copyright 2018-2020 Fabien Bourgeois <fabien@yaltik.com>
|
Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
it under the terms of the GNU Affero General Public License as published by
|
||||||
@ -53,7 +53,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<!-- Menus -->
|
<!-- Menus -->
|
||||||
<menuitem id="golem_payment_rule_menu" name="Pricing rules"
|
<menuitem id="golem_payment_rule_menu" name="Pricing rules"
|
||||||
parent="golem_activity.golem_activity_menu_configuration"
|
parent="golem_activity.golem_activity_menu_configuration"
|
||||||
groups="golem_base.group_golem_manager,golem_base.group_golem_auditor" sequence="20" />
|
groups="golem_base.group_golem_manager" sequence="20" />
|
||||||
<menuitem id="golem_payment_rule_qfslice_menu" name="Family Quotients"
|
<menuitem id="golem_payment_rule_qfslice_menu" name="Family Quotients"
|
||||||
parent="golem_payment_rule_menu" action="golem_payment_rule_qfslice_action"
|
parent="golem_payment_rule_menu" action="golem_payment_rule_qfslice_action"
|
||||||
sequence="10" />
|
sequence="10" />
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2018-2019 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
||||||
@ -15,5 +15,4 @@
|
|||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from . import (golem_activity_registration_invoicing,
|
from . import golem_activity_registration_invoicing
|
||||||
golem_member_analysis, golem_member_analysis_wizard)
|
|
||||||
|
@ -1,47 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
#
|
|
||||||
# Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
# Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
""" GOLEM Members Analysis Pivot Adaption """
|
|
||||||
|
|
||||||
from odoo import models, fields, api
|
|
||||||
|
|
||||||
|
|
||||||
class GolemMemberAnalysisPivot(models.TransientModel):
|
|
||||||
""" GOLEM Members Analysis Pivot Adaption """
|
|
||||||
_inherit = 'golem.member.analysis'
|
|
||||||
_description = 'GOLEM Members Analysis Adaption'
|
|
||||||
|
|
||||||
|
|
||||||
family_quotient_slice_id = fields.Many2one(
|
|
||||||
'golem.payment.rule.familyquotient.slice', index=True, ondelete='cascade',
|
|
||||||
store=True, compute='_compute_family_quotient_slice_id'
|
|
||||||
)
|
|
||||||
|
|
||||||
@api.depends('family_quotient')
|
|
||||||
def _compute_family_quotient_slice_id(self):
|
|
||||||
""" Computes family quotient slice """
|
|
||||||
for rec in self:
|
|
||||||
if rec.family_quotient:
|
|
||||||
fq_int = int(rec.family_quotient)
|
|
||||||
domain = [('family_quotient_from', '<=', fq_int),
|
|
||||||
('family_quotient_to', '>=', fq_int)]
|
|
||||||
rule_slice_id = self.env['golem.payment.rule.familyquotient.slice'].search(
|
|
||||||
domain, limit=1
|
|
||||||
)
|
|
||||||
if rule_slice_id:
|
|
||||||
rec.family_quotient_slice_id = rule_slice_id
|
|
@ -1,37 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU Affero General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Affero General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<odoo>
|
|
||||||
<data>
|
|
||||||
|
|
||||||
<!-- Pivot -->
|
|
||||||
<record id="golem_member_analysis_pivot_fquotientslice_area" model="ir.ui.view">
|
|
||||||
<field name="name">Golem Member Analysis Fquotient Slice and Area Pivot</field>
|
|
||||||
<field name="model">golem.member.analysis</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<pivot string="Service User Analysis">
|
|
||||||
<field name="area_id" type="col"/>
|
|
||||||
<field name="family_quotient_slice_id" type="row"/>
|
|
||||||
</pivot>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
|
@ -1,48 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
#
|
|
||||||
# Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
# Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
""" GOLEM Members Analysis Adaptation """
|
|
||||||
|
|
||||||
from odoo import models, fields, api
|
|
||||||
|
|
||||||
|
|
||||||
class GolemMemberAnalysis(models.TransientModel):
|
|
||||||
""" GOLEM Members Analysis Adaptation """
|
|
||||||
_inherit = 'golem.member.analysis.wizard'
|
|
||||||
_description = 'GOLEM Members Analysis Wizard Adaptation'
|
|
||||||
|
|
||||||
analyse_type = fields.Selection(
|
|
||||||
selection_add=[('fquotientslice_area',
|
|
||||||
'By family quotient slice and area')]
|
|
||||||
)
|
|
||||||
|
|
||||||
@api.multi
|
|
||||||
def get_pivot_view(self):
|
|
||||||
""" override get_pivot_view function """
|
|
||||||
self.ensure_one()
|
|
||||||
rec = self[0]
|
|
||||||
pivot_view = super(GolemMemberAnalysis, self).get_pivot_view()
|
|
||||||
if pivot_view:
|
|
||||||
return pivot_view
|
|
||||||
if rec.analyse_type == 'fquotientslice_area':
|
|
||||||
return self.env.ref(
|
|
||||||
('golem_activity_registration_custom_price.'
|
|
||||||
'golem_member_analysis_pivot_fquotientslice_area'),
|
|
||||||
False
|
|
||||||
)
|
|
||||||
return False
|
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2018-2019 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
# Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
|
# Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
@ -20,7 +20,7 @@
|
|||||||
'name': 'GOLEM Activity Member Registration Payments',
|
'name': 'GOLEM Activity Member Registration Payments',
|
||||||
'summary': 'GOLEM Activities Member Registration Payments',
|
'summary': 'GOLEM Activities Member Registration Payments',
|
||||||
'description': 'GOLEM Activities Member Registration Payments',
|
'description': 'GOLEM Activities Member Registration Payments',
|
||||||
'version': '10.0.0.7.1',
|
'version': '10.0.0.6.1',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
@ -31,6 +31,5 @@
|
|||||||
'views/golem_activity_registration_views.xml',
|
'views/golem_activity_registration_views.xml',
|
||||||
'report/golem_member_card_templates.xml',
|
'report/golem_member_card_templates.xml',
|
||||||
'wizard/golem_activity_registration_invoicing.xml',
|
'wizard/golem_activity_registration_invoicing.xml',
|
||||||
'views/golem_activity_views.xml',
|
'views/golem_activity_views.xml']
|
||||||
'views/account_invoice.xml']
|
|
||||||
}
|
}
|
||||||
|
@ -6,8 +6,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 10.0\n"
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2019-01-21 11:30+0000\n"
|
"POT-Creation-Date: 2018-11-01 17:43+0000\n"
|
||||||
"PO-Revision-Date: 2019-01-21 12:31+0100\n"
|
"PO-Revision-Date: 2018-11-01 18:45+0100\n"
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: <>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@ -60,11 +60,6 @@ msgstr "Toutes les inscriptions confirmées ont déjà été facturées."
|
|||||||
msgid "Amount"
|
msgid "Amount"
|
||||||
msgstr "Montant"
|
msgstr "Montant"
|
||||||
|
|
||||||
#. module: golem_activity_registration_payment
|
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration_payment.invoice_search_inherited_activity_registration_payment
|
|
||||||
msgid "By Month"
|
|
||||||
msgstr "Mois de facturation"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration_payment
|
#. module: golem_activity_registration_payment
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration_payment.golem_activity_registration_search_inherit_payment
|
#: model:ir.ui.view,arch_db:golem_activity_registration_payment.golem_activity_registration_search_inherit_payment
|
||||||
msgid "By invoice state"
|
msgid "By invoice state"
|
||||||
@ -266,11 +261,6 @@ msgstr "Dernière mise à jour par"
|
|||||||
msgid "Last Updated on"
|
msgid "Last Updated on"
|
||||||
msgstr "Dernière mise à jour le"
|
msgstr "Dernière mise à jour le"
|
||||||
|
|
||||||
#. module: golem_activity_registration_payment
|
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration_payment.invoice_search_inherited_activity_registration_payment
|
|
||||||
msgid "Last year invoices"
|
|
||||||
msgstr "Année dernière"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration_payment
|
#. module: golem_activity_registration_payment
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration_payment.field_golem_activity_registration_invoicing_member_id
|
#: model:ir.model.fields,field_description:golem_activity_registration_payment.field_golem_activity_registration_invoicing_member_id
|
||||||
msgid "Member"
|
msgid "Member"
|
||||||
@ -372,11 +362,6 @@ msgstr "Il n'y a pas de facture générée."
|
|||||||
msgid "There is no generated payments."
|
msgid "There is no generated payments."
|
||||||
msgstr "Il n'y a pas de paiement généré."
|
msgstr "Il n'y a pas de paiement généré."
|
||||||
|
|
||||||
#. module: golem_activity_registration_payment
|
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration_payment.invoice_search_inherited_activity_registration_payment
|
|
||||||
msgid "This year invoices"
|
|
||||||
msgstr "Cette année"
|
|
||||||
|
|
||||||
#. module: golem_activity_registration_payment
|
#. module: golem_activity_registration_payment
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration_payment.golem_activity_registration_invoicing_view_form
|
#: model:ir.ui.view,arch_db:golem_activity_registration_payment.golem_activity_registration_invoicing_view_form
|
||||||
msgid "Total"
|
msgid "Total"
|
||||||
|
@ -6,8 +6,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 10.0\n"
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2019-01-21 11:30+0000\n"
|
"POT-Creation-Date: 2018-11-01 17:43+0000\n"
|
||||||
"PO-Revision-Date: 2019-01-21 11:30+0000\n"
|
"PO-Revision-Date: 2018-11-01 17:43+0000\n"
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: <>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@ -56,11 +56,6 @@ msgstr ""
|
|||||||
msgid "Amount"
|
msgid "Amount"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration_payment
|
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration_payment.invoice_search_inherited_activity_registration_payment
|
|
||||||
msgid "By Month"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration_payment
|
#. module: golem_activity_registration_payment
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration_payment.golem_activity_registration_search_inherit_payment
|
#: model:ir.ui.view,arch_db:golem_activity_registration_payment.golem_activity_registration_search_inherit_payment
|
||||||
msgid "By invoice state"
|
msgid "By invoice state"
|
||||||
@ -262,11 +257,6 @@ msgstr ""
|
|||||||
msgid "Last Updated on"
|
msgid "Last Updated on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration_payment
|
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration_payment.invoice_search_inherited_activity_registration_payment
|
|
||||||
msgid "Last year invoices"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration_payment
|
#. module: golem_activity_registration_payment
|
||||||
#: model:ir.model.fields,field_description:golem_activity_registration_payment.field_golem_activity_registration_invoicing_member_id
|
#: model:ir.model.fields,field_description:golem_activity_registration_payment.field_golem_activity_registration_invoicing_member_id
|
||||||
msgid "Member"
|
msgid "Member"
|
||||||
@ -368,11 +358,6 @@ msgstr ""
|
|||||||
msgid "There is no generated payments."
|
msgid "There is no generated payments."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_activity_registration_payment
|
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration_payment.invoice_search_inherited_activity_registration_payment
|
|
||||||
msgid "This year invoices"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_activity_registration_payment
|
#. module: golem_activity_registration_payment
|
||||||
#: model:ir.ui.view,arch_db:golem_activity_registration_payment.golem_activity_registration_invoicing_view_form
|
#: model:ir.ui.view,arch_db:golem_activity_registration_payment.golem_activity_registration_invoicing_view_form
|
||||||
msgid "Total"
|
msgid "Total"
|
||||||
|
@ -1,41 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU Affero General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Affero General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<odoo>
|
|
||||||
<data>
|
|
||||||
|
|
||||||
<!-- Searches -->
|
|
||||||
<record id="invoice_search_inherited_activity_registration_payment" model="ir.ui.view">
|
|
||||||
<field name="name">account.invoice.search.iherited.activity.registration.payment</field>
|
|
||||||
<field name="model">account.invoice</field>
|
|
||||||
<field name="inherit_id" ref="account.view_account_invoice_filter" />
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<xpath expr="//group[1]" position="inside">
|
|
||||||
<filter name="invoice_last_year" string="Last year invoices"
|
|
||||||
domain="[('date_invoice', '>=', (context_today() - datetime.timedelta(days=365.25)).strftime('%Y-01-01')), ('date_invoice', '<', context_today().strftime('%Y-01-01'))]" />
|
|
||||||
<filter name="invoice_this_year" string="This year invoices"
|
|
||||||
domain="[('date_invoice', '>=', context_today().strftime('%Y-01-01'))]" />
|
|
||||||
<filter name="group_by_month" string="By Month" context="{'group_by':'date_invoice:month'}"/>
|
|
||||||
</xpath>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2017-2019 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
# Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
|
# Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
@ -156,14 +156,10 @@ class GolemActivityRegistrationInvoicing(models.TransientModel):
|
|||||||
if not self.invoice_id:
|
if not self.invoice_id:
|
||||||
uerr = _('There is no generated invoice.')
|
uerr = _('There is no generated invoice.')
|
||||||
raise UserError(uerr)
|
raise UserError(uerr)
|
||||||
search_view_id = self.env.ref('account.view_account_invoice_filter')
|
|
||||||
form_view_id = self.env.ref('account.invoice_form')
|
|
||||||
tree_view_ref = self.env.ref('account.invoice_tree', False)
|
|
||||||
return {
|
return {
|
||||||
'type': 'ir.actions.act_window',
|
'type': 'ir.actions.act_window',
|
||||||
'name': _('Generated invoice'),
|
'name': _('Generated invoice'),
|
||||||
'view_mode': 'form',
|
'view_mode': 'form,tree',
|
||||||
'view_id': form_view_id.id,
|
|
||||||
'res_model': 'account.invoice',
|
'res_model': 'account.invoice',
|
||||||
'res_id': self[0].invoice_id.id
|
'res_id': self[0].invoice_id.id
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2018-2019 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
||||||
@ -15,4 +15,4 @@
|
|||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from . import wizard, models
|
from . import wizard
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2018-2019 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
||||||
@ -18,14 +18,13 @@
|
|||||||
{
|
{
|
||||||
'name': 'GOLEM Activity Payment for Minors',
|
'name': 'GOLEM Activity Payment for Minors',
|
||||||
'summary': 'GOLEM Activity Registration Payment for Minors',
|
'summary': 'GOLEM Activity Registration Payment for Minors',
|
||||||
'version': '10.0.0.2.0',
|
'version': '10.0.0.1.1',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': False,
|
'application': False,
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'auto_install': True,
|
'auto_install': True,
|
||||||
'depends': ['golem_member_minor', 'golem_activity_registration_payment',
|
'depends': ['golem_member_minor', 'golem_activity_registration_payment'],
|
||||||
'golem_member_account'],
|
|
||||||
'data': ['views/golem_activity_registration_invoicing.xml']
|
'data': ['views/golem_activity_registration_invoicing.xml']
|
||||||
}
|
}
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
# Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
from . import golem_member
|
|
@ -1,61 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
# Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
""" GOLEM Member adaptations """
|
|
||||||
|
|
||||||
from odoo import models, api
|
|
||||||
|
|
||||||
|
|
||||||
class GolemMember(models.Model):
|
|
||||||
""" GOLEM Member adaptations """
|
|
||||||
_inherit = 'golem.member'
|
|
||||||
|
|
||||||
@api.multi
|
|
||||||
def open_partner_invoices(self):
|
|
||||||
""" Overwrite open member invoices """
|
|
||||||
self.ensure_one()
|
|
||||||
domain = ['|',
|
|
||||||
('partner_id', '=', self.partner_id.id),
|
|
||||||
('partner_ids', '=', self.partner_id.id)]
|
|
||||||
invoice_ids = self.env['account.invoice'].search(domain)
|
|
||||||
action = self.env.ref('account.action_invoice_tree1').read()[0]
|
|
||||||
action['context'] = {'type':'out_invoice', 'journal_type': 'sale',
|
|
||||||
'default_partner_id': self[0].partner_id.id}
|
|
||||||
action['domain'] = [('id', 'in', invoice_ids.ids)]
|
|
||||||
return action
|
|
||||||
|
|
||||||
@api.multi
|
|
||||||
def open_partner_payments(self):
|
|
||||||
""" Overwrite open member payments """
|
|
||||||
self.ensure_one()
|
|
||||||
# Get related invoices
|
|
||||||
domain = ['|',
|
|
||||||
('partner_id', '=', self.partner_id.id),
|
|
||||||
('partner_ids', '=', self.partner_id.id)]
|
|
||||||
invoice_ids = self.env['account.invoice'].search(domain)
|
|
||||||
# Get related payments
|
|
||||||
domain = ['|',
|
|
||||||
('partner_id', '=', self.partner_id.id),
|
|
||||||
('invoice_ids', 'in', invoice_ids.ids)]
|
|
||||||
payment_ids = self.env['account.payment'].search(domain)
|
|
||||||
|
|
||||||
action = self.env.ref('account.action_account_payments').read()[0]
|
|
||||||
action['context'] = {'default_payment_type': 'inbound',
|
|
||||||
'default_partner_type': 'customer',
|
|
||||||
'default_partner_id': self[0].partner_id.id}
|
|
||||||
action['domain'] = [('id', 'in', payment_ids.ids)]
|
|
||||||
return action
|
|
@ -15,4 +15,4 @@
|
|||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from . import models, wizard
|
from . import models
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2017-2019 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
||||||
@ -19,7 +19,7 @@
|
|||||||
'name': 'GOLEM Activity Session Member Registrations States',
|
'name': 'GOLEM Activity Session Member Registrations States',
|
||||||
'summary': 'GOLEM Activities Session Member Registration states',
|
'summary': 'GOLEM Activities Session Member Registration states',
|
||||||
'description': 'GOLEM Activities Session Member Registration states',
|
'description': 'GOLEM Activities Session Member Registration states',
|
||||||
'version': '10.0.2.3.0',
|
'version': '10.0.2.2.1',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
# Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
# Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
from . import golem_activity_registration_analysis_wizard
|
|
@ -1,36 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
#
|
|
||||||
# Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
# Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
""" GOLEM Activity Registration Analysis Wizard Adaptation """
|
|
||||||
|
|
||||||
from odoo import models, fields, api
|
|
||||||
|
|
||||||
|
|
||||||
class GolemActivityRegistrationAnalysisWizard(models.TransientModel):
|
|
||||||
""" GOLEM Activity Registration Analysis Wizard Adaptation """
|
|
||||||
_inherit = 'golem.activity.registration.analysis.wizard'
|
|
||||||
_description = 'GOLEM Activity Registration Analysis Wizard Adaptation '
|
|
||||||
|
|
||||||
@api.multi
|
|
||||||
def get_registrations(self):
|
|
||||||
""" Returns registrations """
|
|
||||||
self.ensure_one()
|
|
||||||
return self.env['golem.activity.registration'].search(
|
|
||||||
[('season_id', '=', self[0].season_id.id),
|
|
||||||
('state', '=', 'confirmed')]
|
|
||||||
)
|
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2018-2020 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
||||||
@ -22,7 +22,7 @@
|
|||||||
- New application on top menu ;
|
- New application on top menu ;
|
||||||
- Management of users and groups, companies ;
|
- Management of users and groups, companies ;
|
||||||
- Good default access / rights to do. ''',
|
- Good default access / rights to do. ''',
|
||||||
'version': '10.0.0.1.4',
|
'version': '10.0.0.1.3',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
|
@ -4,8 +4,3 @@ access_res_users_group_golem_manager,Access Users GOLEM Manager,base.model_res_u
|
|||||||
access_res_groups_group_golem_manager,Access Groups GOLEM Manager,base.model_res_groups,golem_base.group_golem_manager,1,1,0,0
|
access_res_groups_group_golem_manager,Access Groups GOLEM Manager,base.model_res_groups,golem_base.group_golem_manager,1,1,0,0
|
||||||
access_ir_module_category_group_golem_manager,Access IR Module Category GOLEM Manager,base.model_ir_module_category,golem_base.group_golem_manager,1,0,0,0
|
access_ir_module_category_group_golem_manager,Access IR Module Category GOLEM Manager,base.model_ir_module_category,golem_base.group_golem_manager,1,0,0,0
|
||||||
access_ir_ui_view_group_golem_manager,Access IR UI View GOLEM Manager,base.model_ir_ui_view,golem_base.group_golem_manager,1,1,0,0
|
access_ir_ui_view_group_golem_manager,Access IR UI View GOLEM Manager,base.model_ir_ui_view,golem_base.group_golem_manager,1,1,0,0
|
||||||
access_res_company_group_golem_auditor,Access Companies GOLEM Auditor,base.model_res_company,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_res_users_group_golem_auditor,Access Users GOLEM Auditor,base.model_res_users,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_res_groups_group_golem_auditor,Access Groups GOLEM Auditor,base.model_res_groups,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_ir_module_category_group_golem_auditor,Access IR Module Category GOLEM Auditor,base.model_ir_module_category,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_ir_ui_view_group_golem_auditor,Access IR UI View GOLEM Auditor,base.model_ir_ui_view,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Copyright 2018-2020 Fabien Bourgeois <fabien@yaltik.com>
|
Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
it under the terms of the GNU Affero General Public License as published by
|
||||||
@ -23,16 +23,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<!-- Menus -->
|
<!-- Menus -->
|
||||||
<menuitem id="security_menu" name="Security" sequence="400"
|
<menuitem id="security_menu" name="Security" sequence="400"
|
||||||
web_icon="golem_admin,static/description/icon.png"
|
web_icon="golem_admin,static/description/icon.png"
|
||||||
groups="golem_base.group_golem_manager,golem_base.group_golem_auditor" />
|
groups="golem_base.group_golem_manager" />
|
||||||
<menuitem id="res_groups_menu" action="base.action_res_groups"
|
<menuitem id="res_groups_menu" action="base.action_res_groups"
|
||||||
parent="security_menu" sequence="10"
|
parent="security_menu" sequence="10"
|
||||||
groups="golem_base.group_golem_manager,golem_base.group_golem_auditor" />
|
groups="golem_base.group_golem_manager" />
|
||||||
<menuitem id="res_users_menu" action="base.action_res_users"
|
<menuitem id="res_users_menu" action="base.action_res_users"
|
||||||
parent="security_menu" sequence="5"
|
parent="security_menu" sequence="5"
|
||||||
groups="golem_base.group_golem_manager,golem_base.group_golem_auditor" />
|
groups="golem_base.group_golem_manager" />
|
||||||
<menuitem id="res_company_menu" action="base.action_res_company_form"
|
<menuitem id="res_company_menu" action="base.action_res_company_form"
|
||||||
parent="security_menu" sequence="10"
|
parent="security_menu" sequence="10"
|
||||||
groups="golem_base.group_golem_manager,golem_base.group_golem_auditor" />
|
groups="golem_base.group_golem_manager" />
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2016-2020 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2016-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
# Copyright 2020 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
||||||
@ -19,14 +18,14 @@
|
|||||||
{
|
{
|
||||||
'name': 'GOLEM base module for global dependencies',
|
'name': 'GOLEM base module for global dependencies',
|
||||||
'summary': 'GOLEM base installs base and shared dependencies for GOLEM',
|
'summary': 'GOLEM base installs base and shared dependencies for GOLEM',
|
||||||
'version': '10.0.1.1.2',
|
'version': '10.0.1.0.5',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': False,
|
'application': False,
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'depends': ['document', 'report', 'membership', 'contacts', 'mail',
|
'depends': ['document', 'report', 'membership', 'contacts', 'mail',
|
||||||
'account', 'account_voucher', 'partner_firstname',
|
'account_voucher', 'partner_firstname',
|
||||||
'partner_contact_birthdate', 'partner_contact_gender',
|
'partner_contact_birthdate', 'partner_contact_gender',
|
||||||
'l10n_fr', 'l10n_fr_state', 'l10n_fr_department',
|
'l10n_fr', 'l10n_fr_state', 'l10n_fr_department',
|
||||||
'l10n_fr_siret',
|
'l10n_fr_siret',
|
||||||
@ -35,7 +34,6 @@
|
|||||||
'web_responsive', 'backend_theme_v10',
|
'web_responsive', 'backend_theme_v10',
|
||||||
'web_widget_x2many_2d_matrix'],
|
'web_widget_x2many_2d_matrix'],
|
||||||
'data': ['security/golem_security.xml',
|
'data': ['security/golem_security.xml',
|
||||||
'security/ir.model.access.csv',
|
|
||||||
'views/menus.xml',
|
'views/menus.xml',
|
||||||
'views/yaltik_base_assets.xml']
|
'views/yaltik_base_assets.xml']
|
||||||
}
|
}
|
||||||
|
@ -6,19 +6,15 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 10.0\n"
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2020-05-28 16:28+0000\n"
|
"POT-Creation-Date: 2017-05-01 14:19+0000\n"
|
||||||
"PO-Revision-Date: 2020-05-28 18:36+0200\n"
|
"PO-Revision-Date: 2017-06-28 17:30+0000\n"
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: <>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: \n"
|
"Content-Transfer-Encoding: \n"
|
||||||
"Plural-Forms: \n"
|
"Language: fr\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||||
#. module: golem_base
|
|
||||||
#: model:res.groups,name:golem_base.group_golem_auditor
|
|
||||||
msgid "GOLEM Auditor"
|
|
||||||
msgstr "Auditeur"
|
|
||||||
|
|
||||||
#. module: golem_base
|
#. module: golem_base
|
||||||
#: model:res.groups,name:golem_base.group_golem_manager
|
#: model:res.groups,name:golem_base.group_golem_manager
|
||||||
@ -35,11 +31,6 @@ msgstr "Utilisateur"
|
|||||||
msgid "Membership Products"
|
msgid "Membership Products"
|
||||||
msgstr "Types d'adhésions"
|
msgstr "Types d'adhésions"
|
||||||
|
|
||||||
#. module: golem_base
|
|
||||||
#: model:ir.model,name:golem_base.model_ir_mail_server
|
|
||||||
msgid "ir.mail_server"
|
|
||||||
msgstr "ir.mail_server"
|
|
||||||
|
|
||||||
#. module: base
|
#. module: base
|
||||||
#: model:ir.actions.act_window,name:base.action_res_company_form
|
#: model:ir.actions.act_window,name:base.action_res_company_form
|
||||||
#: model:ir.actions.act_window,name:base.company_normal_action_tree
|
#: model:ir.actions.act_window,name:base.company_normal_action_tree
|
||||||
|
@ -6,8 +6,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 10.0\n"
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2020-05-28 16:28+0000\n"
|
"POT-Creation-Date: 2017-05-01 14:19+0000\n"
|
||||||
"PO-Revision-Date: 2020-05-28 16:28+0000\n"
|
"PO-Revision-Date: 2017-05-01 14:19+0000\n"
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: <>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@ -15,11 +15,6 @@ msgstr ""
|
|||||||
"Content-Transfer-Encoding: \n"
|
"Content-Transfer-Encoding: \n"
|
||||||
"Plural-Forms: \n"
|
"Plural-Forms: \n"
|
||||||
|
|
||||||
#. module: golem_base
|
|
||||||
#: model:res.groups,name:golem_base.group_golem_auditor
|
|
||||||
msgid "GOLEM Auditor"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_base
|
#. module: golem_base
|
||||||
#: model:res.groups,name:golem_base.group_golem_manager
|
#: model:res.groups,name:golem_base.group_golem_manager
|
||||||
msgid "GOLEM Manager"
|
msgid "GOLEM Manager"
|
||||||
@ -35,8 +30,3 @@ msgstr ""
|
|||||||
msgid "Membership Products"
|
msgid "Membership Products"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_base
|
|
||||||
#: model:ir.model,name:golem_base.model_ir_mail_server
|
|
||||||
msgid "ir.mail_server"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2018-2020 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
||||||
@ -21,27 +21,8 @@ from odoo import models, fields
|
|||||||
|
|
||||||
|
|
||||||
class IrMailServer(models.Model):
|
class IrMailServer(models.Model):
|
||||||
""" IR Mail Server adaptations """
|
"""IR Mail Server fix for >64 characters pass """
|
||||||
_inherit = 'ir.mail_server'
|
_inherit = 'ir.mail_server'
|
||||||
|
|
||||||
# IR Mail Server fix for >64 characters pass
|
|
||||||
smtp_user = fields.Char(size=100)
|
smtp_user = fields.Char(size=100)
|
||||||
smtp_pass = fields.Char(size=100)
|
smtp_pass = fields.Char(size=100)
|
||||||
|
|
||||||
def build_email(self, email_from, email_to, subject, body, email_cc=None,
|
|
||||||
email_bcc=None, reply_to=False, attachments=None,
|
|
||||||
message_id=None, references=None, object_id=False,
|
|
||||||
subtype='plain', headers=None, body_alternative=None,
|
|
||||||
subtype_alternative='plain'):
|
|
||||||
""" Overwrite to supercharge from_to """
|
|
||||||
get_param = self.env['ir.config_parameter'].sudo().get_param
|
|
||||||
force_email_from = get_param('mail.force.email_from', email_from)
|
|
||||||
if force_email_from != email_from:
|
|
||||||
email_from = force_email_from
|
|
||||||
reply_to = force_email_from
|
|
||||||
msg = super(IrMailServer, self).build_email(
|
|
||||||
email_from, email_to, subject, body, email_cc, email_bcc,
|
|
||||||
reply_to, attachments, message_id, references, object_id, subtype,
|
|
||||||
headers, body_alternative, subtype_alternative
|
|
||||||
)
|
|
||||||
return msg
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Copyright 2017-2020 Fabien Bourgeois <fabien@yaltik.com>
|
Copyright 2017 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
it under the terms of the GNU Affero General Public License as published by
|
||||||
@ -20,9 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<odoo>
|
<odoo>
|
||||||
<data noupdate="0">
|
<data noupdate="0">
|
||||||
<!-- Groups -->
|
<!-- Groups -->
|
||||||
<record id="base.group_partner_manager" model="res.groups">
|
|
||||||
<field name="category_id" ref="base.module_category_golem"/>
|
|
||||||
</record>
|
|
||||||
<record id="group_golem_user" model="res.groups">
|
<record id="group_golem_user" model="res.groups">
|
||||||
<field name="name">GOLEM user</field>
|
<field name="name">GOLEM user</field>
|
||||||
<field name="category_id"
|
<field name="category_id"
|
||||||
@ -33,13 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
ref('base.group_partner_manager'),
|
ref('base.group_partner_manager'),
|
||||||
ref('account.group_account_invoice')])]"/>
|
ref('account.group_account_invoice')])]"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="group_golem_auditor" model="res.groups">
|
|
||||||
<field name="name">GOLEM Auditor</field>
|
|
||||||
<field name="category_id" ref="base.module_category_golem"/>
|
|
||||||
<field name="implied_ids" eval="[(4, ref('base.group_portal'))]"/>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="group_golem_manager" model="res.groups">
|
<record id="group_golem_manager" model="res.groups">
|
||||||
<field name="name">GOLEM Manager</field>
|
<field name="name">GOLEM Manager</field>
|
||||||
<field name="category_id" ref="base.module_category_golem"/>
|
<field name="category_id" ref="base.module_category_golem"/>
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
|
||||||
access_res_partner_auditor,Access Res Partner Auditor,base.model_res_partner,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_res_partner_category_auditor,Access Res Partner Category Auditor,base.model_res_partner_category,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_account_invoice_auditor,Access Account Invoice Auditor,account.model_account_invoice,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_account_invoice_tax_auditor,Access Account Invoice Tax Auditor,account.model_account_invoice_tax,group_golem_auditor,1,0,0,0
|
|
||||||
access_account_invoice_line_auditor,Access Account Invoice Line Auditor,account.model_account_invoice_line,group_golem_auditor,1,0,0,0
|
|
||||||
access_account_move_line_auditor,Access Account Move Line Auditor,account.model_account_move_line,group_golem_auditor,1,0,0,0
|
|
||||||
access_account_journal_auditor,Access Account Journal Auditor,account.model_account_journal,group_golem_auditor,1,0,0,0
|
|
||||||
access_account_voucher_auditor,Access Account Voucher Auditor,account_voucher.model_account_voucher,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_account_voucher_line_auditor,Access Account Voucher Line Auditor,account_voucher.model_account_voucher_line,group_golem_auditor,1,0,0,0
|
|
||||||
access_account_account_tag_auditor,Access Account Account Tax Auditor,account.model_account_account_tag,group_golem_auditor,1,0,0,0
|
|
|
@ -28,20 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
action="membership.action_membership_products"
|
action="membership.action_membership_products"
|
||||||
parent="membership.menu_marketing_config_association" sequence="20"
|
parent="membership.menu_marketing_config_association" sequence="20"
|
||||||
groups="golem_base.group_golem_manager" />
|
groups="golem_base.group_golem_manager" />
|
||||||
<menuitem name="Invoicing"
|
|
||||||
id="account.menu_finance"
|
|
||||||
groups="account.group_account_user,account.group_account_manager,account.group_account_invoice,group_golem_auditor"
|
|
||||||
web_icon="account,static/description/icon.png"
|
|
||||||
sequence="40"/>
|
|
||||||
<menuitem id="account.menu_finance_configuration"
|
|
||||||
name="Configuration"
|
|
||||||
parent="account.menu_finance" sequence="15" groups="account.group_account_invoice,group_golem_auditor"/>
|
|
||||||
|
|
||||||
<menuitem id="account.account_account_menu"
|
|
||||||
name="Accounting"
|
|
||||||
parent="account.menu_finance_configuration"
|
|
||||||
sequence="2"
|
|
||||||
groups="account.group_account_invoice,group_golem_auditor"/>
|
|
||||||
<!-- Members Analysis for managers only -->
|
<!-- Members Analysis for managers only -->
|
||||||
<record id="membership.menu_report_membership" model="ir.ui.menu">
|
<record id="membership.menu_report_membership" model="ir.ui.menu">
|
||||||
<field name="groups_id"
|
<field name="groups_id"
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
# Copyright 2020 Youssef EL OUAHBY <youssef@yaltik.com>
|
|
||||||
# Copyright 2020 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
@ -1,31 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
# Copyright 2020 Youssef EL OUAHBY <youssef@yaltik.com>
|
|
||||||
# Copyright 2020 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
{
|
|
||||||
'name': 'GOLEM events',
|
|
||||||
'summary': 'Extends Odoo events',
|
|
||||||
'description': 'Extends Odoo events',
|
|
||||||
'version': '10.0.0.1.0',
|
|
||||||
'category': 'GOLEM',
|
|
||||||
'author': 'Fabien Bourgeois, Youssef EL OUAHBY',
|
|
||||||
'license': 'AGPL-3',
|
|
||||||
'application': False,
|
|
||||||
'installable': True,
|
|
||||||
'depends': ['golem_base', 'event'],
|
|
||||||
'data': ['views/event_views.xml']
|
|
||||||
}
|
|
@ -1,27 +0,0 @@
|
|||||||
# Translation of Odoo Server.
|
|
||||||
# This file contains the translation of the following modules:
|
|
||||||
# * golem_event
|
|
||||||
#
|
|
||||||
msgid ""
|
|
||||||
msgstr ""
|
|
||||||
"Project-Id-Version: Odoo Server 10.0\n"
|
|
||||||
"Report-Msgid-Bugs-To: \n"
|
|
||||||
"POT-Creation-Date: 2020-05-28 07:40+0000\n"
|
|
||||||
"PO-Revision-Date: 2020-05-28 09:42+0200\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: golem_event
|
|
||||||
#: model:ir.ui.view,arch_db:golem_event.golem_event_inherit_view_event_search
|
|
||||||
msgid "Current and Upcoming"
|
|
||||||
msgstr "En cours et à venir"
|
|
||||||
|
|
||||||
#. module: golem_event
|
|
||||||
#: model:ir.ui.view,arch_db:golem_event.golem_event_inherit_view_event_search
|
|
||||||
msgid "Current and upcoming events from today"
|
|
||||||
msgstr "Événements en cours et à venir par rapport à aujourd'hui"
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
|||||||
# Translation of Odoo Server.
|
|
||||||
# This file contains the translation of the following modules:
|
|
||||||
# * golem_event
|
|
||||||
#
|
|
||||||
msgid ""
|
|
||||||
msgstr ""
|
|
||||||
"Project-Id-Version: Odoo Server 10.0\n"
|
|
||||||
"Report-Msgid-Bugs-To: \n"
|
|
||||||
"POT-Creation-Date: 2020-05-28 07:40+0000\n"
|
|
||||||
"PO-Revision-Date: 2020-05-28 07:40+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: golem_event
|
|
||||||
#: model:ir.ui.view,arch_db:golem_event.golem_event_inherit_view_event_search
|
|
||||||
msgid "Current and Upcoming"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_event
|
|
||||||
#: model:ir.ui.view,arch_db:golem_event.golem_event_inherit_view_event_search
|
|
||||||
msgid "Current and upcoming events from today"
|
|
||||||
msgstr ""
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 4.3 KiB |
@ -1,40 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright 2020 Youssef EL OUAHBY <youssef@yaltik.com>
|
|
||||||
Copyright 2020 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU Affero General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Affero General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<odoo>
|
|
||||||
<data>
|
|
||||||
|
|
||||||
<!-- Search -->
|
|
||||||
<record id="golem_event_inherit_view_event_search" model="ir.ui.view">
|
|
||||||
<field name="name">Event Search Adaptations</field>
|
|
||||||
<field name="inherit_id" ref="event.view_event_search"/>
|
|
||||||
<field name="model">event.event</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<filter name="upcoming" position="replace">
|
|
||||||
<filter string="Current and Upcoming" name="upcoming"
|
|
||||||
domain="['&', ('state', '!=', 'cancel'), '|',
|
|
||||||
('date_begin','>=', datetime.datetime.combine(context_today(), datetime.time(0,0,0))),
|
|
||||||
('date_end','>=', datetime.datetime.combine(context_today(), datetime.time(0,0,0)))]"
|
|
||||||
help="Current and upcoming events from today" />
|
|
||||||
</filter>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2016-2021 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2016-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
||||||
@ -19,7 +19,7 @@
|
|||||||
'name': 'GOLEM families',
|
'name': 'GOLEM families',
|
||||||
'summary': 'GOLEM Members Families',
|
'summary': 'GOLEM Members Families',
|
||||||
'description': 'GOLEM Members Families',
|
'description': 'GOLEM Members Families',
|
||||||
'version': '10.0.2.6.0',
|
'version': '10.0.2.5.0',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois, Youssef El Ouahby',
|
'author': 'Fabien Bourgeois, Youssef El Ouahby',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
|
@ -6,8 +6,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 10.0\n"
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2021-01-14 14:45+0000\n"
|
"POT-Creation-Date: 2018-10-26 15:44+0000\n"
|
||||||
"PO-Revision-Date: 2021-01-14 15:45+0100\n"
|
"PO-Revision-Date: 2018-10-26 17:45+0200\n"
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: <>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@ -170,8 +170,8 @@ msgid "Family"
|
|||||||
msgstr "Famille"
|
msgstr "Famille"
|
||||||
|
|
||||||
#. module: golem_family
|
#. module: golem_family
|
||||||
#: code:addons/golem_family/models/golem_family.py:59
|
#: code:addons/golem_family/models/golem_family.py:49
|
||||||
#: code:addons/golem_family/models/golem_family.py:93
|
#: code:addons/golem_family/models/golem_family.py:83
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Family Members"
|
msgid "Family Members"
|
||||||
msgstr "Membres de la famille"
|
msgstr "Membres de la famille"
|
||||||
@ -181,13 +181,6 @@ msgstr "Membres de la famille"
|
|||||||
msgid "Family form"
|
msgid "Family form"
|
||||||
msgstr "Fiche Famille"
|
msgstr "Fiche Famille"
|
||||||
|
|
||||||
#. module: golem_family
|
|
||||||
#: model:ir.model.fields,field_description:golem_family.field_golem_member_family_member_names
|
|
||||||
#: model:ir.model.fields,field_description:golem_family.field_res_partner_family_member_names
|
|
||||||
#: model:ir.model.fields,field_description:golem_family.field_res_users_family_member_names
|
|
||||||
msgid "Family member names"
|
|
||||||
msgstr "Noms des membres de la famille"
|
|
||||||
|
|
||||||
#. module: golem_family
|
#. module: golem_family
|
||||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||||
msgid "Family members"
|
msgid "Family members"
|
||||||
|
@ -6,8 +6,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 10.0\n"
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2021-01-14 14:45+0000\n"
|
"POT-Creation-Date: 2018-10-26 15:44+0000\n"
|
||||||
"PO-Revision-Date: 2021-01-14 14:45+0000\n"
|
"PO-Revision-Date: 2018-10-26 15:44+0000\n"
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: <>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@ -170,8 +170,8 @@ msgid "Family"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_family
|
#. module: golem_family
|
||||||
#: code:addons/golem_family/models/golem_family.py:59
|
#: code:addons/golem_family/models/golem_family.py:49
|
||||||
#: code:addons/golem_family/models/golem_family.py:93
|
#: code:addons/golem_family/models/golem_family.py:83
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Family Members"
|
msgid "Family Members"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -181,13 +181,6 @@ msgstr ""
|
|||||||
msgid "Family form"
|
msgid "Family form"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_family
|
|
||||||
#: model:ir.model.fields,field_description:golem_family.field_golem_member_family_member_names
|
|
||||||
#: model:ir.model.fields,field_description:golem_family.field_res_partner_family_member_names
|
|
||||||
#: model:ir.model.fields,field_description:golem_family.field_res_users_family_member_names
|
|
||||||
msgid "Family member names"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_family
|
#. module: golem_family
|
||||||
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
#: model:ir.ui.view,arch_db:golem_family.golem_family_form
|
||||||
msgid "Family members"
|
msgid "Family members"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2017-2021 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
# Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
|
# Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
@ -42,16 +42,6 @@ class ResPartner(models.Model):
|
|||||||
index=True)
|
index=True)
|
||||||
family_count = fields.Integer(related='family_id.count')
|
family_count = fields.Integer(related='family_id.count')
|
||||||
|
|
||||||
family_member_names = fields.Char(compute='_compute_family_member_names',
|
|
||||||
index=True, store=True)
|
|
||||||
|
|
||||||
@api.depends('family_id', 'family_id.member_ids')
|
|
||||||
def _compute_family_member_names(self):
|
|
||||||
""" Computes family member names, for search """
|
|
||||||
for member in self:
|
|
||||||
if member.family_id:
|
|
||||||
member.family_member_names = u', '.join(member.family_id.member_ids.mapped('name'))
|
|
||||||
|
|
||||||
@api.multi
|
@api.multi
|
||||||
def button_family_members(self):
|
def button_family_members(self):
|
||||||
""" Go to family view, from partner """
|
""" Go to family view, from partner """
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||||
access_golem_family_auditor,Access GOLEM Family Auditor,model_golem_family,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_golem_family_user,Access GOLEM Family User,model_golem_family,golem_base.group_golem_user,1,1,1,1
|
access_golem_family_user,Access GOLEM Family User,model_golem_family,golem_base.group_golem_user,1,1,1,1
|
||||||
access_golem_family_role_auditor,Access GOLEM Family Role Auditor,model_golem_family_role,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_golem_family_role_user,Access GOLEM Family Role User,model_golem_family_role,golem_base.group_golem_user,1,0,0,0
|
access_golem_family_role_user,Access GOLEM Family Role User,model_golem_family_role,golem_base.group_golem_user,1,0,0,0
|
||||||
access_golem_family_role_manager,Access GOLEM Family Role Manager,model_golem_family_role,golem_base.group_golem_manager,1,1,1,1
|
access_golem_family_role_manager,Access GOLEM Family Role Manager,model_golem_family_role,golem_base.group_golem_manager,1,1,1,1
|
||||||
|
|
@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Copyright 2017-2020 Fabien Bourgeois <fabien@yaltik.com>
|
Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
Copyright 2018-2020 Youssef El Ouahby <youssef@yaltik.com>
|
Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
it under the terms of the GNU Affero General Public License as published by
|
||||||
@ -214,15 +214,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
<!-- Menus -->
|
<!-- Menus -->
|
||||||
<menuitem id="golem_family_menu" name="Families"
|
<menuitem id="golem_family_menu" name="Families"
|
||||||
sequence="17"
|
sequence="17" groups="golem_base.group_golem_user"
|
||||||
groups="golem_base.group_golem_user,golem_base.group_golem_auditor"
|
|
||||||
web_icon="golem_family,static/description/icon.png" />
|
web_icon="golem_family,static/description/icon.png" />
|
||||||
<menuitem id="golem_family_menu_list" name="Families"
|
<menuitem id="golem_family_menu_list" name="Families"
|
||||||
parent="golem_family_menu" action="golem_family_action_list" sequence="1"
|
parent="golem_family_menu" action="golem_family_action_list" sequence="1"
|
||||||
groups="golem_base.group_golem_user,golem_base.group_golem_auditor" />
|
groups="golem_base.group_golem_user" />
|
||||||
<menuitem id="golem_family_role_menu" name="Roles"
|
<menuitem id="golem_family_role_menu" name="Roles"
|
||||||
parent="golem_family_menu" action="golem_family_role_action" sequence="5"
|
parent="golem_family_menu" action="golem_family_role_action" sequence="5"
|
||||||
groups="golem_base.group_golem_manager,golem_base.group_golem_auditor" />
|
groups="golem_base.group_golem_manager" />
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Copyright 2017-2021 Fabien Bourgeois <fabien@yaltik.com>
|
Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
it under the terms of the GNU Affero General Public License as published by
|
||||||
@ -92,7 +92,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<field name="name" position="after">
|
<field name="name" position="after">
|
||||||
<field name="family_id" />
|
<field name="family_id" />
|
||||||
<field name="family_member_names" />
|
|
||||||
</field>
|
</field>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
@ -1,3 +1,2 @@
|
|||||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||||
access_golem_family_history_auditor,Access GOLEM Family History Auditor,model_golem_family_history,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_golem_family_history_user,Access GOLEM Family History User,model_golem_family_history,golem_base.group_golem_user,1,1,1,1
|
access_golem_family_history_user,Access GOLEM Family History User,model_golem_family_history,golem_base.group_golem_user,1,1,1,1
|
||||||
|
|
@ -15,4 +15,4 @@
|
|||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from . import models, wizard
|
from . import models
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2016-2021 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2016-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
# Copyright 2018 Michel Dessenne <michel@yaltik.com>
|
# Copyright 2018 Michel Dessenne <michel@yaltik.com>
|
||||||
# Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
|
# Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
|
||||||
|
|
||||||
@ -21,7 +21,7 @@
|
|||||||
'name': 'GOLEM non-profit members',
|
'name': 'GOLEM non-profit members',
|
||||||
'summary': 'Extends Odoo contacts for MJC',
|
'summary': 'Extends Odoo contacts for MJC',
|
||||||
'description': 'Extends Odoo contacts for MJC',
|
'description': 'Extends Odoo contacts for MJC',
|
||||||
'version': '10.0.2.8.4',
|
'version': '10.0.2.5.0',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois, Michel Dessenne',
|
'author': 'Fabien Bourgeois, Michel Dessenne',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
@ -35,9 +35,5 @@
|
|||||||
'views/golem_partner_area_views.xml',
|
'views/golem_partner_area_views.xml',
|
||||||
'report/golem_member_card_templates.xml',
|
'report/golem_member_card_templates.xml',
|
||||||
'data/golem_member_numberconfig_data.xml',
|
'data/golem_member_numberconfig_data.xml',
|
||||||
'security/ir.model.access.csv',
|
'security/ir.model.access.csv']
|
||||||
'views/golem_member_age_range_views.xml',
|
|
||||||
'wizard/golem_member_analysis_views.xml',
|
|
||||||
'wizard/golem_member_analysis_wizard_views.xml'
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
@ -6,8 +6,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 10.0\n"
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2020-01-16 15:46+0000\n"
|
"POT-Creation-Date: 2018-11-01 15:15+0000\n"
|
||||||
"PO-Revision-Date: 2020-01-16 17:01+0100\n"
|
"PO-Revision-Date: 2018-11-01 16:21+0100\n"
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: <>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@ -57,57 +57,15 @@ msgstr "Type d'adresse"
|
|||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_age_computing
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_res_partner_age
|
#: model:ir.model.fields,field_description:golem_member.field_res_partner_age
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_res_users_age
|
#: model:ir.model.fields,field_description:golem_member.field_res_users_age
|
||||||
msgid "Age"
|
msgid "Age"
|
||||||
msgstr "Age"
|
msgstr "Age"
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.actions.act_window,name:golem_member.golem_member_age_range_action
|
|
||||||
#: model:ir.ui.menu,name:golem_member.golem_member_age_range_menu
|
|
||||||
msgid "Age Ranges"
|
|
||||||
msgstr "Tranches d'âge"
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_age_start_season
|
|
||||||
msgid "Age at season start"
|
|
||||||
msgstr "Âge au début de la saison"
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_age_end_season
|
|
||||||
msgid "Age at season stop"
|
|
||||||
msgstr "Âge à la fin de la saison"
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_age_now
|
|
||||||
msgid "Age now"
|
|
||||||
msgstr "Âge ce jour"
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_age_range_end_season
|
|
||||||
msgid "Age range at season end"
|
|
||||||
msgstr "Tranche d'âge à la fin de la saison"
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_age_range_start_season
|
|
||||||
msgid "Age range at season start"
|
|
||||||
msgstr "Tranche d'âge au début de la saison"
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_age_range_now
|
|
||||||
msgid "Age range now"
|
|
||||||
msgstr "Tranche d'âge ce jour"
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_analyse_type
|
|
||||||
msgid "Analyse type"
|
|
||||||
msgstr "Type d'analyse"
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_animator_activity_ids
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_animator_activity_ids
|
||||||
msgid "Animated activities"
|
msgid "Animated activities"
|
||||||
msgstr "Activités animées"
|
msgstr "Animated activities"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_numberconfig_form
|
#: model:ir.ui.view,arch_db:golem_member.golem_member_numberconfig_form
|
||||||
@ -134,11 +92,6 @@ msgstr "Territoire"
|
|||||||
msgid "Area from street"
|
msgid "Area from street"
|
||||||
msgstr "Territoire automatique depuis la rue"
|
msgstr "Territoire automatique depuis la rue"
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_area_id
|
|
||||||
msgid "Area id"
|
|
||||||
msgstr "Territoire"
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_form
|
#: model:ir.ui.view,arch_db:golem_member.golem_member_form
|
||||||
#: model:ir.ui.view,arch_db:golem_member.res_partner_form_inherit_golem_member
|
#: model:ir.ui.view,arch_db:golem_member.res_partner_form_inherit_golem_member
|
||||||
@ -163,16 +116,6 @@ msgstr "Territoires"
|
|||||||
msgid "Associate Member"
|
msgid "Associate Member"
|
||||||
msgstr "Adhérent associé"
|
msgstr "Adhérent associé"
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: selection:golem.member.analysis.wizard,age_computing:0
|
|
||||||
msgid "At season start"
|
|
||||||
msgstr "Au début de la saison"
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: selection:golem.member.analysis.wizard,age_computing:0
|
|
||||||
msgid "At season stop"
|
|
||||||
msgstr "À la fin de la saison"
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_bank_account_count
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_bank_account_count
|
||||||
msgid "Bank"
|
msgid "Bank"
|
||||||
@ -215,7 +158,6 @@ msgid "By age"
|
|||||||
msgstr "Par âge"
|
msgstr "Par âge"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: selection:golem.member.analysis.wizard,analyse_type:0
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_search
|
#: model:ir.ui.view,arch_db:golem_member.golem_member_search
|
||||||
msgid "By area"
|
msgid "By area"
|
||||||
msgstr "Par territoire"
|
msgstr "Par territoire"
|
||||||
@ -226,21 +168,10 @@ msgid "By city"
|
|||||||
msgstr "Par ville"
|
msgstr "Par ville"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: selection:golem.member.analysis.wizard,analyse_type:0
|
|
||||||
msgid "By family quotient and area"
|
|
||||||
msgstr "Par quotient familial et territoire"
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: selection:golem.member.analysis.wizard,analyse_type:0
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_search
|
#: model:ir.ui.view,arch_db:golem_member.golem_member_search
|
||||||
msgid "By gender"
|
msgid "By gender"
|
||||||
msgstr "Par genre"
|
msgstr "Par genre"
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: selection:golem.member.analysis.wizard,analyse_type:0
|
|
||||||
msgid "By tag and area"
|
|
||||||
msgstr "Par catégorie et territoire"
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_numberconfig_form
|
#: model:ir.ui.view,arch_db:golem_member.golem_member_numberconfig_form
|
||||||
msgid "Cancel"
|
msgid "Cancel"
|
||||||
@ -251,12 +182,6 @@ msgstr "Annuler"
|
|||||||
msgid "Cancel Membership Date"
|
msgid "Cancel Membership Date"
|
||||||
msgstr "Date d'annulation de l'adhésion"
|
msgstr "Date d'annulation de l'adhésion"
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_category_id
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_category_id
|
|
||||||
msgid "Category id"
|
|
||||||
msgstr "Catégorie"
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_channel_ids
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_channel_ids
|
||||||
msgid "Channels"
|
msgid "Channels"
|
||||||
@ -391,9 +316,6 @@ msgid "Create a service user from this contact"
|
|||||||
msgstr "Faire de ce contact un usager"
|
msgstr "Faire de ce contact un usager"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age_range_create_uid
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_create_uid
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_create_uid
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_create_uid
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_create_uid
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_create_uid
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_create_uid
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_create_uid
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_create_uid
|
||||||
@ -403,9 +325,6 @@ msgid "Created by"
|
|||||||
msgstr "Créé par"
|
msgstr "Créé par"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age_range_create_date
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_create_date
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_create_date
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_create_date
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_create_date
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_create_date
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_create_date
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_create_date
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_create_date
|
||||||
@ -485,9 +404,6 @@ msgid "Department"
|
|||||||
msgstr "Département"
|
msgstr "Département"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age_range_display_name
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_display_name
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_display_name
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_display_name
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_display_name
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_display_name
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_display_name
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_display_name
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_display_name
|
||||||
@ -499,7 +415,7 @@ msgstr "Nom affiché"
|
|||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,help:golem_member.field_golem_member_partner_share
|
#: model:ir.model.fields,help:golem_member.field_golem_member_partner_share
|
||||||
msgid "Either customer (no user), either shared user. Indicated the current partner is a customer without access or with a limited access created for sharing data."
|
msgid "Either customer (no user), either shared user. Indicated the current partner is a customer without access or with a limited access created for sharing data."
|
||||||
msgstr "Le client (aucun utilisateur) ou l'utilisateur partagé a indiqué que le partenaire actuel est un client qui ne dispose pas d'accès ou qui dispose d'un accès limité pour le partage des données."
|
msgstr "Either customer (no user), either shared user. Indicated the current partner is a customer without access or with a limited access created for sharing data."
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_electronic_processing_agreement
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_electronic_processing_agreement
|
||||||
@ -527,9 +443,7 @@ msgid "Fax"
|
|||||||
msgstr "Fax"
|
msgstr "Fax"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:131
|
#: code:addons/golem_member/models/golem_member.py:127
|
||||||
#: code:addons/golem_member/wizard/golem_member_analysis.py:38
|
|
||||||
#: selection:golem.member.analysis,gender:0
|
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Female"
|
msgid "Female"
|
||||||
msgstr "Féminin"
|
msgstr "Féminin"
|
||||||
@ -569,11 +483,6 @@ msgstr "Adhérent libre"
|
|||||||
msgid "GOLEM Member"
|
msgid "GOLEM Member"
|
||||||
msgstr "Adhérent"
|
msgstr "Adhérent"
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model,name:golem_member.model_golem_member_age_range
|
|
||||||
msgid "GOLEM Member Age Range Management"
|
|
||||||
msgstr "GOLEM Member Age Range Management"
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.actions.act_window,name:golem_member.golem_member_numberconfig_action
|
#: model:ir.actions.act_window,name:golem_member.golem_member_numberconfig_action
|
||||||
#: model:ir.ui.menu,name:golem_member.golem_member_numberconfig_menu
|
#: model:ir.ui.menu,name:golem_member.golem_member_numberconfig_menu
|
||||||
@ -600,23 +509,13 @@ msgstr "GOLEM : facturation de l'adhésion"
|
|||||||
msgid "GOLEM Members"
|
msgid "GOLEM Members"
|
||||||
msgstr "Adhérents"
|
msgstr "Adhérents"
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model,name:golem_member.model_golem_member_analysis_wizard
|
|
||||||
msgid "GOLEM Members Analysis Wizard Adaptation"
|
|
||||||
msgstr "GOLEM Members Analysis Wizard Adaptation"
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model,name:golem_member.model_golem_member_analysis
|
|
||||||
msgid "GOLEM Members Analysis Adaption"
|
|
||||||
msgstr "GOLEM Members Analysis Adaption"
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.actions.act_window,name:golem_member.res_partner_category_action
|
#: model:ir.actions.act_window,name:golem_member.res_partner_category_action
|
||||||
msgid "GOLEM Members Tags"
|
msgid "GOLEM Members Tags"
|
||||||
msgstr "Catégories d'adhérents"
|
msgstr "Catégories d'adhérents"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:452
|
#: code:addons/golem_member/models/golem_member.py:459
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "GOLEM Members merge has not been implemented yet. Please only merge partners, not members, or delete GOLEM Members manually before merging."
|
msgid "GOLEM Members merge has not been implemented yet. Please only merge partners, not members, or delete GOLEM Members manually before merging."
|
||||||
msgstr "La fusion d'adhérents n'a pas encore été implémentée. Merci de ne fusionner que des contacts non adhérents, ou bien de supprimer les adhérents manuellement en premier lieu."
|
msgstr "La fusion d'adhérents n'a pas encore été implémentée. Merci de ne fusionner que des contacts non adhérents, ou bien de supprimer les adhérents manuellement en premier lieu."
|
||||||
@ -632,7 +531,6 @@ msgid "GOLEM Season"
|
|||||||
msgstr "Saison"
|
msgstr "Saison"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_gender
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_gender
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_gender
|
||||||
msgid "Gender"
|
msgid "Gender"
|
||||||
msgstr "Genre"
|
msgstr "Genre"
|
||||||
@ -668,20 +566,6 @@ msgid "Has unreconciled entries"
|
|||||||
msgstr "A des écritures non lettrées"
|
msgstr "A des écritures non lettrées"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age_range_higher_bound
|
|
||||||
msgid "Higher bound"
|
|
||||||
msgstr "Jusqu'à"
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: code:addons/golem_member/models/golem_member_age_range.py:54
|
|
||||||
#, python-format
|
|
||||||
msgid "Higher bound age in range of an existing age range."
|
|
||||||
msgstr "Une tranche d'âge est incluse dans une tranche existante."
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age_range_id
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_id
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_id
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_id
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_id
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_id
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_id
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_id
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_id
|
||||||
@ -829,9 +713,6 @@ msgstr "Langue"
|
|||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member___last_update
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member___last_update
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age_range___last_update
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis___last_update
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard___last_update
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number___last_update
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number___last_update
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig___last_update
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig___last_update
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_partner_area___last_update
|
#: model:ir.model.fields,field_description:golem_member.field_golem_partner_area___last_update
|
||||||
@ -840,9 +721,6 @@ msgid "Last Modified on"
|
|||||||
msgstr "Dernière Modification le"
|
msgstr "Dernière Modification le"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age_range_write_uid
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_write_uid
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_write_uid
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_write_uid
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_write_uid
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_write_uid
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_write_uid
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_write_uid
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_write_uid
|
||||||
@ -852,9 +730,6 @@ msgid "Last Updated by"
|
|||||||
msgstr "Dernière mise à jour par"
|
msgstr "Dernière mise à jour par"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age_range_write_date
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_write_date
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_write_date
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_write_date
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_write_date
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_write_date
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_write_date
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_write_date
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_write_date
|
||||||
@ -879,20 +754,7 @@ msgid "Latest Invoices & Payments Matching Date"
|
|||||||
msgstr "Date de dernière correspondance des factures et paiements"
|
msgstr "Date de dernière correspondance des factures et paiements"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age_range_lower_bound
|
#: code:addons/golem_member/models/golem_member.py:126
|
||||||
msgid "Lower bound"
|
|
||||||
msgstr "À partir de"
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: code:addons/golem_member/models/golem_member_age_range.py:50
|
|
||||||
#, python-format
|
|
||||||
msgid "Lower bound age in range of an existing age range."
|
|
||||||
msgstr "Une trancge d'âge est en conflit avec une autre tranche existante."
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: code:addons/golem_member/models/golem_member.py:130
|
|
||||||
#: code:addons/golem_member/wizard/golem_member_analysis.py:37
|
|
||||||
#: selection:golem.member.analysis,gender:0
|
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Male"
|
msgid "Male"
|
||||||
msgstr "Masculin"
|
msgstr "Masculin"
|
||||||
@ -918,21 +780,9 @@ msgid "Medium-sized image of this contact. It is automatically resized as a 128x
|
|||||||
msgstr "Image de taille moyenne de ce contact. Elle est automatiquement redimensionnée en 128x128px, avec un ratio d'aspect préservé. Utiliser ce champ dans les vues formulaires ou dans certaines vues kanban."
|
msgstr "Image de taille moyenne de ce contact. Elle est automatiquement redimensionnée en 128x128px, avec un ratio d'aspect préservé. Utiliser ce champ dans les vues formulaires ou dans certaines vues kanban."
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: selection:golem.member.analysis.wizard,service_user:0
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_member_id
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_member_id
|
||||||
msgid "Member"
|
msgid "Member"
|
||||||
msgstr "Adhérent"
|
msgstr "Usager"
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: code:addons/golem_member/wizard/golem_member_analysis_wizard.py:120
|
|
||||||
#, python-format
|
|
||||||
msgid "Member Analysis"
|
|
||||||
msgstr "Analyse des usagers"
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_member_analysis_id
|
|
||||||
msgid "Member analysis id"
|
|
||||||
msgstr "Analyses usagers"
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_name
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_name
|
||||||
@ -995,10 +845,8 @@ msgid "NIC"
|
|||||||
msgstr "NIC"
|
msgstr "NIC"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age_range_name
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_name
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_name
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_name
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_name_4229
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_name_4230
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_partner_area_name
|
#: model:ir.model.fields,field_description:golem_member.field_golem_partner_area_name
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_partner_area_street_name
|
#: model:ir.model.fields,field_description:golem_member.field_golem_partner_area_street_name
|
||||||
msgid "Name"
|
msgid "Name"
|
||||||
@ -1012,8 +860,8 @@ msgid "Nationality"
|
|||||||
msgstr "Nationalité"
|
msgstr "Nationalité"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:392
|
#: code:addons/golem_member/models/golem_member.py:399
|
||||||
#: code:addons/golem_member/models/golem_member.py:395
|
#: code:addons/golem_member/models/golem_member.py:402
|
||||||
#: selection:golem.member.numberconfig,is_automatic:0
|
#: selection:golem.member.numberconfig,is_automatic:0
|
||||||
#: selection:golem.member.numberconfig,is_per_season:0
|
#: selection:golem.member.numberconfig,is_per_season:0
|
||||||
#, python-format
|
#, python-format
|
||||||
@ -1021,9 +869,7 @@ msgid "No"
|
|||||||
msgstr "Non"
|
msgstr "Non"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:132
|
#: code:addons/golem_member/models/golem_member.py:128
|
||||||
#: code:addons/golem_member/wizard/golem_member_analysis.py:39
|
|
||||||
#: selection:golem.member.analysis,gender:0
|
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Not Disclosed"
|
msgid "Not Disclosed"
|
||||||
msgstr "Non communiqué"
|
msgstr "Non communiqué"
|
||||||
@ -1033,11 +879,6 @@ msgstr "Non communiqué"
|
|||||||
msgid "Notes"
|
msgid "Notes"
|
||||||
msgstr "Notes"
|
msgstr "Notes"
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: selection:golem.member.analysis.wizard,age_computing:0
|
|
||||||
msgid "Now"
|
|
||||||
msgstr "Ce jour"
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_number
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_number
|
||||||
msgid "Number"
|
msgid "Number"
|
||||||
@ -1123,16 +964,6 @@ msgstr "Numéro unique par saison?"
|
|||||||
msgid "Period :"
|
msgid "Period :"
|
||||||
msgstr "Période :"
|
msgstr "Période :"
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_season_end
|
|
||||||
msgid "Period end"
|
|
||||||
msgstr "Fin de la période"
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_season_start
|
|
||||||
msgid "Period start"
|
|
||||||
msgstr "Début de la période"
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_form
|
#: model:ir.ui.view,arch_db:golem_member.golem_member_form
|
||||||
msgid "Personal details"
|
msgid "Personal details"
|
||||||
@ -1187,11 +1018,6 @@ msgstr "Territoires racines"
|
|||||||
msgid "Root area"
|
msgid "Root area"
|
||||||
msgstr "Territoire racine"
|
msgstr "Territoire racine"
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_wizard_view_form
|
|
||||||
msgid "Run analysis"
|
|
||||||
msgstr "Lancer l'analyse"
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_siren
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_siren
|
||||||
msgid "SIREN"
|
msgid "SIREN"
|
||||||
@ -1213,8 +1039,6 @@ msgid "Salesperson"
|
|||||||
msgstr "Vendeur"
|
msgstr "Vendeur"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_season_id
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_season_id
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_season_id
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_season_id
|
||||||
msgid "Season"
|
msgid "Season"
|
||||||
msgstr "Saison"
|
msgstr "Saison"
|
||||||
@ -1249,18 +1073,6 @@ msgstr "Self"
|
|||||||
msgid "Sequence"
|
msgid "Sequence"
|
||||||
msgstr "Séquence"
|
msgstr "Séquence"
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.actions.act_window,name:golem_member.golem_analysis_action
|
|
||||||
#: model:ir.ui.menu,name:golem_member.golem_analysis_menu
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_wizard_view_form
|
|
||||||
msgid "Service User Analysis"
|
|
||||||
msgstr "Analyse des usagers"
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.actions.act_window,name:golem_member.action_partner_mass_mail
|
|
||||||
msgid "Service User Mass Mailing"
|
|
||||||
msgstr "Mailing aux usagers"
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.ui.menu,name:golem_member.res_partner_category_menu
|
#: model:ir.ui.menu,name:golem_member.res_partner_category_menu
|
||||||
msgid "Service User Tags"
|
msgid "Service User Tags"
|
||||||
@ -1278,37 +1090,17 @@ msgid "Service Users"
|
|||||||
msgstr "Usagers"
|
msgstr "Usagers"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: selection:golem.member.analysis.wizard,service_user:0
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_member_id
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_member_id
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_member_id
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_res_partner_member_id
|
#: model:ir.model.fields,field_description:golem_member.field_res_partner_member_id
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_res_users_member_id
|
#: model:ir.model.fields,field_description:golem_member.field_res_users_member_id
|
||||||
msgid "Service user"
|
msgid "Service user"
|
||||||
msgstr "Usager"
|
msgstr "Usager"
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_pivot_age_end_area
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_pivot_age_end_gender
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_pivot_age_end_tag
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_pivot_age_now_area
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_pivot_age_now_gender
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_pivot_age_now_tag
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_pivot_age_start_area
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_pivot_age_start_gender
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_pivot_age_start_tag
|
|
||||||
msgid "Service user Analysis"
|
|
||||||
msgstr "Analyse des usagers"
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.ui.menu,name:golem_member.golem_member_user_menu
|
#: model:ir.ui.menu,name:golem_member.golem_member_user_menu
|
||||||
msgid "Service users"
|
msgid "Service users"
|
||||||
msgstr "Usagers"
|
msgstr "Usagers"
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_service_user
|
|
||||||
msgid "Service users or members"
|
|
||||||
msgstr "Usagers ou adhérents"
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_partner_share
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_partner_share
|
||||||
msgid "Share Partner"
|
msgid "Share Partner"
|
||||||
@ -1427,12 +1219,6 @@ msgstr "Le numéro SIRET est l'identifiant officiel de l'établissement en Franc
|
|||||||
msgid "The fiscal position will determine taxes and accounts used for the partner."
|
msgid "The fiscal position will determine taxes and accounts used for the partner."
|
||||||
msgstr "La position fiscale déterminera les taxes et les comptes comptables utilisés par le partneraire"
|
msgstr "La position fiscale déterminera les taxes et les comptes comptables utilisés par le partneraire"
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: code:addons/golem_member/models/golem_member_age_range.py:44
|
|
||||||
#, python-format
|
|
||||||
msgid "The higher bound age must be higher than the lower bound."
|
|
||||||
msgstr "La tranche supérieure ne peut pas être moins élevée que la tranche inférieure."
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,help:golem_member.field_golem_member_user_id
|
#: model:ir.model.fields,help:golem_member.field_golem_member_user_id
|
||||||
msgid "The internal user that is in charge of communicating with this contact if any."
|
msgid "The internal user that is in charge of communicating with this contact if any."
|
||||||
@ -1444,7 +1230,7 @@ msgid "The name of official registry where this company was declared."
|
|||||||
msgstr "Nom de la ville du tribunal de commerce dans laquelle la société est enregistrée."
|
msgstr "Nom de la ville du tribunal de commerce dans laquelle la société est enregistrée."
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:75
|
#: code:addons/golem_member/models/golem_member.py:71
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "The parent area is a sub area of the current area, please change it."
|
msgid "The parent area is a sub area of the current area, please change it."
|
||||||
msgstr "Le territoire parent est un sous-territoire du territoire courant, merci de modifier vos saisies."
|
msgstr "Le territoire parent est un sous-territoire du territoire courant, merci de modifier vos saisies."
|
||||||
@ -1485,21 +1271,14 @@ msgid "This field holds the image used as avatar for this contact, limited to 10
|
|||||||
msgstr "Ce champ contient l'image utilisée comme photo d'identité pour ce contact, limitée à 1024x1024px."
|
msgstr "Ce champ contient l'image utilisée comme photo d'identité pour ce contact, limitée à 1024x1024px."
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:199
|
#: code:addons/golem_member/models/golem_member.py:194
|
||||||
#: sql_constraint:golem.member:0
|
#: sql_constraint:golem.member:0
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "This member number has already been used."
|
msgid "This member number has already been used."
|
||||||
msgstr "Ce numéro d'adhérent a été déjà utilisé."
|
msgstr "Ce numéro d'adhérent a été déjà utilisé."
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member_age_range.py:32
|
#: code:addons/golem_member/models/golem_member.py:49
|
||||||
#: sql_constraint:golem.member.age.range:0
|
|
||||||
#, python-format
|
|
||||||
msgid "This name has already been used. It must be unique."
|
|
||||||
msgstr "Ce nom a déjà été utilisé. Il doit être unique."
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: code:addons/golem_member/models/golem_member.py:53
|
|
||||||
#: sql_constraint:golem.partner.area:0
|
#: sql_constraint:golem.partner.area:0
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "This patner area has already been used."
|
msgid "This patner area has already been used."
|
||||||
@ -1566,11 +1345,17 @@ msgid "Total amount you have to pay to this vendor."
|
|||||||
msgstr "Montant total à payer au fournisseur."
|
msgstr "Montant total à payer au fournisseur."
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:107
|
#: code:addons/golem_member/models/golem_member.py:103
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Unsupported operator for age search"
|
msgid "Unsupported operator for age search"
|
||||||
msgstr "Opérateur de recherche non supporté pour l'âge"
|
msgstr "Opérateur de recherche non supporté pour l'âge"
|
||||||
|
|
||||||
|
#. module: golem_member
|
||||||
|
#: code:addons/golem_member/models/golem_member.py:261
|
||||||
|
#, python-format
|
||||||
|
msgid "Unsupported operator for defautl season search"
|
||||||
|
msgstr "Opérateur de recherche non supporté pour le filtre de saison par défaut"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,help:golem_member.field_golem_member_type
|
#: model:ir.model.fields,help:golem_member.field_golem_member_type
|
||||||
msgid "Used to select automatically the right address according to the context in sales and purchases documents."
|
msgid "Used to select automatically the right address according to the context in sales and purchases documents."
|
||||||
@ -1602,8 +1387,8 @@ msgid "Website of Partner or Company"
|
|||||||
msgstr "Site Web pour les Partenaires ou les Sociétés"
|
msgstr "Site Web pour les Partenaires ou les Sociétés"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:392
|
#: code:addons/golem_member/models/golem_member.py:399
|
||||||
#: code:addons/golem_member/models/golem_member.py:395
|
#: code:addons/golem_member/models/golem_member.py:402
|
||||||
#: selection:golem.member.numberconfig,is_automatic:0
|
#: selection:golem.member.numberconfig,is_automatic:0
|
||||||
#: selection:golem.member.numberconfig,is_per_season:0
|
#: selection:golem.member.numberconfig,is_per_season:0
|
||||||
#, python-format
|
#, python-format
|
||||||
@ -1635,9 +1420,3 @@ msgstr "e.g. www.yaltik.com"
|
|||||||
msgid "name@example.org"
|
msgid "name@example.org"
|
||||||
msgstr "name@example.org"
|
msgstr "name@example.org"
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: code:addons/golem_member/models/golem_member_age_range.py:63
|
|
||||||
#, python-format
|
|
||||||
msgid "{}-{} years"
|
|
||||||
msgstr "{}-{} ans"
|
|
||||||
|
|
||||||
|
@ -6,8 +6,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 10.0\n"
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2020-01-16 15:46+0000\n"
|
"POT-Creation-Date: 2018-11-01 15:15+0000\n"
|
||||||
"PO-Revision-Date: 2020-01-16 15:46+0000\n"
|
"PO-Revision-Date: 2018-11-01 15:15+0000\n"
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: <>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@ -57,53 +57,11 @@ msgstr ""
|
|||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_age_computing
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_res_partner_age
|
#: model:ir.model.fields,field_description:golem_member.field_res_partner_age
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_res_users_age
|
#: model:ir.model.fields,field_description:golem_member.field_res_users_age
|
||||||
msgid "Age"
|
msgid "Age"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.actions.act_window,name:golem_member.golem_member_age_range_action
|
|
||||||
#: model:ir.ui.menu,name:golem_member.golem_member_age_range_menu
|
|
||||||
msgid "Age Ranges"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_age_start_season
|
|
||||||
msgid "Age at season start"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_age_end_season
|
|
||||||
msgid "Age at season stop"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_age_now
|
|
||||||
msgid "Age now"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_age_range_end_season
|
|
||||||
msgid "Age range at season end"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_age_range_start_season
|
|
||||||
msgid "Age range at season start"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_age_range_now
|
|
||||||
msgid "Age range now"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_analyse_type
|
|
||||||
msgid "Analyse type"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_animator_activity_ids
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_animator_activity_ids
|
||||||
msgid "Animated activities"
|
msgid "Animated activities"
|
||||||
@ -134,11 +92,6 @@ msgstr ""
|
|||||||
msgid "Area from street"
|
msgid "Area from street"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_area_id
|
|
||||||
msgid "Area id"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_form
|
#: model:ir.ui.view,arch_db:golem_member.golem_member_form
|
||||||
#: model:ir.ui.view,arch_db:golem_member.res_partner_form_inherit_golem_member
|
#: model:ir.ui.view,arch_db:golem_member.res_partner_form_inherit_golem_member
|
||||||
@ -163,16 +116,6 @@ msgstr ""
|
|||||||
msgid "Associate Member"
|
msgid "Associate Member"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: selection:golem.member.analysis.wizard,age_computing:0
|
|
||||||
msgid "At season start"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: selection:golem.member.analysis.wizard,age_computing:0
|
|
||||||
msgid "At season stop"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_bank_account_count
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_bank_account_count
|
||||||
msgid "Bank"
|
msgid "Bank"
|
||||||
@ -215,7 +158,6 @@ msgid "By age"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: selection:golem.member.analysis.wizard,analyse_type:0
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_search
|
#: model:ir.ui.view,arch_db:golem_member.golem_member_search
|
||||||
msgid "By area"
|
msgid "By area"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -226,21 +168,10 @@ msgid "By city"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: selection:golem.member.analysis.wizard,analyse_type:0
|
|
||||||
msgid "By family quotient and area"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: selection:golem.member.analysis.wizard,analyse_type:0
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_search
|
#: model:ir.ui.view,arch_db:golem_member.golem_member_search
|
||||||
msgid "By gender"
|
msgid "By gender"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: selection:golem.member.analysis.wizard,analyse_type:0
|
|
||||||
msgid "By tag and area"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_numberconfig_form
|
#: model:ir.ui.view,arch_db:golem_member.golem_member_numberconfig_form
|
||||||
msgid "Cancel"
|
msgid "Cancel"
|
||||||
@ -251,12 +182,6 @@ msgstr ""
|
|||||||
msgid "Cancel Membership Date"
|
msgid "Cancel Membership Date"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_category_id
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_category_id
|
|
||||||
msgid "Category id"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_channel_ids
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_channel_ids
|
||||||
msgid "Channels"
|
msgid "Channels"
|
||||||
@ -391,9 +316,6 @@ msgid "Create a service user from this contact"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age_range_create_uid
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_create_uid
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_create_uid
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_create_uid
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_create_uid
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_create_uid
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_create_uid
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_create_uid
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_create_uid
|
||||||
@ -403,9 +325,6 @@ msgid "Created by"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age_range_create_date
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_create_date
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_create_date
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_create_date
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_create_date
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_create_date
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_create_date
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_create_date
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_create_date
|
||||||
@ -485,9 +404,6 @@ msgid "Department"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age_range_display_name
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_display_name
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_display_name
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_display_name
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_display_name
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_display_name
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_display_name
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_display_name
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_display_name
|
||||||
@ -527,9 +443,7 @@ msgid "Fax"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:131
|
#: code:addons/golem_member/models/golem_member.py:127
|
||||||
#: code:addons/golem_member/wizard/golem_member_analysis.py:38
|
|
||||||
#: selection:golem.member.analysis,gender:0
|
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Female"
|
msgid "Female"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -569,11 +483,6 @@ msgstr ""
|
|||||||
msgid "GOLEM Member"
|
msgid "GOLEM Member"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model,name:golem_member.model_golem_member_age_range
|
|
||||||
msgid "GOLEM Member Age Range Management"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.actions.act_window,name:golem_member.golem_member_numberconfig_action
|
#: model:ir.actions.act_window,name:golem_member.golem_member_numberconfig_action
|
||||||
#: model:ir.ui.menu,name:golem_member.golem_member_numberconfig_menu
|
#: model:ir.ui.menu,name:golem_member.golem_member_numberconfig_menu
|
||||||
@ -600,23 +509,13 @@ msgstr ""
|
|||||||
msgid "GOLEM Members"
|
msgid "GOLEM Members"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model,name:golem_member.model_golem_member_analysis_wizard
|
|
||||||
msgid "GOLEM Members Analysis Wizard Adaptation"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model,name:golem_member.model_golem_member_analysis
|
|
||||||
msgid "GOLEM Members Analysis Adaption"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.actions.act_window,name:golem_member.res_partner_category_action
|
#: model:ir.actions.act_window,name:golem_member.res_partner_category_action
|
||||||
msgid "GOLEM Members Tags"
|
msgid "GOLEM Members Tags"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:452
|
#: code:addons/golem_member/models/golem_member.py:459
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "GOLEM Members merge has not been implemented yet. Please only merge partners, not members, or delete GOLEM Members manually before merging."
|
msgid "GOLEM Members merge has not been implemented yet. Please only merge partners, not members, or delete GOLEM Members manually before merging."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -632,7 +531,6 @@ msgid "GOLEM Season"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_gender
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_gender
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_gender
|
||||||
msgid "Gender"
|
msgid "Gender"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -668,20 +566,6 @@ msgid "Has unreconciled entries"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age_range_higher_bound
|
|
||||||
msgid "Higher bound"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: code:addons/golem_member/models/golem_member_age_range.py:54
|
|
||||||
#, python-format
|
|
||||||
msgid "Higher bound age in range of an existing age range."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age_range_id
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_id
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_id
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_id
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_id
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_id
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_id
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_id
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_id
|
||||||
@ -823,9 +707,6 @@ msgstr ""
|
|||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member___last_update
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member___last_update
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age_range___last_update
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis___last_update
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard___last_update
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number___last_update
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number___last_update
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig___last_update
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig___last_update
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_partner_area___last_update
|
#: model:ir.model.fields,field_description:golem_member.field_golem_partner_area___last_update
|
||||||
@ -834,9 +715,6 @@ msgid "Last Modified on"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age_range_write_uid
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_write_uid
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_write_uid
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_write_uid
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_write_uid
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_write_uid
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_write_uid
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_write_uid
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_write_uid
|
||||||
@ -846,9 +724,6 @@ msgid "Last Updated by"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age_range_write_date
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_write_date
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_write_date
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_write_date
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_write_date
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_write_date
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_numberconfig_write_date
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_write_date
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_write_date
|
||||||
@ -873,20 +748,7 @@ msgid "Latest Invoices & Payments Matching Date"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age_range_lower_bound
|
#: code:addons/golem_member/models/golem_member.py:126
|
||||||
msgid "Lower bound"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: code:addons/golem_member/models/golem_member_age_range.py:50
|
|
||||||
#, python-format
|
|
||||||
msgid "Lower bound age in range of an existing age range."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: code:addons/golem_member/models/golem_member.py:130
|
|
||||||
#: code:addons/golem_member/wizard/golem_member_analysis.py:37
|
|
||||||
#: selection:golem.member.analysis,gender:0
|
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Male"
|
msgid "Male"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -912,22 +774,10 @@ msgid "Medium-sized image of this contact. It is automatically resized as a 128x
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: selection:golem.member.analysis.wizard,service_user:0
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_member_id
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_member_id
|
||||||
msgid "Member"
|
msgid "Member"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: code:addons/golem_member/wizard/golem_member_analysis_wizard.py:120
|
|
||||||
#, python-format
|
|
||||||
msgid "Member Analysis"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_member_analysis_id
|
|
||||||
msgid "Member analysis id"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_name
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_name
|
||||||
msgid "Member computed name"
|
msgid "Member computed name"
|
||||||
@ -989,10 +839,8 @@ msgid "NIC"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_age_range_name
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_name
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_name
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_name
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_name_4229
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_name_4230
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_partner_area_name
|
#: model:ir.model.fields,field_description:golem_member.field_golem_partner_area_name
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_partner_area_street_name
|
#: model:ir.model.fields,field_description:golem_member.field_golem_partner_area_street_name
|
||||||
msgid "Name"
|
msgid "Name"
|
||||||
@ -1006,8 +854,8 @@ msgid "Nationality"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:392
|
#: code:addons/golem_member/models/golem_member.py:399
|
||||||
#: code:addons/golem_member/models/golem_member.py:395
|
#: code:addons/golem_member/models/golem_member.py:402
|
||||||
#: selection:golem.member.numberconfig,is_automatic:0
|
#: selection:golem.member.numberconfig,is_automatic:0
|
||||||
#: selection:golem.member.numberconfig,is_per_season:0
|
#: selection:golem.member.numberconfig,is_per_season:0
|
||||||
#, python-format
|
#, python-format
|
||||||
@ -1015,9 +863,7 @@ msgid "No"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:132
|
#: code:addons/golem_member/models/golem_member.py:128
|
||||||
#: code:addons/golem_member/wizard/golem_member_analysis.py:39
|
|
||||||
#: selection:golem.member.analysis,gender:0
|
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Not Disclosed"
|
msgid "Not Disclosed"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -1027,11 +873,6 @@ msgstr ""
|
|||||||
msgid "Notes"
|
msgid "Notes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: selection:golem.member.analysis.wizard,age_computing:0
|
|
||||||
msgid "Now"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_number
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_number
|
||||||
msgid "Number"
|
msgid "Number"
|
||||||
@ -1117,16 +958,6 @@ msgstr ""
|
|||||||
msgid "Period :"
|
msgid "Period :"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_season_end
|
|
||||||
msgid "Period end"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_season_start
|
|
||||||
msgid "Period start"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_form
|
#: model:ir.ui.view,arch_db:golem_member.golem_member_form
|
||||||
msgid "Personal details"
|
msgid "Personal details"
|
||||||
@ -1179,11 +1010,6 @@ msgstr ""
|
|||||||
msgid "Root area"
|
msgid "Root area"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_wizard_view_form
|
|
||||||
msgid "Run analysis"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_siren
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_siren
|
||||||
msgid "SIREN"
|
msgid "SIREN"
|
||||||
@ -1205,8 +1031,6 @@ msgid "Salesperson"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_season_id
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_season_id
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_season_id
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_season_id
|
||||||
msgid "Season"
|
msgid "Season"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -1241,18 +1065,6 @@ msgstr ""
|
|||||||
msgid "Sequence"
|
msgid "Sequence"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.actions.act_window,name:golem_member.golem_analysis_action
|
|
||||||
#: model:ir.ui.menu,name:golem_member.golem_analysis_menu
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_wizard_view_form
|
|
||||||
msgid "Service User Analysis"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.actions.act_window,name:golem_member.action_partner_mass_mail
|
|
||||||
msgid "Service User Mass Mailing"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.ui.menu,name:golem_member.res_partner_category_menu
|
#: model:ir.ui.menu,name:golem_member.res_partner_category_menu
|
||||||
msgid "Service User Tags"
|
msgid "Service User Tags"
|
||||||
@ -1270,37 +1082,17 @@ msgid "Service Users"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: selection:golem.member.analysis.wizard,service_user:0
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_member_id
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_member_id
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_member_id
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_res_partner_member_id
|
#: model:ir.model.fields,field_description:golem_member.field_res_partner_member_id
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_res_users_member_id
|
#: model:ir.model.fields,field_description:golem_member.field_res_users_member_id
|
||||||
msgid "Service user"
|
msgid "Service user"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_pivot_age_end_area
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_pivot_age_end_gender
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_pivot_age_end_tag
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_pivot_age_now_area
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_pivot_age_now_gender
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_pivot_age_now_tag
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_pivot_age_start_area
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_pivot_age_start_gender
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member.golem_member_analysis_pivot_age_start_tag
|
|
||||||
msgid "Service user Analysis"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.ui.menu,name:golem_member.golem_member_user_menu
|
#: model:ir.ui.menu,name:golem_member.golem_member_user_menu
|
||||||
msgid "Service users"
|
msgid "Service users"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_analysis_wizard_service_user
|
|
||||||
msgid "Service users or members"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_partner_share
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_partner_share
|
||||||
msgid "Share Partner"
|
msgid "Share Partner"
|
||||||
@ -1419,12 +1211,6 @@ msgstr ""
|
|||||||
msgid "The fiscal position will determine taxes and accounts used for the partner."
|
msgid "The fiscal position will determine taxes and accounts used for the partner."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: code:addons/golem_member/models/golem_member_age_range.py:44
|
|
||||||
#, python-format
|
|
||||||
msgid "The higher bound age must be higher than the lower bound."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,help:golem_member.field_golem_member_user_id
|
#: model:ir.model.fields,help:golem_member.field_golem_member_user_id
|
||||||
msgid "The internal user that is in charge of communicating with this contact if any."
|
msgid "The internal user that is in charge of communicating with this contact if any."
|
||||||
@ -1436,7 +1222,7 @@ msgid "The name of official registry where this company was declared."
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:75
|
#: code:addons/golem_member/models/golem_member.py:71
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "The parent area is a sub area of the current area, please change it."
|
msgid "The parent area is a sub area of the current area, please change it."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -1477,21 +1263,14 @@ msgid "This field holds the image used as avatar for this contact, limited to 10
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:199
|
#: code:addons/golem_member/models/golem_member.py:194
|
||||||
#: sql_constraint:golem.member:0
|
#: sql_constraint:golem.member:0
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "This member number has already been used."
|
msgid "This member number has already been used."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member_age_range.py:32
|
#: code:addons/golem_member/models/golem_member.py:49
|
||||||
#: sql_constraint:golem.member.age.range:0
|
|
||||||
#, python-format
|
|
||||||
msgid "This name has already been used. It must be unique."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: code:addons/golem_member/models/golem_member.py:53
|
|
||||||
#: sql_constraint:golem.partner.area:0
|
#: sql_constraint:golem.partner.area:0
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "This patner area has already been used."
|
msgid "This patner area has already been used."
|
||||||
@ -1558,11 +1337,17 @@ msgid "Total amount you have to pay to this vendor."
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:107
|
#: code:addons/golem_member/models/golem_member.py:103
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Unsupported operator for age search"
|
msgid "Unsupported operator for age search"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: golem_member
|
||||||
|
#: code:addons/golem_member/models/golem_member.py:261
|
||||||
|
#, python-format
|
||||||
|
msgid "Unsupported operator for defautl season search"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,help:golem_member.field_golem_member_type
|
#: model:ir.model.fields,help:golem_member.field_golem_member_type
|
||||||
msgid "Used to select automatically the right address according to the context in sales and purchases documents."
|
msgid "Used to select automatically the right address according to the context in sales and purchases documents."
|
||||||
@ -1594,8 +1379,8 @@ msgid "Website of Partner or Company"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:392
|
#: code:addons/golem_member/models/golem_member.py:399
|
||||||
#: code:addons/golem_member/models/golem_member.py:395
|
#: code:addons/golem_member/models/golem_member.py:402
|
||||||
#: selection:golem.member.numberconfig,is_automatic:0
|
#: selection:golem.member.numberconfig,is_automatic:0
|
||||||
#: selection:golem.member.numberconfig,is_per_season:0
|
#: selection:golem.member.numberconfig,is_per_season:0
|
||||||
#, python-format
|
#, python-format
|
||||||
@ -1627,9 +1412,3 @@ msgstr ""
|
|||||||
msgid "name@example.org"
|
msgid "name@example.org"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
|
||||||
#: code:addons/golem_member/models/golem_member_age_range.py:63
|
|
||||||
#, python-format
|
|
||||||
msgid "{}-{} years"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2016-2018 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2016-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
# Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
||||||
@ -16,4 +15,4 @@
|
|||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from . import golem_member, golem_season, golem_member_age_range
|
from . import golem_member, golem_season
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Copyright 2016-2021 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2016-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
# Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
|
# Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
@ -19,16 +19,13 @@
|
|||||||
""" GOLEM Members """
|
""" GOLEM Members """
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
from re import compile as rcompile
|
import re
|
||||||
from datetime import date, timedelta
|
from datetime import date, timedelta
|
||||||
from dateutil.relativedelta import relativedelta
|
from dateutil.relativedelta import relativedelta
|
||||||
from odoo import models, fields, api, _
|
from odoo import models, fields, api, _
|
||||||
from odoo.exceptions import UserError, ValidationError
|
from odoo.exceptions import UserError, ValidationError
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
street_number = rcompile(r'^(\d-?(bis)*(ter)*,?\s*)+')
|
|
||||||
|
|
||||||
def get_root_area(area_id):
|
def get_root_area(area_id):
|
||||||
""" Get root area """
|
""" Get root area """
|
||||||
if not area_id.parent_id:
|
if not area_id.parent_id:
|
||||||
@ -103,30 +100,14 @@ class ResPartner(models.Model):
|
|||||||
|
|
||||||
def _search_age(self, operator, value):
|
def _search_age(self, operator, value):
|
||||||
""" Age search function """
|
""" Age search function """
|
||||||
if operator not in ('=', '!=', '<', '<=', '>', '>='):
|
if operator != '=':
|
||||||
err = _('Unsupported operator for age search')
|
err = _('Unsupported operator for age search')
|
||||||
raise NotImplementedError(err)
|
raise NotImplementedError(err)
|
||||||
today = date.today()
|
today = date.today()
|
||||||
birthdate_date = today - timedelta(days=365.25 * value)
|
min_birthdate_date = today - timedelta(days=365.25 * value)
|
||||||
if operator in ('=', '!='):
|
max_birthdate_date = today - timedelta(days=365.25 * (value + 1))
|
||||||
birthdate_date = today - timedelta(days=365.25 * value)
|
return ['&', ('birthdate_date', '>', max_birthdate_date),
|
||||||
max_birthdate_date = today - timedelta(days=365.25 * (value + 1))
|
('birthdate_date', '<=', min_birthdate_date)]
|
||||||
if operator == '=':
|
|
||||||
return ['&', ('birthdate_date', '>', max_birthdate_date),
|
|
||||||
('birthdate_date', '<=', birthdate_date)]
|
|
||||||
else:
|
|
||||||
return ['|', ('birthdate_date', '<=', max_birthdate_date),
|
|
||||||
('birthdate_date', '>', birthdate_date)]
|
|
||||||
else:
|
|
||||||
if operator == '>':
|
|
||||||
operator = '<'
|
|
||||||
elif operator == '>=':
|
|
||||||
operator = '<='
|
|
||||||
elif operator == '<':
|
|
||||||
operator = '>'
|
|
||||||
else:
|
|
||||||
operator = '>='
|
|
||||||
return [('birthdate_date', operator, birthdate_date)]
|
|
||||||
|
|
||||||
@api.model
|
@api.model
|
||||||
def _get_default_nationality_id(self):
|
def _get_default_nationality_id(self):
|
||||||
@ -181,7 +162,8 @@ class ResPartner(models.Model):
|
|||||||
for member in self:
|
for member in self:
|
||||||
if member.street and not member.area_from_street:
|
if member.street and not member.area_from_street:
|
||||||
mstreet = member.street.strip()
|
mstreet = member.street.strip()
|
||||||
mstreet = street_number.sub(u'', mstreet).strip()
|
p = re.compile(r'^\d+')
|
||||||
|
mstreet = p.sub('', mstreet).strip()
|
||||||
street_id = self.env['golem.partner.area.street'].search(
|
street_id = self.env['golem.partner.area.street'].search(
|
||||||
[('name', 'ilike', mstreet)]
|
[('name', 'ilike', mstreet)]
|
||||||
)
|
)
|
||||||
@ -238,7 +220,8 @@ class GolemMember(models.Model):
|
|||||||
required=True, default=default_season,
|
required=True, default=default_season,
|
||||||
auto_join=True, ondelete='restrict')
|
auto_join=True, ondelete='restrict')
|
||||||
is_default = fields.Boolean('Default season?',
|
is_default = fields.Boolean('Default season?',
|
||||||
compute='_compute_is_default', store=True)
|
compute='_compute_is_default',
|
||||||
|
search='_search_is_default')
|
||||||
is_number_manual = fields.Boolean('Is number manual?', store=False,
|
is_number_manual = fields.Boolean('Is number manual?', store=False,
|
||||||
compute='_compute_is_number_manual')
|
compute='_compute_is_number_manual')
|
||||||
|
|
||||||
@ -270,6 +253,18 @@ class GolemMember(models.Model):
|
|||||||
for member in self:
|
for member in self:
|
||||||
member.is_default = default_s in member.season_ids
|
member.is_default = default_s in member.season_ids
|
||||||
|
|
||||||
|
@api.multi
|
||||||
|
def _search_is_default(self, operator, value):
|
||||||
|
""" Search function for is default """
|
||||||
|
if operator in ('in', '='):
|
||||||
|
operator = '=' if value else '!='
|
||||||
|
elif operator in ('not in', '!='):
|
||||||
|
operator = '!=' if value else '='
|
||||||
|
else:
|
||||||
|
err = _('Unsupported operator for defautl season search')
|
||||||
|
raise NotImplementedError(err)
|
||||||
|
return [('season_ids', operator, self.default_season().id)]
|
||||||
|
|
||||||
@api.depends('number')
|
@api.depends('number')
|
||||||
def _compute_is_number_manual(self):
|
def _compute_is_number_manual(self):
|
||||||
conf = self.env['ir.config_parameter']
|
conf = self.env['ir.config_parameter']
|
||||||
@ -282,7 +277,8 @@ class GolemMember(models.Model):
|
|||||||
for member in self:
|
for member in self:
|
||||||
mstreet = member.street.strip() if member.street else False
|
mstreet = member.street.strip() if member.street else False
|
||||||
if mstreet and not member.area_id:
|
if mstreet and not member.area_id:
|
||||||
mstreet = street_number.sub('', mstreet).strip()
|
p = re.compile(r'^\d+')
|
||||||
|
mstreet = p.sub('', mstreet).strip()
|
||||||
street_id = self.env['golem.partner.area.street'].search(
|
street_id = self.env['golem.partner.area.street'].search(
|
||||||
[('name', 'ilike', mstreet)], limit=1
|
[('name', 'ilike', mstreet)], limit=1
|
||||||
)
|
)
|
||||||
|
@ -1,65 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
# Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
# Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
""" GOLEM Member Age Range Management """
|
|
||||||
|
|
||||||
from odoo import models, fields, api, _
|
|
||||||
from odoo.exceptions import ValidationError
|
|
||||||
|
|
||||||
|
|
||||||
class GolemMemberAgeRange(models.Model):
|
|
||||||
""" GOLEM Member Age Range Management """
|
|
||||||
_name = 'golem.member.age.range'
|
|
||||||
_description = 'GOLEM Member Age Range Management'
|
|
||||||
_order = 'lower_bound asc'
|
|
||||||
_sql_constraints = [(
|
|
||||||
'golem_age_range_rule_name_uniq', 'UNIQUE (name)',
|
|
||||||
_('This name has already been used. It must be unique.')
|
|
||||||
)]
|
|
||||||
|
|
||||||
name = fields.Char(required=True)
|
|
||||||
lower_bound = fields.Integer(required=True)
|
|
||||||
higher_bound = fields.Integer(required=True)
|
|
||||||
|
|
||||||
@api.constrains('lower_bound', 'higher_bound')
|
|
||||||
def check_bounds(self):
|
|
||||||
""" Check member age bounds coherence and conflicts """
|
|
||||||
for rng in self:
|
|
||||||
if rng.lower_bound > rng.higher_bound:
|
|
||||||
verr = _(u'The higher bound age must be higher than the lower '
|
|
||||||
'bound.')
|
|
||||||
raise ValidationError(verr)
|
|
||||||
rngs = self.env['golem.member.age.range'].search([])
|
|
||||||
for each_rng in rngs:
|
|
||||||
if each_rng.lower_bound < rng.lower_bound < each_rng.higher_bound:
|
|
||||||
verr = _(u'Lower bound age in range of an existing age '
|
|
||||||
'range.')
|
|
||||||
raise ValidationError(verr)
|
|
||||||
if each_rng.lower_bound < rng.higher_bound < each_rng.higher_bound:
|
|
||||||
verr = _(u'Higher bound age in range of an existing age '
|
|
||||||
'range.')
|
|
||||||
raise ValidationError(verr)
|
|
||||||
|
|
||||||
@api.onchange('lower_bound', 'higher_bound')
|
|
||||||
def onchange_name(self):
|
|
||||||
""" If no name, computes age range name """
|
|
||||||
for rec in self:
|
|
||||||
if not rec.name and rec.lower_bound and rec.higher_bound:
|
|
||||||
rec.name = _(u'{}-{} years').format(
|
|
||||||
rec.lower_bound, rec.higher_bound
|
|
||||||
)
|
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2018-2019 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
||||||
@ -30,9 +30,6 @@ class GolemSeason(models.Model):
|
|||||||
self.ensure_one()
|
self.ensure_one()
|
||||||
res = super(GolemSeason, self).do_default_season()
|
res = super(GolemSeason, self).do_default_season()
|
||||||
all_members = self.env['golem.member'].search([])
|
all_members = self.env['golem.member'].search([])
|
||||||
# Recompute is_default
|
|
||||||
all_members._compute_is_default()
|
|
||||||
# Regenerate number
|
|
||||||
conf = self.env['ir.config_parameter']
|
conf = self.env['ir.config_parameter']
|
||||||
if conf.get_param('golem_numberconfig_isautomatic') == '1' and \
|
if conf.get_param('golem_numberconfig_isautomatic') == '1' and \
|
||||||
conf.get_param('golem_numberconfig_isperseason') == '1':
|
conf.get_param('golem_numberconfig_isperseason') == '1':
|
||||||
|
@ -1,13 +1,6 @@
|
|||||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||||
access_golem_member_auditor,Access GOLEM Member Auditor,model_golem_member,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_golem_member_user,Access GOLEM Member User,model_golem_member,golem_base.group_golem_user,1,1,1,1
|
access_golem_member_user,Access GOLEM Member User,model_golem_member,golem_base.group_golem_user,1,1,1,1
|
||||||
access_partner_area_auditor,Access GOLEM Partner Area Auditor,model_golem_partner_area,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_partner_area_user,Access GOLEM Partner Area User,model_golem_partner_area,golem_base.group_golem_user,1,1,1,1
|
access_partner_area_user,Access GOLEM Partner Area User,model_golem_partner_area,golem_base.group_golem_user,1,1,1,1
|
||||||
access_partner_area_street_auditor,Access GOLEM Partner Area Street Auditor,model_golem_partner_area_street,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_partner_area_street_user,Access GOLEM Partner Area Street User,model_golem_partner_area_street,golem_base.group_golem_user,1,1,1,1
|
access_partner_area_street_user,Access GOLEM Partner Area Street User,model_golem_partner_area_street,golem_base.group_golem_user,1,1,1,1
|
||||||
access_golem_member_season_auditor,Access GOLEM Member Season Auditor,model_golem_member_number,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_golem_member_season_user,Access GOLEM Member Season User,model_golem_member_number,golem_base.group_golem_user,1,1,1,1
|
access_golem_member_season_user,Access GOLEM Member Season User,model_golem_member_number,golem_base.group_golem_user,1,1,1,1
|
||||||
access_ir_config_parameter_manager,Access IR Config Parameter Manager,base.model_ir_config_parameter,golem_base.group_golem_manager,1,1,1,1
|
access_ir_config_parameter_manager,Access IR Config Parameter Manager,base.model_ir_config_parameter,golem_base.group_golem_manager,1,1,1,1
|
||||||
access_golem_age_range_manager,Access Golem Age Range Manager,model_golem_member_age_range,golem_base.group_golem_manager,1,1,1,1
|
|
||||||
access_golem_age_range_auditor,Access Golem Age Range Auditor,model_golem_member_age_range,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_golem_age_range_user,Access Golem Age Range User,model_golem_member_age_range,golem_base.group_golem_user,1,0,0,0
|
|
||||||
|
|
@ -1,46 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU Affero General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Affero General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<odoo>
|
|
||||||
<data>
|
|
||||||
|
|
||||||
<!-- Tree -->
|
|
||||||
<record model="ir.ui.view" id="golem_member_age_range_tree">
|
|
||||||
<field name="name">GOLEM Member Age Range Tree</field>
|
|
||||||
<field name="model">golem.member.age.range</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<tree editable="botom">
|
|
||||||
<field name="name"/>
|
|
||||||
<field name="lower_bound" />
|
|
||||||
<field name="higher_bound"/>
|
|
||||||
</tree>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<!-- Actions -->
|
|
||||||
<act_window id="golem_member_age_range_action" name="Age Ranges"
|
|
||||||
res_model="golem.member.age.range" view_mode="tree" />
|
|
||||||
|
|
||||||
<!-- Menus -->
|
|
||||||
<menuitem id="golem_member_age_range_menu" name="Age Ranges"
|
|
||||||
parent="golem_membership.menu_config_association" sequence="30"
|
|
||||||
action="golem_member_age_range_action" />
|
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Copyright 2017-2020 Fabien Bourgeois <fabien@yaltik.com>
|
Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
it under the terms of the GNU Affero General Public License as published by
|
||||||
@ -38,24 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<field name="target">new</field>
|
<field name="target">new</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<!-- TMP: from mail base addons, urgency before PR42 -->
|
|
||||||
<record id="email_template_partner" model="mail.template">
|
|
||||||
<field name="name">Service User Mass Mail</field>
|
|
||||||
<field name="model_id" ref="golem_member.model_golem_member"/>
|
|
||||||
<field name="auto_delete" eval="True"/>
|
|
||||||
<field name="partner_to">${object.partner_id.id}</field>
|
|
||||||
</record>
|
|
||||||
<act_window name="Service User Mass Mailing" res_model="mail.compose.message"
|
|
||||||
src_model="golem.member" view_mode="form" multi="True" target="new"
|
|
||||||
key2="client_action_multi" id="action_partner_mass_mail"
|
|
||||||
context="{'default_composition_mode': 'mass_mail',
|
|
||||||
'default_partner_to': '${object.partner_id.id or \'\'}',
|
|
||||||
'default_use_template': True,
|
|
||||||
'default_template_id': ref('email_template_partner')}"/>
|
|
||||||
<record id="email_template_partner" model="mail.template">
|
|
||||||
<field name="ref_ir_act_window" ref="action_partner_mass_mail"/>
|
|
||||||
</record>
|
|
||||||
0
|
|
||||||
<!-- Forms -->
|
<!-- Forms -->
|
||||||
<record id="golem_member_form" model="ir.ui.view">
|
<record id="golem_member_form" model="ir.ui.view">
|
||||||
<field name="name">GOLEM Member Form</field>
|
<field name="name">GOLEM Member Form</field>
|
||||||
@ -217,8 +199,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<field name="city" />
|
<field name="city" />
|
||||||
<field name="country_id" />
|
<field name="country_id" />
|
||||||
<field name="number" />
|
<field name="number" />
|
||||||
<field name="number_manual" />
|
|
||||||
<field name="is_number_manual" />
|
|
||||||
<field name="season_ids" />
|
<field name="season_ids" />
|
||||||
<field name="category_id"/>
|
<field name="category_id"/>
|
||||||
<templates>
|
<templates>
|
||||||
@ -237,8 +217,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<div class="oe_kanban_details">
|
<div class="oe_kanban_details">
|
||||||
<h4 class="oe_partner_heading">
|
<h4 class="oe_partner_heading">
|
||||||
<a type="open"><field name="display_name" /></a>
|
<a type="open"><field name="display_name" /></a>
|
||||||
<t t-if="record.is_number_manual == False and record.number.raw_value != ''">(N° <field name="number" />)</t>
|
<t t-if="record.number.raw_value != ''">(N° <field name="number" />)</t>
|
||||||
<t t-if="record.is_number_manual and record.number_manual.raw_value != ''">(N° <field name="number_manual" />)</t>
|
|
||||||
</h4>
|
</h4>
|
||||||
<div class="oe_kanban_partner_categories" />
|
<div class="oe_kanban_partner_categories" />
|
||||||
<div class="oe_kanban_partner_links" />
|
<div class="oe_kanban_partner_links" />
|
||||||
@ -283,7 +262,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<tree string="GOLEM Members">
|
<tree string="GOLEM Members">
|
||||||
<field name="season_ids" options="{'no_create': True}" />
|
<field name="season_ids" options="{'no_create': True}" />
|
||||||
<field name="number" />
|
<field name="number" />
|
||||||
<field name="number_manual" string="Member number" />
|
|
||||||
<field name="name" />
|
<field name="name" />
|
||||||
<field name="contact_address" />
|
<field name="contact_address" />
|
||||||
<field name="phone" />
|
<field name="phone" />
|
||||||
@ -299,8 +277,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<field name="model">golem.member</field>
|
<field name="model">golem.member</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<search>
|
<search>
|
||||||
<field name="number"
|
<field name="number" />
|
||||||
filter_domain="['|', ('number', 'ilike', self), ('number_manual', 'ilike', self)]" />
|
|
||||||
<field name="name" />
|
<field name="name" />
|
||||||
<field name="season_ids" widget="many2one" />
|
<field name="season_ids" widget="many2one" />
|
||||||
<field name="area_id" />
|
<field name="area_id" />
|
||||||
@ -346,16 +323,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<!-- Add new menu items -->
|
<!-- Add new menu items -->
|
||||||
<menuitem id="golem_member_user_menu" name="Service users"
|
<menuitem id="golem_member_user_menu" name="Service users"
|
||||||
parent="golem_membership.menu_association" sequence="5"
|
parent="golem_membership.menu_association" sequence="5"
|
||||||
action="golem_member_user_action" groups="golem_base.group_golem_user,golem_base.group_golem_auditor" />
|
action="golem_member_user_action" groups="golem_base.group_golem_user" />
|
||||||
<menuitem id="golem_members_menu" name="Subscribers"
|
<menuitem id="golem_members_menu" name="Subscribers"
|
||||||
parent="golem_membership.menu_association" sequence="10"
|
parent="golem_membership.menu_association" sequence="10"
|
||||||
action="golem_member_action" groups="golem_base.group_golem_user,golem_base.group_golem_auditor" />
|
action="golem_member_action" groups="golem_base.group_golem_user" />
|
||||||
<menuitem id="golem_member_tool_menu" name="Tools"
|
<menuitem id="golem_member_tool_menu" name="Tools"
|
||||||
parent="golem_membership.menu_association" sequence="80"
|
parent="golem_membership.menu_association" sequence="80"
|
||||||
groups="golem_base.group_golem_user" />
|
groups="golem_base.group_golem_user" />
|
||||||
<menuitem id="res_partner_category_menu" name="Service User Tags"
|
<menuitem id="res_partner_category_menu" name="Service User Tags"
|
||||||
parent="golem_membership.menu_config_association" sequence="15"
|
parent="golem_membership.menu_config_association" sequence="15"
|
||||||
action="res_partner_category_action"
|
action="res_partner_category_action"
|
||||||
groups="golem_base.group_golem_manager,golem_base.group_golem_auditor" />
|
groups="golem_base.group_golem_manager" />
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
# Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
# Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
from . import golem_member_analysis_wizard, golem_member_analysis
|
|
@ -1,113 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
#
|
|
||||||
# Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
# Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
""" GOLEM Members Analysis Pivot Management """
|
|
||||||
|
|
||||||
import logging
|
|
||||||
from dateutil.relativedelta import relativedelta
|
|
||||||
from odoo import models, fields, api, _
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class GolemMemberAnalysisPivot(models.TransientModel):
|
|
||||||
""" GOLEM Members Analysis Pivot Management """
|
|
||||||
_name = 'golem.member.analysis'
|
|
||||||
_description = 'GOLEM Members Analysis Management'
|
|
||||||
|
|
||||||
member_analysis_id = fields.Many2one('golem.member.analysis.wizard', index=True)
|
|
||||||
season_id = fields.Many2one('golem.season', 'Season', required=True,
|
|
||||||
ondelete='cascade')
|
|
||||||
member_id = fields.Many2one('golem.member', 'Service user')
|
|
||||||
area_id = fields.Many2one('golem.partner.area')
|
|
||||||
gender = fields.Selection([('male', _('Male')),
|
|
||||||
('female', _('Female')),
|
|
||||||
('not_disclosed', _('Not Disclosed'))])
|
|
||||||
category_id = fields.Many2one('res.partner.category')
|
|
||||||
age_start_season = fields.Integer(string='Age at season start')
|
|
||||||
age_end_season = fields.Integer(string='Age at season stop')
|
|
||||||
age_now = fields.Integer()
|
|
||||||
age_range_start_season = fields.Many2one('golem.member.age.range',
|
|
||||||
'Age range at season start')
|
|
||||||
age_range_end_season = fields.Many2one('golem.member.age.range',
|
|
||||||
'Age range at season end')
|
|
||||||
age_range_now = fields.Many2one('golem.member.age.range', 'Age range now')
|
|
||||||
|
|
||||||
@api.model
|
|
||||||
def get_root_category(self, category_ids):
|
|
||||||
""" Get Root Category """
|
|
||||||
categories = self.env['res.partner.category']
|
|
||||||
for category_id in category_ids:
|
|
||||||
if not category_id.parent_id:
|
|
||||||
return category_id
|
|
||||||
categories |= category_id.parent_id
|
|
||||||
return self.get_root_category(categories)
|
|
||||||
|
|
||||||
@api.constrains('member_id')
|
|
||||||
@api.multi
|
|
||||||
def compute_fields(self):
|
|
||||||
""" compute model fields """
|
|
||||||
for rec in self:
|
|
||||||
rec.area_id = rec.member_id.area_id
|
|
||||||
rec.gender = rec.member_id.gender
|
|
||||||
if rec.member_id.category_id:
|
|
||||||
rec.category_id = self.get_root_category(rec.member_id.category_id)
|
|
||||||
rec._compute_age()
|
|
||||||
rec._compute_age_range()
|
|
||||||
|
|
||||||
@api.multi
|
|
||||||
def _compute_age(self):
|
|
||||||
""" Compute age """
|
|
||||||
for rec in self:
|
|
||||||
if(rec.member_id.birthdate_date and rec.season_id.date_start
|
|
||||||
and rec.season_id.date_end):
|
|
||||||
start_season = fields.Date.from_string(rec.season_id.date_start)
|
|
||||||
end_season = fields.Date.from_string(rec.season_id.date_end)
|
|
||||||
age_start_season = relativedelta(
|
|
||||||
start_season,
|
|
||||||
fields.Date.from_string(rec.member_id.birthdate_date)
|
|
||||||
)
|
|
||||||
age_end_season = relativedelta(
|
|
||||||
end_season,
|
|
||||||
fields.Date.from_string(rec.member_id.birthdate_date)
|
|
||||||
)
|
|
||||||
rec.write({'age_end_season': age_end_season.years,
|
|
||||||
'age_start_season': age_start_season.years,
|
|
||||||
'age_now': rec.member_id.age})
|
|
||||||
|
|
||||||
@api.multi
|
|
||||||
def _compute_age_range(self):
|
|
||||||
""" Compute age range """
|
|
||||||
for rec in self:
|
|
||||||
if rec.age_start_season:
|
|
||||||
age_range = self.env['golem.member.age.range'].search(
|
|
||||||
[('lower_bound', '<=', rec.age_start_season),
|
|
||||||
('higher_bound', '>=', rec.age_start_season)],
|
|
||||||
limit=1)
|
|
||||||
rec.age_range_start_season = age_range
|
|
||||||
if rec.age_end_season:
|
|
||||||
age_range = self.env['golem.member.age.range'].search(
|
|
||||||
[('lower_bound', '<=', rec.age_end_season),
|
|
||||||
('higher_bound', '>=', rec.age_end_season)],
|
|
||||||
limit=1)
|
|
||||||
rec.age_range_end_season = age_range
|
|
||||||
if rec.age_now:
|
|
||||||
age_range = self.env['golem.member.age.range'].search(
|
|
||||||
[('lower_bound', '<=', rec.age_now),
|
|
||||||
('higher_bound', '>=', rec.age_now)],
|
|
||||||
limit=1)
|
|
||||||
rec.age_range_now = age_range
|
|
@ -1,137 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU Affero General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Affero General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<odoo>
|
|
||||||
<data>
|
|
||||||
|
|
||||||
<!-- Trees -->
|
|
||||||
<record id="golem_member_analysis_tree" model="ir.ui.view">
|
|
||||||
<field name="name">Service user Analysis Tree</field>
|
|
||||||
<field name="model">golem.member.analysis</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<tree editable="bottom" create="false" delete="false">
|
|
||||||
<field name="season_id" />
|
|
||||||
<field name="member_id" />
|
|
||||||
</tree>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<!-- Pivots -->
|
|
||||||
<!-- Gender -->
|
|
||||||
<record id="golem_member_analysis_pivot_age_start_gender" model="ir.ui.view">
|
|
||||||
<field name="name">Service user Analysis Age Start Gender Pivot</field>
|
|
||||||
<field name="model">golem.member.analysis</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<pivot string="Service user Analysis">
|
|
||||||
<field name="age_range_start_season" type="row"/>
|
|
||||||
<field name="gender" type="col"/>
|
|
||||||
</pivot>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
<record id="golem_member_analysis_pivot_age_end_gender" model="ir.ui.view">
|
|
||||||
<field name="name">Service user Analysis Age End Gender Pivot</field>
|
|
||||||
<field name="model">golem.member.analysis</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<pivot string="Service user Analysis">
|
|
||||||
<field name="age_range_end_season" type="row"/>
|
|
||||||
<field name="gender" type="col"/>
|
|
||||||
</pivot>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
<record id="golem_member_analysis_pivot_age_now_gender" model="ir.ui.view">
|
|
||||||
<field name="name">Service user Analysis Age Now Gender Pivot</field>
|
|
||||||
<field name="model">golem.member.analysis</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<pivot string="Service user Analysis">
|
|
||||||
<field name="age_range_now" type="row"/>
|
|
||||||
<field name="gender" type="col"/>
|
|
||||||
</pivot>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<!-- Area -->
|
|
||||||
<record id="golem_member_analysis_pivot_age_start_area" model="ir.ui.view">
|
|
||||||
<field name="name">Service user Analysis Age Start Area Pivot</field>
|
|
||||||
<field name="model">golem.member.analysis</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<pivot string="Service user Analysis">
|
|
||||||
<field name="age_range_start_season" type="col"/>
|
|
||||||
<field name="area_id" type="row"/>
|
|
||||||
</pivot>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
<record id="golem_member_analysis_pivot_age_end_area" model="ir.ui.view">
|
|
||||||
<field name="name">Service user Analysis Age End Area Pivot</field>
|
|
||||||
<field name="model">golem.member.analysis</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<pivot string="Service user Analysis">
|
|
||||||
<field name="age_range_end_season" type="col"/>
|
|
||||||
<field name="area_id" type="row"/>
|
|
||||||
</pivot>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
<record id="golem_member_analysis_pivot_age_now_area" model="ir.ui.view">
|
|
||||||
<field name="name">Service user Analysis Age Now Area Pivot</field>
|
|
||||||
<field name="model">golem.member.analysis</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<pivot string="Service user Analysis">
|
|
||||||
<field name="age_range_now" type="col"/>
|
|
||||||
<field name="area_id" type="row"/>
|
|
||||||
</pivot>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<!-- Tag -->
|
|
||||||
<record id="golem_member_analysis_pivot_age_start_tag" model="ir.ui.view">
|
|
||||||
<field name="name">Service user Analysis Age Start Tag Pivot</field>
|
|
||||||
<field name="model">golem.member.analysis</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<pivot string="Service user Analysis">
|
|
||||||
<field name="age_range_start_season" type="col"/>
|
|
||||||
<field name="category_id" type="row"/>
|
|
||||||
<field name="area_id" type="row"/>
|
|
||||||
</pivot>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
<record id="golem_member_analysis_pivot_age_end_tag" model="ir.ui.view">
|
|
||||||
<field name="name">Service user Analysis Age End Tag Pivot</field>
|
|
||||||
<field name="model">golem.member.analysis</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<pivot string="Service user Analysis">
|
|
||||||
<field name="age_range_end_season" type="col"/>
|
|
||||||
<field name="category_id" type="row"/>
|
|
||||||
<field name="area_id" type="row"/>
|
|
||||||
</pivot>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
<record id="golem_member_analysis_pivot_age_now_tag" model="ir.ui.view">
|
|
||||||
<field name="name">Service user Analysis Age Now Tag Pivot</field>
|
|
||||||
<field name="model">golem.member.analysis</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<pivot string="Service user Analysis">
|
|
||||||
<field name="age_range_now" type="col"/>
|
|
||||||
<field name="category_id" type="row"/>
|
|
||||||
<field name="area_id" type="row"/>
|
|
||||||
</pivot>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
|
@ -1,128 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
#
|
|
||||||
# Copyright 2019-2020 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
# Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
""" GOLEM Members Analysis Management """
|
|
||||||
|
|
||||||
import logging
|
|
||||||
from odoo import models, fields, api, _
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class GolemMemberAnalysis(models.TransientModel):
|
|
||||||
""" GOLEM Members Analysis Management """
|
|
||||||
_name = 'golem.member.analysis.wizard'
|
|
||||||
_description = 'GOLEM Members Analysis Wizard Management'
|
|
||||||
|
|
||||||
def default_season(self):
|
|
||||||
""" Get default season """
|
|
||||||
domain = [('is_default', '=', True)]
|
|
||||||
return self.env['golem.season'].search(domain, limit=1)
|
|
||||||
|
|
||||||
name = fields.Char(default='/')
|
|
||||||
season_id = fields.Many2one('golem.season', 'Season', required=True,
|
|
||||||
default=default_season, ondelete='cascade')
|
|
||||||
season_start = fields.Date(related='season_id.date_start')
|
|
||||||
season_end = fields.Date(related='season_id.date_end')
|
|
||||||
analyse_type = fields.Selection([('gender', 'By gender'), ('area', 'By area'),
|
|
||||||
('tag', 'By tag and area')], required=True,
|
|
||||||
default='gender')
|
|
||||||
age_computing = fields.Selection([('season_start', 'At season start'),
|
|
||||||
('season_end', 'At season stop'),
|
|
||||||
('now', 'Now')], required=True,
|
|
||||||
default='season_start', string='Age')
|
|
||||||
category_id = fields.Many2one('res.partner.category', ondelete='cascade')
|
|
||||||
service_user = fields.Selection([('user', 'Service user'),
|
|
||||||
('member', 'Member')], default='user',
|
|
||||||
string='Service users or members')
|
|
||||||
|
|
||||||
|
|
||||||
@api.multi
|
|
||||||
def get_pivot_view(self):
|
|
||||||
""" Get pivot view """
|
|
||||||
self.ensure_one()
|
|
||||||
rec = self[0]
|
|
||||||
ref = u''
|
|
||||||
if rec.age_computing == 'season_start':
|
|
||||||
if rec.analyse_type == 'gender':
|
|
||||||
ref = u'golem_member.golem_member_analysis_pivot_age_start_gender'
|
|
||||||
elif rec.analyse_type == 'area':
|
|
||||||
ref = u'golem_member.golem_member_analysis_pivot_age_start_area'
|
|
||||||
elif rec.analyse_type == 'tag':
|
|
||||||
ref = u'golem_member.golem_member_analysis_pivot_age_start_tag'
|
|
||||||
elif rec.age_computing == 'season_end':
|
|
||||||
if rec.analyse_type == 'gender':
|
|
||||||
ref = u'golem_member.golem_member_analysis_pivot_age_end_gender'
|
|
||||||
elif rec.analyse_type == 'area':
|
|
||||||
ref = u'golem_member.golem_member_analysis_pivot_age_end_area'
|
|
||||||
elif rec.analyse_type == 'tag':
|
|
||||||
ref = u'golem_member.golem_member_analysis_pivot_age_end_tag'
|
|
||||||
else: # now
|
|
||||||
if rec.analyse_type == 'gender':
|
|
||||||
ref = u'golem_member.golem_member_analysis_pivot_age_now_gender'
|
|
||||||
elif rec.analyse_type == 'area':
|
|
||||||
ref = u'golem_member.golem_member_analysis_pivot_age_now_area'
|
|
||||||
elif rec.analyse_type == 'tag':
|
|
||||||
ref = u'golem_member.golem_member_analysis_pivot_age_now_tag'
|
|
||||||
return self.env.ref(ref, False)
|
|
||||||
|
|
||||||
|
|
||||||
@api.multi
|
|
||||||
def get_members(self):
|
|
||||||
""" Returns members """
|
|
||||||
self.ensure_one()
|
|
||||||
if self[0].service_user == 'user':
|
|
||||||
return self.env['golem.member'].search([]).filtered(
|
|
||||||
lambda m: self[0].season_id.id in m.season_ids.ids)
|
|
||||||
membership_ids = self[0].season_id.membership_ids.mapped('product_variant_id')
|
|
||||||
membership_set = set(membership_ids.ids)
|
|
||||||
return self.env['golem.member'].search([]).filtered(
|
|
||||||
lambda m: (self[0].season_id.id in m.season_ids.ids and
|
|
||||||
set(m.member_lines.mapped('membership_id.id')) & membership_set)
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
@api.multi
|
|
||||||
def members_analyse(self):
|
|
||||||
""" members analyse """
|
|
||||||
self.ensure_one()
|
|
||||||
analysis_rec = self[0]
|
|
||||||
# Remove existing analysis lines for current analysis
|
|
||||||
self.env['golem.member.analysis'].search(
|
|
||||||
[('member_analysis_id', '=', analysis_rec.id)]
|
|
||||||
).unlink()
|
|
||||||
|
|
||||||
members = analysis_rec.get_members()
|
|
||||||
if members:
|
|
||||||
for member in members:
|
|
||||||
self.env['golem.member.analysis'].create({
|
|
||||||
'member_id': member.id,
|
|
||||||
'season_id': analysis_rec.season_id.id,
|
|
||||||
'member_analysis_id': analysis_rec.id
|
|
||||||
})
|
|
||||||
|
|
||||||
analyse_pivot = analysis_rec.get_pivot_view()
|
|
||||||
return {
|
|
||||||
'name': _('Member Analysis'),
|
|
||||||
'type': 'ir.actions.act_window',
|
|
||||||
'res_model': 'golem.member.analysis',
|
|
||||||
'domain': [('member_analysis_id', '=', analysis_rec.id)],
|
|
||||||
'view_type': 'pivot',
|
|
||||||
'view_mode': 'pivot',
|
|
||||||
'view_id': analyse_pivot.id,
|
|
||||||
'target': 'current'
|
|
||||||
}
|
|
@ -1,65 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Copyright 2019-2020 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
Copyright 2019-2020 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU Affero General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Affero General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<odoo>
|
|
||||||
<data>
|
|
||||||
<!-- Forms -->
|
|
||||||
<record model="ir.ui.view" id="golem_member_analysis_wizard_view_form">
|
|
||||||
<field name="name">GOLEM Member Analysis Wizard Form</field>
|
|
||||||
<field name="model">golem.member.analysis.wizard</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<form string="Service User Analysis">
|
|
||||||
<header>
|
|
||||||
<button name="members_analyse" string="Run analysis"
|
|
||||||
type="object" class="oe_highlight" />
|
|
||||||
</header>
|
|
||||||
<sheet>
|
|
||||||
<group>
|
|
||||||
<group>
|
|
||||||
<field name="season_id" options="{'no_create': True}"/>
|
|
||||||
</group>
|
|
||||||
<group>
|
|
||||||
<field name="season_start" readonly="1"/>
|
|
||||||
<field name="season_end" readonly="1"/>
|
|
||||||
</group>
|
|
||||||
<group>
|
|
||||||
<field name="service_user" widget="radio" />
|
|
||||||
<field name="analyse_type" widget="radio"/>
|
|
||||||
<field name="age_computing" widget="radio"/>
|
|
||||||
</group>
|
|
||||||
</group>
|
|
||||||
</sheet>
|
|
||||||
|
|
||||||
</form>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<!-- Actions -->
|
|
||||||
<act_window id="golem_analysis_action" name="Service User Analysis"
|
|
||||||
res_model="golem.member.analysis.wizard" view_mode="form"
|
|
||||||
target="current"/>
|
|
||||||
|
|
||||||
<menuitem id="golem_analysis_menu" name="Service User Analysis"
|
|
||||||
parent="golem_membership.menu_association" sequence="50"
|
|
||||||
groups="golem_base.group_golem_user,golem_base.group_golem_auditor"
|
|
||||||
action="golem_analysis_action"/>
|
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
|
@ -15,4 +15,4 @@
|
|||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from . import models, wizard
|
from . import models
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2017-2019 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
||||||
@ -18,7 +18,7 @@
|
|||||||
{
|
{
|
||||||
'name': 'GOLEM Member Family Quotient',
|
'name': 'GOLEM Member Family Quotient',
|
||||||
'summary': 'GOLEM Members Family Quotients',
|
'summary': 'GOLEM Members Family Quotients',
|
||||||
'version': '10.0.1.2.0',
|
'version': '10.0.1.1.0',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
@ -26,6 +26,5 @@
|
|||||||
'installable': True,
|
'installable': True,
|
||||||
'depends': ['partner_contact_personal_information_page', 'golem_member'],
|
'depends': ['partner_contact_personal_information_page', 'golem_member'],
|
||||||
'data': ['views/golem_member_views.xml',
|
'data': ['views/golem_member_views.xml',
|
||||||
'views/res_partner_views.xml',
|
'views/res_partner_views.xml']
|
||||||
'wizard/golem_member_analysis_views.xml']
|
|
||||||
}
|
}
|
||||||
|
@ -6,8 +6,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 10.0\n"
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2019-01-21 10:17+0000\n"
|
"POT-Creation-Date: 2018-08-26 15:40+0000\n"
|
||||||
"PO-Revision-Date: 2019-01-21 11:18+0100\n"
|
"PO-Revision-Date: 2018-08-26 17:43+0200\n"
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: <>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@ -23,12 +23,6 @@ msgid "CAF Number"
|
|||||||
msgstr "Numéro CAF"
|
msgstr "Numéro CAF"
|
||||||
|
|
||||||
#. module: golem_member_familyquotient
|
#. module: golem_member_familyquotient
|
||||||
#: model:ir.model.fields,field_description:golem_member_familyquotient.field_golem_member_analysis_currency_id
|
|
||||||
msgid "Currency"
|
|
||||||
msgstr "Devise"
|
|
||||||
|
|
||||||
#. module: golem_member_familyquotient
|
|
||||||
#: model:ir.model.fields,field_description:golem_member_familyquotient.field_golem_member_analysis_family_quotient
|
|
||||||
#: model:ir.model.fields,field_description:golem_member_familyquotient.field_golem_member_family_quotient
|
#: model:ir.model.fields,field_description:golem_member_familyquotient.field_golem_member_family_quotient
|
||||||
#: model:ir.model.fields,field_description:golem_member_familyquotient.field_res_partner_family_quotient
|
#: model:ir.model.fields,field_description:golem_member_familyquotient.field_res_partner_family_quotient
|
||||||
#: model:ir.model.fields,field_description:golem_member_familyquotient.field_res_users_family_quotient
|
#: model:ir.model.fields,field_description:golem_member_familyquotient.field_res_users_family_quotient
|
||||||
@ -36,27 +30,12 @@ msgid "Family quotient"
|
|||||||
msgstr "Quotient familial"
|
msgstr "Quotient familial"
|
||||||
|
|
||||||
#. module: golem_member_familyquotient
|
#. module: golem_member_familyquotient
|
||||||
#: model:ir.model,name:golem_member_familyquotient.model_golem_member_analysis_wizard
|
#: model:ir.model,name:golem_member_familyquotient.model_golem_member
|
||||||
msgid "GOLEM Members Analysis Wizard Adaptation"
|
msgid "GOLEM Member"
|
||||||
msgstr "GOLEM Members Analysis Wizard Adaptation"
|
msgstr "Usager"
|
||||||
|
|
||||||
#. module: golem_member_familyquotient
|
|
||||||
#: model:ir.model,name:golem_member_familyquotient.model_golem_member_analysis
|
|
||||||
msgid "GOLEM Members Analysis Adaption"
|
|
||||||
msgstr "GOLEM Members Analysis Adaption"
|
|
||||||
|
|
||||||
#. module: golem_member_familyquotient
|
#. module: golem_member_familyquotient
|
||||||
#: model:ir.model,name:golem_member_familyquotient.model_res_partner
|
#: model:ir.model,name:golem_member_familyquotient.model_res_partner
|
||||||
msgid "Partner"
|
msgid "Partner"
|
||||||
msgstr "Partenaire"
|
msgstr "Partenaire"
|
||||||
|
|
||||||
#. module: golem_member_familyquotient
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member_familyquotient.golem_member_analysis_pivot_fquotient_area
|
|
||||||
msgid "Service User Analysis"
|
|
||||||
msgstr "Analyse des usagers"
|
|
||||||
|
|
||||||
#. module: golem_member_familyquotient
|
|
||||||
#: model:ir.model.fields,help:golem_member_familyquotient.field_golem_member_analysis_currency_id
|
|
||||||
msgid "Utility field to express amount currency"
|
|
||||||
msgstr "Champ utile pour indiquer le montant de la monnaie"
|
|
||||||
|
|
||||||
|
@ -6,8 +6,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 10.0\n"
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2019-01-21 10:17+0000\n"
|
"POT-Creation-Date: 2018-08-26 15:40+0000\n"
|
||||||
"PO-Revision-Date: 2019-01-21 10:17+0000\n"
|
"PO-Revision-Date: 2018-08-26 15:40+0000\n"
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: <>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@ -23,12 +23,6 @@ msgid "CAF Number"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member_familyquotient
|
#. module: golem_member_familyquotient
|
||||||
#: model:ir.model.fields,field_description:golem_member_familyquotient.field_golem_member_analysis_currency_id
|
|
||||||
msgid "Currency"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member_familyquotient
|
|
||||||
#: model:ir.model.fields,field_description:golem_member_familyquotient.field_golem_member_analysis_family_quotient
|
|
||||||
#: model:ir.model.fields,field_description:golem_member_familyquotient.field_golem_member_family_quotient
|
#: model:ir.model.fields,field_description:golem_member_familyquotient.field_golem_member_family_quotient
|
||||||
#: model:ir.model.fields,field_description:golem_member_familyquotient.field_res_partner_family_quotient
|
#: model:ir.model.fields,field_description:golem_member_familyquotient.field_res_partner_family_quotient
|
||||||
#: model:ir.model.fields,field_description:golem_member_familyquotient.field_res_users_family_quotient
|
#: model:ir.model.fields,field_description:golem_member_familyquotient.field_res_users_family_quotient
|
||||||
@ -36,13 +30,8 @@ msgid "Family quotient"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member_familyquotient
|
#. module: golem_member_familyquotient
|
||||||
#: model:ir.model,name:golem_member_familyquotient.model_golem_member_analysis_wizard
|
#: model:ir.model,name:golem_member_familyquotient.model_golem_member
|
||||||
msgid "GOLEM Members Analysis Wizard Adaptation"
|
msgid "GOLEM Member"
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member_familyquotient
|
|
||||||
#: model:ir.model,name:golem_member_familyquotient.model_golem_member_analysis
|
|
||||||
msgid "GOLEM Members Analysis Adaption"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member_familyquotient
|
#. module: golem_member_familyquotient
|
||||||
@ -50,13 +39,3 @@ msgstr ""
|
|||||||
msgid "Partner"
|
msgid "Partner"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member_familyquotient
|
|
||||||
#: model:ir.ui.view,arch_db:golem_member_familyquotient.golem_member_analysis_pivot_fquotient_area
|
|
||||||
msgid "Service User Analysis"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: golem_member_familyquotient
|
|
||||||
#: model:ir.model.fields,help:golem_member_familyquotient.field_golem_member_analysis_currency_id
|
|
||||||
msgid "Utility field to express amount currency"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
# Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
# Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
from . import golem_member_analysis, golem_member_analysis_wizard
|
|
@ -1,31 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
#
|
|
||||||
# Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
# Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
""" GOLEM Members Analysis Pivot Adaption """
|
|
||||||
|
|
||||||
from odoo import models, fields, api
|
|
||||||
|
|
||||||
|
|
||||||
class GolemMemberAnalysisPivot(models.TransientModel):
|
|
||||||
""" GOLEM Members Analysis Pivot Adaption """
|
|
||||||
_inherit = 'golem.member.analysis'
|
|
||||||
_description = 'GOLEM Members Analysis Adaption'
|
|
||||||
|
|
||||||
|
|
||||||
family_quotient = fields.Monetary(related='member_id.family_quotient', store=True)
|
|
||||||
currency_id = fields.Many2one('res.currency', related='member_id.currency_id')
|
|
@ -1,37 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU Affero General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Affero General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<odoo>
|
|
||||||
<data>
|
|
||||||
|
|
||||||
<!-- Pivot -->
|
|
||||||
<record id="golem_member_analysis_pivot_fquotient_area" model="ir.ui.view">
|
|
||||||
<field name="name">Golem Member Analysis Fquotient and Area Pivot</field>
|
|
||||||
<field name="model">golem.member.analysis</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<pivot string="Service User Analysis">
|
|
||||||
<field name="area_id" type="col"/>
|
|
||||||
<field name="family_quotient" type="row"/>
|
|
||||||
</pivot>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
|
@ -1,45 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
#
|
|
||||||
# Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
# Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
""" GOLEM Members Analysis Adaptation """
|
|
||||||
|
|
||||||
from odoo import models, fields, api
|
|
||||||
|
|
||||||
|
|
||||||
class GolemMemberAnalysis(models.TransientModel):
|
|
||||||
""" GOLEM Members Analysis Adaptation """
|
|
||||||
_inherit = 'golem.member.analysis.wizard'
|
|
||||||
_description = 'GOLEM Members Analysis Wizard Adaptation'
|
|
||||||
|
|
||||||
analyse_type = fields.Selection(selection_add=[('fquotient_area',
|
|
||||||
'By family quotient and area')])
|
|
||||||
|
|
||||||
@api.multi
|
|
||||||
def get_pivot_view(self):
|
|
||||||
""" override get_pivot_view function """
|
|
||||||
self.ensure_one()
|
|
||||||
rec = self[0]
|
|
||||||
pivot_view = super(GolemMemberAnalysis, self).get_pivot_view()
|
|
||||||
if pivot_view:
|
|
||||||
return pivot_view
|
|
||||||
if rec.analyse_type == 'fquotient_area':
|
|
||||||
return self.env.ref(
|
|
||||||
'golem_member_familyquotient.golem_member_analysis_pivot_fquotient_area',
|
|
||||||
False
|
|
||||||
)
|
|
||||||
return False
|
|
@ -1,3 +1,2 @@
|
|||||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||||
access_golem_member_history_auditor,Access GOLEM Member History Auditor,model_golem_member_history,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_golem_member_history_user,Access GOLEM Member History User,model_golem_member_history,golem_base.group_golem_user,1,1,1,1
|
access_golem_member_history_user,Access GOLEM Member History User,model_golem_member_history,golem_base.group_golem_user,1,1,1,1
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2017-2019 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
# Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
|
# Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
@ -19,7 +19,7 @@
|
|||||||
{
|
{
|
||||||
'name': 'GOLEM members minor',
|
'name': 'GOLEM members minor',
|
||||||
'summary': 'GOLEM non-profit members minor management',
|
'summary': 'GOLEM non-profit members minor management',
|
||||||
'version': '10.0.1.3.3',
|
'version': '10.0.1.3.2',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
|
@ -1,3 +1,2 @@
|
|||||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||||
access_golem_legal_guardian_auditor,Access GOLEM Legal Guardian Auditor,model_golem_legal_guardian,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_golem_legal_guardian_user,Access GOLEM Legal Guardian User,model_golem_legal_guardian,golem_base.group_golem_user,1,1,1,1
|
access_golem_legal_guardian_user,Access GOLEM Legal Guardian User,model_golem_legal_guardian,golem_base.group_golem_user,1,1,1,1
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Copyright 2017-2019 Fabien Bourgeois <fabien@yaltik.com>
|
Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
|
Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
@ -28,7 +28,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<field name="inherit_id" ref="golem_member.golem_member_form" />
|
<field name="inherit_id" ref="golem_member.golem_member_form" />
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<page name="contact_details" position="after">
|
<page name="contact_details" position="after">
|
||||||
<page name="minor_page" string="Minor">
|
<page name="minor_page" string="Minor"
|
||||||
|
attrs="{'invisible': [('is_minor', '=', False)]}">
|
||||||
<group name="minor_group">
|
<group name="minor_group">
|
||||||
<field name="activities_participation"/>
|
<field name="activities_participation"/>
|
||||||
<field name="leave_alone"/>
|
<field name="leave_alone"/>
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||||
access_golem_member_skills_auditor,Access GOLEM Member Skills Auditor,model_golem_member_skill,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_golem_member_skills_user,Access GOLEM Member Skills User,model_golem_member_skill,golem_base.group_golem_user,1,1,1,0
|
access_golem_member_skills_user,Access GOLEM Member Skills User,model_golem_member_skill,golem_base.group_golem_user,1,1,1,0
|
||||||
access_golem_member_skills_manager,Access GOLEM Member Skills Manager,model_golem_member_skill,golem_base.group_golem_manager,1,1,1,1
|
access_golem_member_skills_manager,Access GOLEM Member Skills Manager,model_golem_member_skill,golem_base.group_golem_manager,1,1,1,1
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Copyright 2017-2020 Fabien Bourgeois <fabien@yaltik.com>
|
Copyright 2017 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
it under the terms of the GNU Affero General Public License as published by
|
||||||
@ -66,7 +66,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
name="Member skills"
|
name="Member skills"
|
||||||
parent="membership.menu_marketing_config_association"
|
parent="membership.menu_marketing_config_association"
|
||||||
action="golem_member_skill_action"
|
action="golem_member_skill_action"
|
||||||
sequence="15" groups="golem_base.group_golem_manager,golem_base.group_golem_auditor" />
|
sequence="15" groups="golem_base.group_golem_manager" />
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2017-2020 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
||||||
@ -20,14 +20,13 @@
|
|||||||
'summary': 'Usage of account invoice and account payments',
|
'summary': 'Usage of account invoice and account payments',
|
||||||
'description': ''' Ability to create invoice(s) from activity subscriptions
|
'description': ''' Ability to create invoice(s) from activity subscriptions
|
||||||
and anticipate multiple payments. ''',
|
and anticipate multiple payments. ''',
|
||||||
'version': '10.0.0.3.2',
|
'version': '10.0.0.3.1',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': True,
|
'application': True,
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'depends': ['base', 'account', 'account_voucher', 'payment', 'product',
|
'depends': ['account', 'payment', 'golem_season'],
|
||||||
'golem_base', 'golem_season'],
|
|
||||||
'data': ['views/golem_payment_views.xml',
|
'data': ['views/golem_payment_views.xml',
|
||||||
'views/golem_account_payment_views.xml',
|
'views/golem_account_payment_views.xml',
|
||||||
'security/ir.model.access.csv']
|
'security/ir.model.access.csv']
|
||||||
|
@ -1,11 +1,5 @@
|
|||||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||||
access_golem_payment_schedule_auditor,Access GOLEM Payment Schedule Auditor,model_golem_payment_schedule,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_golem_payment_schedule_user,Access GOLEM Payment Schedule User,model_golem_payment_schedule,golem_base.group_golem_user,1,0,0,0
|
access_golem_payment_schedule_user,Access GOLEM Payment Schedule User,model_golem_payment_schedule,golem_base.group_golem_user,1,0,0,0
|
||||||
access_golem_payment_schedule_manager,Access GOLEM Payment Schedule Manager,model_golem_payment_schedule,golem_base.group_golem_manager,1,1,1,1
|
access_golem_payment_schedule_manager,Access GOLEM Payment Schedule Manager,model_golem_payment_schedule,golem_base.group_golem_manager,1,1,1,1
|
||||||
access_golem_payment_schedule_day_auditor,Access GOLEM Payment Schedule Day Auditor,model_golem_payment_schedule_day,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_golem_payment_schedule_day_user,Access GOLEM Payment Schedule Day User,model_golem_payment_schedule_day,golem_base.group_golem_user,1,0,0,0
|
access_golem_payment_schedule_day_user,Access GOLEM Payment Schedule Day User,model_golem_payment_schedule_day,golem_base.group_golem_user,1,0,0,0
|
||||||
access_golem_payment_schedule_day_manager,Access GOLEM Payment Schedule Day Manager,model_golem_payment_schedule_day,golem_base.group_golem_manager,1,1,1,1
|
access_golem_payment_schedule_day_manager,Access GOLEM Payment Schedule Day Manager,model_golem_payment_schedule_day,golem_base.group_golem_manager,1,1,1,1
|
||||||
access_product_template_auditor,Access Product Template Auditor,product.model_product_template,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_account_payment_auditor,Access Account Payment Auditor,account.model_account_payment,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_payment_acquirer_auditor,Access Payment Acquirer Auditor,payment.model_payment_acquirer,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_payment_transaction_auditor,Access Payment transaction Auditor,payment.model_payment_transaction,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
|
|
@ -80,7 +80,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<!-- Menus -->
|
<!-- Menus -->
|
||||||
<menuitem id="golem_payment_schedule_menu_list" sequence="5"
|
<menuitem id="golem_payment_schedule_menu_list" sequence="5"
|
||||||
parent="payment.root_payment_menu" action="golem_payment_schedule_action"
|
parent="payment.root_payment_menu" action="golem_payment_schedule_action"
|
||||||
groups="golem_base.group_golem_manager,golem_base.group_golem_auditor" />
|
groups="golem_base.group_golem_manager" />
|
||||||
|
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
|
# Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
|
||||||
# Copyright 2018-2020 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
||||||
@ -19,7 +19,7 @@
|
|||||||
{
|
{
|
||||||
'name': 'GOLEM Professions and Socioprofessional Categories',
|
'name': 'GOLEM Professions and Socioprofessional Categories',
|
||||||
'summary': 'GOLEM Professions and Socioprofessional Categories',
|
'summary': 'GOLEM Professions and Socioprofessional Categories',
|
||||||
'version': '10.0.0.2.1',
|
'version': '10.0.0.2.0',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois, Youssef El ouahby',
|
'author': 'Fabien Bourgeois, Youssef El ouahby',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||||
access_golem_pcs_user,Access GOLEM PCS User,model_golem_pcs,base.group_user,1,0,0,0
|
access_golem_pcs_user,Access GOLEM PCS User,model_golem_pcs,base.group_user,1,0,0,0
|
||||||
access_golem_pcs_golem_auditor,Access GOLEM PCS GOLEM Auditor,model_golem_pcs,golem_base.group_golem_auditor,1,0,0,0
|
|
||||||
access_golem_pcs_golem_user,Access GOLEM PCS GOLEM User,model_golem_pcs,golem_base.group_golem_user,1,0,0,0
|
access_golem_pcs_golem_user,Access GOLEM PCS GOLEM User,model_golem_pcs,golem_base.group_golem_user,1,0,0,0
|
||||||
access_golem_pcs_golem_manager,Access GOLEM PCS GOLEM Manager,model_golem_pcs,golem_base.group_golem_manager,1,1,1,1
|
access_golem_pcs_golem_manager,Access GOLEM PCS GOLEM Manager,model_golem_pcs,golem_base.group_golem_manager,1,1,1,1
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user