Browse Source

[REF]GOLEM Auditor : refactorings, small ones

master
Fabien BOURGEOIS 8 months ago
parent
commit
f34787e46b
25 changed files with 46 additions and 44 deletions
  1. +1
    -1
      golem_activity/__manifest__.py
  2. +2
    -2
      golem_activity_registration/__manifest__.py
  3. +1
    -1
      golem_activity_registration/views/golem_activity_registration_views.xml
  4. +3
    -3
      golem_activity_registration/wizard/golem_activity_registration_analysis_wizard_views.xml
  5. +1
    -1
      golem_activity_registration_custom_price/views/golem_payment_rule_quotient_slice_views.xml
  6. +2
    -2
      golem_admin/__manifest__.py
  7. +1
    -1
      golem_admin/views/golem_admin_views.xml
  8. +3
    -2
      golem_base/__manifest__.py
  9. +2
    -1
      golem_base/security/golem_security.xml
  10. +4
    -0
      golem_base/security/ir.model.access.csv
  11. +2
    -2
      golem_family/__manifest__.py
  12. +2
    -2
      golem_family/views/golem_family_views.xml
  13. +1
    -1
      golem_member/__manifest__.py
  14. +0
    -2
      golem_member/security/ir.model.access.csv
  15. +2
    -2
      golem_member/views/golem_member_views.xml
  16. +2
    -2
      golem_member/wizard/golem_member_analysis_wizard_views.xml
  17. +1
    -1
      golem_member_skills/views/golem_member_views.xml
  18. +4
    -3
      golem_payment/__manifest__.py
  19. +0
    -3
      golem_payment/security/ir.model.access.csv
  20. +2
    -2
      golem_pcs/__manifest__.py
  21. +2
    -2
      golem_resource/__manifest__.py
  22. +2
    -2
      golem_resource/views/golem_resource_views.xml
  23. +3
    -3
      golem_resource_report/views/golem_resource_report_menu.xml
  24. +2
    -2
      golem_season/__manifest__.py
  25. +1
    -1
      golem_season/views/golem_season_views.xml

+ 1
- 1
golem_activity/__manifest__.py View File

@ -19,7 +19,7 @@
'name': 'GOLEM activities',
'summary': 'Extends Odoo products for multi-activity',
'description': 'Extends Odoo products for multi-activity',
'version': '10.0.2.8.1',
'version': '10.0.2.8.2',
'category': 'GOLEM',
'author': 'Fabien Bourgeois, Michel Dessenne',
'license': 'AGPL-3',


