Browse Source

[WIP][CHG]GOLEM migration to v10

stable
Fabien Bourgeois 2 years ago
parent
commit
d21083f808
57 changed files with 102 additions and 102 deletions
  1. +2
    -2
      golem_activity/__manifest__.py
  2. +2
    -2
      golem_activity/data/golem_activity_data.xml
  3. +1
    -1
      golem_activity/models/golem_activity.py
  4. +2
    -2
      golem_activity/tests/test_golem_activity.py
  5. +2
    -2
      golem_activity_place/__manifest__.py
  6. +1
    -1
      golem_activity_place/models/golem_activity.py
  7. +2
    -2
      golem_activity_place/tests/test_golem_activity.py
  8. +2
    -2
      golem_activity_place/views/golem_activity_view.xml
  9. +2
    -2
      golem_activity_registration/__manifest__.py
  10. +1
    -1
      golem_activity_registration/models/golem_activity_registration.py
  11. +2
    -2
      golem_activity_registration/views/golem_activity_registration_view.xml
  12. +2
    -2
      golem_activity_registration/views/golem_activity_view.xml
  13. +2
    -2
      golem_activity_registration/views/golem_member_view.xml
  14. +2
    -2
      golem_activity_registration_export/__manifest__.py
  15. +3
    -3
      golem_activity_registration_export/controllers/controllers.py
  16. +1
    -1
      golem_activity_registration_export/models/golem_activity_registration_export.py
  17. +2
    -2
      golem_activity_registration_export/views/golem_activity_view.xml
  18. +2
    -2
      golem_activity_registration_state/__manifest__.py
  19. +1
    -1
      golem_activity_registration_state/models/golem_activity_registration.py
  20. +2
    -2
      golem_activity_registration_state/views/golem_activity_registration_view.xml
  21. +2
    -2
      golem_activity_registration_state/views/golem_activity_view.xml
  22. +2
    -2
      golem_activity_registration_state/views/golem_member_view.xml
  23. +2
    -2
      golem_base/__manifest__.py
  24. +2
    -2
      golem_base/security/golem_security.xml
  25. +2
    -2
      golem_family/__manifest__.py
  26. +1
    -1
      golem_family/models/golem_family.py
  27. +2
    -2
      golem_family/views/golem_family_view.xml
  28. +2
    -2
      golem_family/views/golem_member_view.xml
  29. +2
    -2
      golem_family/views/res_partner_view.xml
  30. +2
    -2
      golem_family_minor/__manifest__.py
  31. +1
    -1
      golem_family_minor/golem_member.py
  32. +2
    -2
      golem_member/__manifest__.py
  33. +2
    -2
      golem_member/data/number_config.xml
  34. +1
    -1
      golem_member/models/golem_member.py
  35. +2
    -2
      golem_member/tests/test_golem_member.py
  36. +2
    -2
      golem_member/views/golem_member_view.xml
  37. +2
    -2
      golem_member/views/members_menu.xml
  38. +2
    -2
      golem_member/views/number_config.xml
  39. +2
    -2
      golem_member/views/res_partner_view.xml
  40. +2
    -2
      golem_member_familyquotient/__manifest__.py
  41. +1
    -1
      golem_member_familyquotient/golem_member.py
  42. +2
    -2
      golem_member_familyquotient/golem_member_view.xml
  43. +2
    -2
      golem_member_minor/__manifest__.py
  44. +1
    -1
      golem_member_minor/golem_member.py
  45. +2
    -2
      golem_member_minor/golem_member_view.xml
  46. +1
    -1
      golem_member_minor/tests/test_golem_member.py
  47. +2
    -2
      golem_member_skills/__manifest__.py
  48. +1
    -1
      golem_member_skills/models/golem_member.py
  49. +2
    -2
      golem_member_skills/views/golem_member_view.xml
  50. +2
    -2
      golem_member_skills/views/res_partner_view.xml
  51. +2
    -2
      golem_membership/__manifest__.py
  52. +2
    -2
      golem_membership/models/golem_membership.py
  53. +2
    -2
      golem_membership/views/golem_member_view.xml
  54. +2
    -2
      golem_membership/views/golem_membership_invoice.xml
  55. +2
    -2
      golem_season/__manifest__.py
  56. +1
    -1
      golem_season/models/golem_season.py
  57. +2
    -2
      golem_season/views/golem_season_view.xml

