diff --git a/golem_member_familyquotient/__init__.py b/golem_member_familyquotient/__init__.py new file mode 100644 index 0000000..8d28962 --- /dev/null +++ b/golem_member_familyquotient/__init__.py @@ -0,0 +1,18 @@ +# -*- coding: utf-8 -*- + +# Copyright 2016 Fabien Bourgeois +# +# 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 . + +from . import golem_member diff --git a/golem_member_familyquotient/__openerp__.py b/golem_member_familyquotient/__openerp__.py new file mode 100644 index 0000000..ae15cf2 --- /dev/null +++ b/golem_member_familyquotient/__openerp__.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- + +# Copyright 2016 Fabien Bourgeois +# +# 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 . + +{ + 'name': 'GOLEM Member Family Quotient', + 'summary': 'GOLEM Members Family Quotients', + 'description': ''' Non-profit french MJC members family quotient ''', + 'version': '0.1', + 'category': 'Non-profit management', + 'author': 'Fabien Bourgeois', + 'license': 'AGPL-3', + 'application': False, + 'installable': True, + 'depends': ['golem_member'], + 'data': ['golem_member_view.xml'] +} diff --git a/golem_member_familyquotient/golem_member.py b/golem_member_familyquotient/golem_member.py new file mode 100644 index 0000000..222e9b5 --- /dev/null +++ b/golem_member_familyquotient/golem_member.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- + +# Copyright 2016 Fabien Bourgeois +# +# 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 . + +from openerp import models, fields + + +class GolemMember(models.Model): + _inherit = 'golem.member' + + caf_number = fields.Char('CAF Number') + qf = fields.Integer('Family Quotient') diff --git a/golem_member_familyquotient/golem_member_view.xml b/golem_member_familyquotient/golem_member_view.xml new file mode 100644 index 0000000..ad75dc6 --- /dev/null +++ b/golem_member_familyquotient/golem_member_view.xml @@ -0,0 +1,48 @@ + + + + + + + + + Add QF to main form + golem.member + + + + + + + + + + + + Add Skills Search and Filter + golem.member + + + + + + + + + + diff --git a/golem_member_familyquotient/i18n/fr.po b/golem_member_familyquotient/i18n/fr.po new file mode 100644 index 0000000..ad87b9d --- /dev/null +++ b/golem_member_familyquotient/i18n/fr.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * golem_member_familyquotient +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-07 10:35+0000\n" +"PO-Revision-Date: 2016-07-07 10:35+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" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: golem_member_familyquotient +#: field:golem.member,caf_number:0 +msgid "CAF Number" +msgstr "Numéro CAF" + +#. module: golem_member_familyquotient +#: field:golem.member,qf:0 +msgid "Family Quotient" +msgstr "Quotient familial" + +#. module: golem_member_familyquotient +#: model:ir.model,name:golem_member_familyquotient.model_golem_member +msgid "GOLEM Member" +msgstr "GOLEM : adhérent" + diff --git a/golem_member_familyquotient/i18n/golem_member_familyquotient.pot b/golem_member_familyquotient/i18n/golem_member_familyquotient.pot new file mode 100644 index 0000000..756c562 --- /dev/null +++ b/golem_member_familyquotient/i18n/golem_member_familyquotient.pot @@ -0,0 +1,32 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * golem_member_familyquotient +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-07 10:34+0000\n" +"PO-Revision-Date: 2016-07-07 10:34+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_member_familyquotient +#: field:golem.member,caf_number:0 +msgid "CAF Number" +msgstr "" + +#. module: golem_member_familyquotient +#: field:golem.member,qf:0 +msgid "Family Quotient" +msgstr "" + +#. module: golem_member_familyquotient +#: model:ir.model,name:golem_member_familyquotient.model_golem_member +msgid "GOLEM Member" +msgstr "" +