+ 2
- 2
golem_activity_registration/__manifest__.py View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright 2017-2019 Fabien Bourgeois <fabien@yaltik.com>
# Copyright 2017-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
@ -18,7 +18,7 @@
{
'name': 'GOLEM Activity Member Registrations',
'summary': 'GOLEM Activities Member Registrations management',
'version': '10.0.1.6.4',
'version': '10.0.1.6.5',
'category': 'GOLEM',
'author': 'Fabien Bourgeois, Michel Dessenne',
'license': 'AGPL-3',


+ 1
- 1
golem_activity_registration/views/golem_activity_registration_views.xml View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2017-2019 Fabien Bourgeois <fabien@yaltik.com>
Copyright 2017-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


+ 3
- 3
golem_activity_registration/wizard/golem_activity_registration_analysis_wizard_views.xml View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
Copyright 2019 Youssef El Ouahby <youssef@yaltik.com>
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
@ -59,7 +59,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<menuitem id="golem_activity_registration_analysis_menu"
name="Registration Analysis"
parent="golem_activity.golem_activity_menu"
groups="golem_base.group_golem_user"
groups="golem_base.group_golem_user,golem_base.group_golem_auditor"
action="golem_registrations_analysis_action" sequence="50" />
</data>


+ 1
- 1
golem_activity_registration_custom_price/views/golem_payment_rule_quotient_slice_views.xml View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
Copyright 2018-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


+ 2
- 2
golem_admin/__manifest__.py View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
# Copyright 2018-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
@ -22,7 +22,7 @@
- New application on top menu ;
- Management of users and groups, companies ;
- Good default access / rights to do. ''',
'version': '10.0.0.1.3',
'version': '10.0.0.1.4',
'category': 'GOLEM',
'author': 'Fabien Bourgeois',
'license': 'AGPL-3',


+ 1
- 1
golem_admin/views/golem_admin_views.xml View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
Copyright 2018-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


+ 3
- 2
golem_base/__manifest__.py View File

@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
# Copyright 2016-2018 Fabien Bourgeois <fabien@yaltik.com>
# Copyright 2016-2020 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
# it under the terms of the GNU Affero General Public License as
@ -18,7 +19,7 @@
{
'name': 'GOLEM base module for global dependencies',
'summary': 'GOLEM base installs base and shared dependencies for GOLEM',
'version': '10.0.1.0.5',
'version': '10.0.1.1.0',
'category': 'GOLEM',
'author': 'Fabien Bourgeois',
'license': 'AGPL-3',


+ 2
- 1
golem_base/security/golem_security.xml View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2017 Fabien Bourgeois <fabien@yaltik.com>
Copyright 2017-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
@ -34,6 +34,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<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">


+ 4
- 0
golem_base/security/ir.model.access.csv View File

@ -1,7 +1,11 @@
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

+ 2
- 2
golem_family/__manifest__.py View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright 2016-2018 Fabien Bourgeois <fabien@yaltik.com>
# Copyright 2016-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
@ -19,7 +19,7 @@
'name': 'GOLEM families',
'summary': 'GOLEM Members Families',
'description': 'GOLEM Members Families',
'version': '10.0.2.5.0',
'version': '10.0.2.5.1',
'category': 'GOLEM',
'author': 'Fabien Bourgeois, Youssef El Ouahby',
'license': 'AGPL-3',


+ 2
- 2
golem_family/views/golem_family_views.xml View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
Copyright 2017-2020 Fabien Bourgeois <fabien@yaltik.com>
Copyright 2018-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


+ 1
- 1
golem_member/__manifest__.py View File

@ -21,7 +21,7 @@
'name': 'GOLEM non-profit members',
'summary': 'Extends Odoo contacts for MJC',
'description': 'Extends Odoo contacts for MJC',
'version': '10.0.2.8.1',
'version': '10.0.2.8.2',
'category': 'GOLEM',
'author': 'Fabien Bourgeois, Michel Dessenne',
'license': 'AGPL-3',


+ 0
- 2
golem_member/security/ir.model.access.csv View File

@ -11,5 +11,3 @@ access_ir_config_parameter_manager,Access IR Config Parameter Manager,base.model
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
access_product_template_auditor,Access Product Template Auditor,product.model_product_template,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

+ 2
- 2
golem_member/views/golem_member_views.xml View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2017-2019 Fabien Bourgeois <fabien@yaltik.com>
Copyright 2017-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
@ -55,7 +55,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<record id="email_template_partner" model="mail.template">
<field name="ref_ir_act_window" ref="action_partner_mass_mail"/>
</record>
0
<!-- Forms -->
<record id="golem_member_form" model="ir.ui.view">
<field name="name">GOLEM Member Form</field>


+ 2
- 2
golem_member/wizard/golem_member_analysis_wizard_views.xml View File

@ -2,7 +2,7 @@
<!--
Copyright 2019-2020 Fabien Bourgeois <fabien@yaltik.com>
Copyright 2019 Youssef El Ouahby <youssef@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
@ -58,7 +58,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<menuitem id="golem_analysis_menu" name="Service User Analysis"
parent="golem_membership.menu_association" sequence="50"
groups="golem_base.group_golem_user"
groups="golem_base.group_golem_user,golem_base.group_golem_auditor"
action="golem_analysis_action"/>
</data>


+ 1
- 1
golem_member_skills/views/golem_member_views.xml View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2017 Fabien Bourgeois <fabien@yaltik.com>
Copyright 2017-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


+ 4
- 3
golem_payment/__manifest__.py View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
# Copyright 2017-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
@ -20,13 +20,14 @@
'summary': 'Usage of account invoice and account payments',
'description': ''' Ability to create invoice(s) from activity subscriptions
and anticipate multiple payments. ''',
'version': '10.0.0.3.1',
'version': '10.0.0.3.2',
'category': 'GOLEM',
'author': 'Fabien Bourgeois',
'license': 'AGPL-3',
'application': True,
'installable': True,
'depends': ['account', 'payment', 'golem_season', 'product', 'base'],
'depends': ['base', 'account', 'account_voucher', 'payment', 'product',
'golem_base', 'golem_season'],
'data': ['views/golem_payment_views.xml',
'views/golem_account_payment_views.xml',
'security/ir.model.access.csv']


+ 0
- 3
golem_payment/security/ir.model.access.csv View File

@ -5,9 +5,6 @@ access_golem_payment_schedule_manager,Access GOLEM Payment Schedule Manager,mode
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_manager,Access GOLEM Payment Schedule Day Manager,model_golem_payment_schedule_day,golem_base.group_golem_manager,1,1,1,1
access_account_invoice_auditor,Access Account Invoice Auditor,account.model_account_invoice,golem_base.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_res_partner_auditor,Access Res Partner Auditor,base.model_res_partner,golem_base.group_golem_auditor,1,0,0,0
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


+ 2
- 2
golem_pcs/__manifest__.py View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
# Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
# Copyright 2018-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
@ -19,7 +19,7 @@
{
'name': 'GOLEM Professions and Socioprofessional Categories',
'summary': 'GOLEM Professions and Socioprofessional Categories',
'version': '10.0.0.2.0',
'version': '10.0.0.2.1',
'category': 'GOLEM',
'author': 'Fabien Bourgeois, Youssef El ouahby',
'license': 'AGPL-3',


+ 2
- 2
golem_resource/__manifest__.py View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
# Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
# Copyright 2018-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
@ -20,7 +20,7 @@
'name': 'GOLEM non-profit resources',
'summary': 'GOLEM resources management',
'description': ''' GOLEM resources management ''',
'version': '10.0.1.14.0',
'version': '10.0.1.14.1',
'category': 'GOLEM',
'author': 'Youssef El Ouahby, Fabien Bourgeois',
'license': 'AGPL-3',


+ 2
- 2
golem_resource/views/golem_resource_views.xml View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
Copyright 2018-2020 Youssef El Ouahby <youssef@yaltik.com>
Copyright 2018-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


+ 3
- 3
golem_resource_report/views/golem_resource_report_menu.xml View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
Copyright 2018-2020 Youssef El Ouahby <youssef@yaltik.com>
Copyright 2018-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
@ -33,7 +33,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<!-- Menus -->
<menuitem id="report_menu" name="Report"
parent="golem_resource.golem_resource_menu" sequence="80"
groups="golem_base.group_golem_user" />
groups="golem_base.group_golem_user,golem_base.group_golem_auditor" />
<menuitem id="reservation_resource_day_menu"
name="Reservations per resource and day" parent="report_menu"
action="reservation_resource_day_action" sequence="10" />


+ 2
- 2
golem_season/__manifest__.py View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright 2016-2018 Fabien Bourgeois <fabien@yaltik.com>
# Copyright 2016-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
@ -22,7 +22,7 @@
- add season with name and period ;
- choose on per default season ;
- link optionnally one or many memberships types''',
'version': '10.0.1.2.2',
'version': '10.0.1.2.3',
'category': 'GOLEM',
'author': 'Fabien Bourgeois',
'license': 'AGPL-3',


+ 1
- 1
golem_season/views/golem_season_views.xml View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2016-2018 Fabien Bourgeois <fabien@yaltik.com>
Copyright 2016-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


Loading…
Cancel
Save