golem_activity/__openerp__.py → golem_activity/__manifest__.py View File

@@ -18,12 +18,12 @@
{
'name': 'GOLEM activities',
'summary': 'Extends Odoo products for multi-activity',
'version': '8.0.2.0.0',
'version': '10.0.2.0.0',
'category': 'GOLEM',
'author': 'Fabien Bourgeois',
'license': 'AGPL-3',
'application': True,
'installable': True,
'installable': False,
'depends': ['product', 'golem_base', 'golem_season'],
'data': ['security/ir.model.access.csv',
'data/golem_activity_data.xml',

+ 2
- 2
golem_activity/data/golem_activity_data.xml View File

@@ -17,7 +17,7 @@ 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/>.
-->

<openerp>
<odoo>
<data noupdate="1">
<!-- Good default for product categories -->
<record id="property_account_expense_categ" model="ir.property">
@@ -69,4 +69,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
search="[('code', '=', '604000')]" />
</record>
</data>
</openerp>
</odoo>

+ 1
- 1
golem_activity/models/golem_activity.py View File

@@ -15,7 +15,7 @@
# 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 openerp import models, fields, api, _
from odoo import models, fields, api, _


class GolemActivity(models.Model):

+ 2
- 2
golem_activity/tests/test_golem_activity.py View File

@@ -15,8 +15,8 @@
# 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 openerp.tests.common import TransactionCase
from openerp.models import ValidationError
from odoo.tests.common import TransactionCase
from odoo.models import ValidationError


class GolemActivityTestCase(TransactionCase):

golem_activity_place/__openerp__.py → golem_activity_place/__manifest__.py View File

@@ -18,12 +18,12 @@
{
'name': 'GOLEM Activity Places',
'summary': 'GOLEM Activity avdanced places management',
'version': '8.0.2.0.0',
'version': '10.0.2.0.0',
'category': 'GOLEM',
'author': 'Fabien Bourgeois',
'license': 'AGPL-3',
'application': False,
'installable': True,
'installable': False,
'auto_install': False,
'depends': ['golem_activity_registration'],
'data': ['views/golem_activity_view.xml']

+ 1
- 1
golem_activity_place/models/golem_activity.py View File

@@ -15,7 +15,7 @@
# 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 openerp import models, fields, api, _
from odoo import models, fields, api, _


class GolemActivity(models.Model):

+ 2
- 2
golem_activity_place/tests/test_golem_activity.py View File

@@ -15,8 +15,8 @@
# 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 openerp.tests.common import TransactionCase
from openerp.models import ValidationError
from odoo.tests.common import TransactionCase
from odoo.models import ValidationError


class GolemActivitySessionTestCase(TransactionCase):

+ 2
- 2
golem_activity_place/views/golem_activity_view.xml View File

@@ -15,7 +15,7 @@ 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/>.
-->
<openerp>
<odoo>
<data>

<!-- Form -->
@@ -52,4 +52,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</record>

</data>
</openerp>
</odoo>

golem_activity_registration/__openerp__.py → golem_activity_registration/__manifest__.py View File

@@ -18,12 +18,12 @@
{
'name': 'GOLEM Activity Member Registrations',
'summary': 'GOLEM Activities Member Registrations management',
'version': '8.0.1.0.0',
'version': '10.0.1.0.0',
'category': 'GOLEM',
'author': 'Fabien Bourgeois',
'license': 'AGPL-3',
'application': False,
'installable': True,
'installable': False,
'depends': ['golem_activity', 'golem_member'],
'data': ['views/golem_activity_registration_view.xml',
'views/golem_member_view.xml', 'views/golem_activity_view.xml',

+ 1
- 1
golem_activity_registration/models/golem_activity_registration.py View File

@@ -15,7 +15,7 @@
# 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 openerp import models, fields, api, _
from odoo import models, fields, api, _


class GolemMember(models.Model):

+ 2
- 2
golem_activity_registration/views/golem_activity_registration_view.xml View File

@@ -15,7 +15,7 @@ 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/>.
-->
<openerp>
<odoo>
<data>
<!-- Form -->
<record id="registration_form" model="ir.ui.view">
@@ -77,4 +77,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
groups="golem_base.group_golem_user"
sequence="20" />
</data>
</openerp>
</odoo>

+ 2
- 2
golem_activity_registration/views/golem_activity_view.xml View File

@@ -15,7 +15,7 @@ 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/>.
-->
<openerp>
<odoo>
<data>

<!-- Form -->
@@ -76,4 +76,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</record>

</data>
</openerp>
</odoo>

+ 2
- 2
golem_activity_registration/views/golem_member_view.xml View File

@@ -15,7 +15,7 @@ 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/>.
-->
<openerp>
<odoo>
<data>

<!-- Form -->
@@ -46,4 +46,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</record>

</data>
</openerp>
</odoo>

golem_activity_registration_export/__openerp__.py → golem_activity_registration_export/__manifest__.py View File

@@ -18,12 +18,12 @@
{
'name': 'GOLEM Activity Member Registrations CSV exports',
'summary': 'GOLEM Activities Member Registration CSV exports',
'version': '8.0.1.0.0',
'version': '10.0.1.0.0',
'category': 'GOLEM',
'author': 'Fabien Bourgeois',
'license': 'AGPL-3',
'application': False,
'installable': True,
'installable': False,
'depends': ['golem_activity_registration'],
'data': ['views/golem_activity_view.xml']
}

+ 3
- 3
golem_activity_registration_export/controllers/controllers.py View File

@@ -16,9 +16,9 @@
# along with this program. if not, see <http://www.gnu.org/licenses/>.

import json
import openerp.http as http
from openerp.http import request
from openerp.addons.web.controllers.main import CSVExport
import odoo.http as http
from odoo.http import request
from odoo.addons.web.controllers.main import CSVExport


class ExportGolemActivityMembers(CSVExport):

+ 1
- 1
golem_activity_registration_export/models/golem_activity_registration_export.py View File

@@ -16,7 +16,7 @@
# along with this program. if not, see <http://www.gnu.org/licenses/>.

from json import dumps
from openerp import models, api
from odoo import models, api


class GolemActivity(models.Model):

+ 2
- 2
golem_activity_registration_export/views/golem_activity_view.xml View File

@@ -15,7 +15,7 @@ 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/>.
-->
<openerp>
<odoo>
<data>

<!-- Form -->
@@ -35,4 +35,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</record>

</data>
</openerp>
</odoo>

golem_activity_registration_state/__openerp__.py → golem_activity_registration_state/__manifest__.py View File

@@ -18,12 +18,12 @@
{
'name': 'GOLEM Activity Session Member Registrations States',
'summary': 'GOLEM Activities Session Member Registration states',
'version': '8.0.1.0.0',
'version': '10.0.1.0.0',
'category': 'GOLEM',
'author': 'Fabien Bourgeois',
'license': 'AGPL-3',
'application': False,
'installable': True,
'installable': False,
'depends': ['golem_activity_registration'],
'data': ['views/golem_activity_registration_view.xml',
'views/golem_member_view.xml', 'views/golem_activity_view.xml']

+ 1
- 1
golem_activity_registration_state/models/golem_activity_registration.py View File

@@ -15,7 +15,7 @@
# 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 openerp import models, fields, api
from odoo import models, fields, api


class GolemMember(models.Model):

+ 2
- 2
golem_activity_registration_state/views/golem_activity_registration_view.xml View File

@@ -15,7 +15,7 @@ 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/>.
-->
<openerp>
<odoo>
<data>

<!-- Tree -->
@@ -52,4 +52,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</record>

</data>
</openerp>
</odoo>

+ 2
- 2
golem_activity_registration_state/views/golem_activity_view.xml View File

@@ -15,7 +15,7 @@ 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/>.
-->
<openerp>
<odoo>
<data>

<!-- Form -->
@@ -40,4 +40,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</record>

</data>
</openerp>
</odoo>

+ 2
- 2
golem_activity_registration_state/views/golem_member_view.xml View File

@@ -15,7 +15,7 @@ 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/>.
-->
<openerp>
<odoo>
<data>

<!-- Form -->
@@ -53,4 +53,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</record>

</data>
</openerp>
</odoo>

golem_base/__openerp__.py → golem_base/__manifest__.py View File

@@ -18,12 +18,12 @@
{
'name': 'GOLEM base module for global dependencies',
'summary': 'GOLEM base installs base and shared dependencies for GOLEM',
'version': '8.0.1.0.0',
'version': '10.0.1.0.0',
'category': 'GOLEM',
'author': 'Fabien Bourgeois',
'license': 'AGPL-3',
'application': False,
'installable': True,
'installable': False,
'depends': ['membership', 'contacts', 'mail', 'account_voucher',
'partner_firstname', 'partner_contact_birthdate',
'partner_contact_gender', 'partner_contact_nationality',

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

@@ -17,7 +17,7 @@ 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/>.
-->

<openerp>
<odoo>
<data noupdate="0">
<!-- Groups -->
<record id="group_golem_user" model="res.groups">
@@ -50,4 +50,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
eval="[(6, 0, [ref('golem_base.group_golem_manager')])]" />
</record>
</data>
</openerp>
</odoo>

golem_family/__openerp__.py → golem_family/__manifest__.py View File

@@ -18,12 +18,12 @@
{
'name': 'GOLEM families',
'summary': 'GOLEM Members Families',
'version': '8.0.2.0.0',
'version': '10.0.2.0.0',
'category': 'GOLEM',
'author': 'Fabien Bourgeois',
'license': 'AGPL-3',
'application': False,
'installable': True,
'installable': False,
'depends': ['golem_member'],
'data': ['security/ir.model.access.csv', 'views/golem_family_view.xml',
'views/golem_member_view.xml', 'views/res_partner_view.xml']

+ 1
- 1
golem_family/models/golem_family.py View File

@@ -15,7 +15,7 @@
# 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 openerp import models, fields, api, _
from odoo import models, fields, api, _


class ResPartner(models.Model):

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

@@ -17,7 +17,7 @@ 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/>.
-->

<openerp>
<odoo>
<data>
<!-- Forms -->
<record id="view_form" model="ir.ui.view">
@@ -207,4 +207,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
groups="golem_base.group_golem_manager" />

</data>
</openerp>
</odoo>

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

@@ -17,7 +17,7 @@ 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/>.
-->

<openerp>
<odoo>
<data>
<!-- Form -->
<record model="ir.ui.view" id="golem_member_family_smartbtn_add">
@@ -41,4 +41,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</record>

</data>
</openerp>
</odoo>

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

@@ -17,7 +17,7 @@ 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/>.
-->

<openerp>
<odoo>
<data>
<!-- Form -->
<record model="ir.ui.view" id="res_partner_family_smartbtn_add">
@@ -52,4 +52,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</record>

</data>
</openerp>
</odoo>

golem_family_minor/__openerp__.py → golem_family_minor/__manifest__.py View File

@@ -18,12 +18,12 @@
{
'name': 'GOLEM members minor and family',
'summary': 'GOLEM non-profit members family + minor management',
'version': '8.0.1.0.0',
'version': '10.0.1.0.0',
'category': 'GOLEM',
'author': 'Fabien Bourgeois',
'license': 'AGPL-3',
'application': False,
'installable': True,
'installable': False,
'auto_install': True,
'depends': ['golem_family', 'golem_member_minor'],
'data': []

+ 1
- 1
golem_family_minor/golem_member.py View File

@@ -15,7 +15,7 @@
# 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 openerp import models, fields
from odoo import models, fields

LEGAL_DMN = "['&', ('family_id', '=', family_id), ('id', '!=', partner_id)]"


golem_member/__openerp__.py → golem_member/__manifest__.py View File

@@ -18,12 +18,12 @@
{
'name': 'GOLEM non-profit members',
'summary': 'Extends Odoo contacts for MJC',
'version': '8.0.1.0.0',
'version': '10.0.1.0.0',
'category': 'GOLEM',
'author': 'Fabien Bourgeois',
'license': 'AGPL-3',
'application': True,
'installable': True,
'installable': False,
'depends': ['golem_base', 'golem_activity', 'golem_season'],
'data': ['views/golem_member_view.xml', 'views/members_menu.xml',
'views/res_partner_view.xml', 'views/number_config.xml',

+ 2
- 2
golem_member/data/number_config.xml View File

@@ -17,7 +17,7 @@ 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/>.
-->

<openerp>
<odoo>
<data noupdate="1">
<function model="ir.config_parameter" name="set_param"
eval="('golem_numberconfig_isautomatic', '1')" />
@@ -28,4 +28,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<function model="ir.config_parameter" name="set_param"
eval="('golem_number_counter', '0')" />
</data>
</openerp>
</odoo>

+ 1
- 1
golem_member/models/golem_member.py View File

@@ -15,7 +15,7 @@
# 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 openerp import models, fields, api, _
from odoo import models, fields, api, _


class ResPartner(models.Model):

+ 2
- 2
golem_member/tests/test_golem_member.py View File

@@ -15,8 +15,8 @@
# 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 openerp import exceptions
from openerp.tests.common import TransactionCase
from odoo import exceptions
from odoo.tests.common import TransactionCase
# from psycopg2 import IntegrityError



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

@@ -17,7 +17,7 @@ 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/>.
-->

<openerp>
<odoo>
<data>
<!-- Forms -->
<record id="view_form" model="ir.ui.view">
@@ -185,4 +185,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
parent="base.menu_marketing_config_association" sequence="10"
action="tags_action_list" groups="golem_base.group_golem_manager" />
</data>
</openerp>
</odoo>

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

@@ -17,8 +17,8 @@ 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/>.
-->

<openerp>
<odoo>
<data noupdate="1">
<delete id="membership.menu_members" model="ir.ui.menu" />
</data>
</openerp>
</odoo>

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

@@ -17,7 +17,7 @@ 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/>.
-->

<openerp>
<odoo>
<data>

<!-- Forms -->
@@ -59,4 +59,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
parent="base.menu_marketing_config_association" sequence="3"
groups="golem_base.group_golem_manager" />
</data>
</openerp>
</odoo>

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

@@ -17,7 +17,7 @@ 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/>.
-->

<openerp>
<odoo>
<data>
<!-- Forms -->
<record model="ir.ui.view" id="member_add">
@@ -135,4 +135,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</record>

</data>
</openerp>
</odoo>

golem_member_familyquotient/__openerp__.py → golem_member_familyquotient/__manifest__.py View File

@@ -18,12 +18,12 @@
{
'name': 'GOLEM Member Family Quotient',
'summary': 'GOLEM Members Family Quotients',
'version': '8.0.1.0.0',
'version': '10.0.1.0.0',
'category': 'GOLEM',
'author': 'Fabien Bourgeois',
'license': 'AGPL-3',
'application': False,
'installable': True,
'installable': False,
'depends': ['golem_member'],
'data': ['golem_member_view.xml']
}

+ 1
- 1
golem_member_familyquotient/golem_member.py View File

@@ -15,7 +15,7 @@
# 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 openerp import models, fields
from odoo import models, fields


class GolemMember(models.Model):

+ 2
- 2
golem_member_familyquotient/golem_member_view.xml View File

@@ -17,7 +17,7 @@ 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/>.
-->

<openerp>
<odoo>
<data>
<!-- Form -->
<record model="ir.ui.view" id="qf_form">
@@ -45,4 +45,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</record>

</data>
</openerp>
</odoo>

golem_member_minor/__openerp__.py → golem_member_minor/__manifest__.py View File

@@ -18,12 +18,12 @@
{
'name': 'GOLEM members minor',
'summary': 'GOLEM non-profit members minor management',
'version': '8.0.1.0.0',
'version': '10.0.1.0.0',
'category': 'GOLEM',
'author': 'Fabien Bourgeois',
'license': 'AGPL-3',
'application': False,
'installable': True,
'installable': False,
'depends': ['golem_member'],
'data': ['golem_member_view.xml']
}

+ 1
- 1
golem_member_minor/golem_member.py View File

@@ -16,7 +16,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.

from datetime import datetime, timedelta
from openerp import models, fields, api
from odoo import models, fields, api


class GolemMember(models.Model):

+ 2
- 2
golem_member_minor/golem_member_view.xml View File

@@ -17,7 +17,7 @@ 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/>.
-->

<openerp>
<odoo>
<data>

<!-- Form -->
@@ -67,4 +67,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</record>

</data>
</openerp>
</odoo>

+ 1
- 1
golem_member_minor/tests/test_golem_member.py View File

@@ -15,7 +15,7 @@
# 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 openerp.tests.common import TransactionCase
from odoo.tests.common import TransactionCase


class GolemMemberMinorTestCase(TransactionCase):

golem_member_skills/__openerp__.py → golem_member_skills/__manifest__.py View File

@@ -18,12 +18,12 @@
{
'name': 'GOLEM members skills',
'summary': 'GOLEM non-profit members skills management',
'version': '8.0.1.0.0',
'version': '10.0.1.0.0',
'category': 'GOLEM',
'author': 'Fabien Bourgeois',
'license': 'AGPL-3',
'application': False,
'installable': True,
'installable': False,
'depends': ['golem_member'],
'data': ['views/golem_member_view.xml', 'views/res_partner_view.xml',
'security/ir.model.access.csv']

+ 1
- 1
golem_member_skills/models/golem_member.py View File

@@ -15,7 +15,7 @@
# 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 openerp import models, fields
from odoo import models, fields


class ResPartner(models.Model):

+ 2
- 2
golem_member_skills/views/golem_member_view.xml View File

@@ -17,7 +17,7 @@ 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/>.
-->

<openerp>
<odoo>
<data>
<!-- Form -->
<record model="ir.ui.view" id="golem_member_skills_form">
@@ -64,4 +64,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
sequence="5" groups="golem_base.group_golem_manager" />

</data>
</openerp>
</odoo>

+ 2
- 2
golem_member_skills/views/res_partner_view.xml View File

@@ -17,7 +17,7 @@ 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/>.
-->

<openerp>
<odoo>
<data>
<!-- Form -->
<record model="ir.ui.view" id="res_partner_skills_form">
@@ -50,4 +50,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</field>
</record>
</data>
</openerp>
</odoo>

golem_membership/__openerp__.py → golem_membership/__manifest__.py View File

@@ -18,12 +18,12 @@
{
'name': 'GOLEM non-profit membership handling',
'summary': 'Extends Odoo membership',
'version': '8.0.1.0.0',
'version': '10.0.1.0.0',
'category': 'GOLEM',
'author': 'Fabien Bourgeois',
'license': 'AGPL-3',
'application': False,
'installable': True,
'installable': False,
'depends': ['golem_member', 'account', 'decimal_precision'],
'data': ['views/golem_membership_invoice.xml',
'views/golem_member_view.xml']

+ 2
- 2
golem_membership/models/golem_membership.py View File

@@ -15,8 +15,8 @@
# 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 openerp import models, fields, api
from openerp.addons import decimal_precision as dp
from odoo import models, fields, api
from odoo.addons import decimal_precision as dp


class GolemMembershipInvoice(models.TransientModel):

+ 2
- 2
golem_membership/views/golem_member_view.xml View File

@@ -17,7 +17,7 @@ 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/>.
-->

<openerp>
<odoo>
<data>
<!-- Forms -->
<record model="ir.ui.view" id="membership_add">
@@ -73,4 +73,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</record>

</data>
</openerp>
</odoo>

+ 2
- 2
golem_membership/views/golem_membership_invoice.xml View File

@@ -17,7 +17,7 @@ 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/>.
-->

<openerp>
<odoo>
<data>
<!-- Forms -->
<record id="membership_invoice_view" model="ir.ui.view">
@@ -53,4 +53,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</record>

</data>
</openerp>
</odoo>

golem_season/__openerp__.py → golem_season/__manifest__.py View File

@@ -18,12 +18,12 @@
{
'name': 'GOLEM seasons',
'summary': 'GOLEM non-profit seasons management',
'version': '8.0.1.0.0',
'version': '10.0.1.0.0',
'category': 'GOLEM',
'author': 'Fabien Bourgeois',
'license': 'AGPL-3',
'application': False,
'installable': True,
'installable': False,
'depends': ['golem_base'],
'data': ['security/ir.model.access.csv', 'views/golem_season_view.xml']
}

+ 1
- 1
golem_season/models/golem_season.py View File

@@ -15,7 +15,7 @@
# 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 openerp import models, fields, api, _
from odoo import models, fields, api, _


class GolemSeason(models.Model):

+ 2
- 2
golem_season/views/golem_season_view.xml View File

@@ -17,7 +17,7 @@ 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/>.
-->

<openerp>
<odoo>
<data>

<!-- Forms -->
@@ -80,4 +80,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
action="action_list" groups="golem_base.group_golem_manager" />

</data>
</openerp>
</odoo>

Loading…
Cancel
Save