forked from Yaltik/golem
[WIP][CHG]GOLEM migration to v10
This commit is contained in:
parent
1b1609687f
commit
d21083f808
@ -18,12 +18,12 @@
|
|||||||
{
|
{
|
||||||
'name': 'GOLEM activities',
|
'name': 'GOLEM activities',
|
||||||
'summary': 'Extends Odoo products for multi-activity',
|
'summary': 'Extends Odoo products for multi-activity',
|
||||||
'version': '8.0.2.0.0',
|
'version': '10.0.2.0.0',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': True,
|
'application': True,
|
||||||
'installable': True,
|
'installable': False,
|
||||||
'depends': ['product', 'golem_base', 'golem_season'],
|
'depends': ['product', 'golem_base', 'golem_season'],
|
||||||
'data': ['security/ir.model.access.csv',
|
'data': ['security/ir.model.access.csv',
|
||||||
'data/golem_activity_data.xml',
|
'data/golem_activity_data.xml',
|
@ -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/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<openerp>
|
<odoo>
|
||||||
<data noupdate="1">
|
<data noupdate="1">
|
||||||
<!-- Good default for product categories -->
|
<!-- Good default for product categories -->
|
||||||
<record id="property_account_expense_categ" model="ir.property">
|
<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')]" />
|
search="[('code', '=', '604000')]" />
|
||||||
</record>
|
</record>
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
# 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 openerp import models, fields, api, _
|
from odoo import models, fields, api, _
|
||||||
|
|
||||||
|
|
||||||
class GolemActivity(models.Model):
|
class GolemActivity(models.Model):
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
# 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 openerp.tests.common import TransactionCase
|
from odoo.tests.common import TransactionCase
|
||||||
from openerp.models import ValidationError
|
from odoo.models import ValidationError
|
||||||
|
|
||||||
|
|
||||||
class GolemActivityTestCase(TransactionCase):
|
class GolemActivityTestCase(TransactionCase):
|
||||||
|
@ -18,12 +18,12 @@
|
|||||||
{
|
{
|
||||||
'name': 'GOLEM Activity Places',
|
'name': 'GOLEM Activity Places',
|
||||||
'summary': 'GOLEM Activity avdanced places management',
|
'summary': 'GOLEM Activity avdanced places management',
|
||||||
'version': '8.0.2.0.0',
|
'version': '10.0.2.0.0',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': False,
|
'application': False,
|
||||||
'installable': True,
|
'installable': False,
|
||||||
'auto_install': False,
|
'auto_install': False,
|
||||||
'depends': ['golem_activity_registration'],
|
'depends': ['golem_activity_registration'],
|
||||||
'data': ['views/golem_activity_view.xml']
|
'data': ['views/golem_activity_view.xml']
|
@ -15,7 +15,7 @@
|
|||||||
# 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 openerp import models, fields, api, _
|
from odoo import models, fields, api, _
|
||||||
|
|
||||||
|
|
||||||
class GolemActivity(models.Model):
|
class GolemActivity(models.Model):
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
# 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 openerp.tests.common import TransactionCase
|
from odoo.tests.common import TransactionCase
|
||||||
from openerp.models import ValidationError
|
from odoo.models import ValidationError
|
||||||
|
|
||||||
|
|
||||||
class GolemActivitySessionTestCase(TransactionCase):
|
class GolemActivitySessionTestCase(TransactionCase):
|
||||||
|
@ -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
|
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/>.
|
||||||
-->
|
-->
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
|
|
||||||
<!-- Form -->
|
<!-- Form -->
|
||||||
@ -52,4 +52,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -18,12 +18,12 @@
|
|||||||
{
|
{
|
||||||
'name': 'GOLEM Activity Member Registrations',
|
'name': 'GOLEM Activity Member Registrations',
|
||||||
'summary': 'GOLEM Activities Member Registrations management',
|
'summary': 'GOLEM Activities Member Registrations management',
|
||||||
'version': '8.0.1.0.0',
|
'version': '10.0.1.0.0',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': False,
|
'application': False,
|
||||||
'installable': True,
|
'installable': False,
|
||||||
'depends': ['golem_activity', 'golem_member'],
|
'depends': ['golem_activity', 'golem_member'],
|
||||||
'data': ['views/golem_activity_registration_view.xml',
|
'data': ['views/golem_activity_registration_view.xml',
|
||||||
'views/golem_member_view.xml', 'views/golem_activity_view.xml',
|
'views/golem_member_view.xml', 'views/golem_activity_view.xml',
|
@ -15,7 +15,7 @@
|
|||||||
# 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 openerp import models, fields, api, _
|
from odoo import models, fields, api, _
|
||||||
|
|
||||||
|
|
||||||
class GolemMember(models.Model):
|
class GolemMember(models.Model):
|
||||||
|
@ -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
|
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/>.
|
||||||
-->
|
-->
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
<!-- Form -->
|
<!-- Form -->
|
||||||
<record id="registration_form" model="ir.ui.view">
|
<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"
|
groups="golem_base.group_golem_user"
|
||||||
sequence="20" />
|
sequence="20" />
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -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
|
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/>.
|
||||||
-->
|
-->
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
|
|
||||||
<!-- Form -->
|
<!-- Form -->
|
||||||
@ -76,4 +76,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -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
|
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/>.
|
||||||
-->
|
-->
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
|
|
||||||
<!-- Form -->
|
<!-- Form -->
|
||||||
@ -46,4 +46,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -18,12 +18,12 @@
|
|||||||
{
|
{
|
||||||
'name': 'GOLEM Activity Member Registrations CSV exports',
|
'name': 'GOLEM Activity Member Registrations CSV exports',
|
||||||
'summary': 'GOLEM Activities Member Registration CSV exports',
|
'summary': 'GOLEM Activities Member Registration CSV exports',
|
||||||
'version': '8.0.1.0.0',
|
'version': '10.0.1.0.0',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': False,
|
'application': False,
|
||||||
'installable': True,
|
'installable': False,
|
||||||
'depends': ['golem_activity_registration'],
|
'depends': ['golem_activity_registration'],
|
||||||
'data': ['views/golem_activity_view.xml']
|
'data': ['views/golem_activity_view.xml']
|
||||||
}
|
}
|
@ -16,9 +16,9 @@
|
|||||||
# along with this program. if not, see <http://www.gnu.org/licenses/>.
|
# along with this program. if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import openerp.http as http
|
import odoo.http as http
|
||||||
from openerp.http import request
|
from odoo.http import request
|
||||||
from openerp.addons.web.controllers.main import CSVExport
|
from odoo.addons.web.controllers.main import CSVExport
|
||||||
|
|
||||||
|
|
||||||
class ExportGolemActivityMembers(CSVExport):
|
class ExportGolemActivityMembers(CSVExport):
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
# 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 json import dumps
|
from json import dumps
|
||||||
from openerp import models, api
|
from odoo import models, api
|
||||||
|
|
||||||
|
|
||||||
class GolemActivity(models.Model):
|
class GolemActivity(models.Model):
|
||||||
|
@ -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
|
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/>.
|
||||||
-->
|
-->
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
|
|
||||||
<!-- Form -->
|
<!-- Form -->
|
||||||
@ -35,4 +35,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -18,12 +18,12 @@
|
|||||||
{
|
{
|
||||||
'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',
|
||||||
'version': '8.0.1.0.0',
|
'version': '10.0.1.0.0',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': False,
|
'application': False,
|
||||||
'installable': True,
|
'installable': False,
|
||||||
'depends': ['golem_activity_registration'],
|
'depends': ['golem_activity_registration'],
|
||||||
'data': ['views/golem_activity_registration_view.xml',
|
'data': ['views/golem_activity_registration_view.xml',
|
||||||
'views/golem_member_view.xml', 'views/golem_activity_view.xml']
|
'views/golem_member_view.xml', 'views/golem_activity_view.xml']
|
@ -15,7 +15,7 @@
|
|||||||
# 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 openerp import models, fields, api
|
from odoo import models, fields, api
|
||||||
|
|
||||||
|
|
||||||
class GolemMember(models.Model):
|
class GolemMember(models.Model):
|
||||||
|
@ -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
|
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/>.
|
||||||
-->
|
-->
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
|
|
||||||
<!-- Tree -->
|
<!-- Tree -->
|
||||||
@ -52,4 +52,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -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
|
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/>.
|
||||||
-->
|
-->
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
|
|
||||||
<!-- Form -->
|
<!-- Form -->
|
||||||
@ -40,4 +40,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -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
|
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/>.
|
||||||
-->
|
-->
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
|
|
||||||
<!-- Form -->
|
<!-- Form -->
|
||||||
@ -53,4 +53,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -18,12 +18,12 @@
|
|||||||
{
|
{
|
||||||
'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': '8.0.1.0.0',
|
'version': '10.0.1.0.0',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': False,
|
'application': False,
|
||||||
'installable': True,
|
'installable': False,
|
||||||
'depends': ['membership', 'contacts', 'mail', 'account_voucher',
|
'depends': ['membership', 'contacts', 'mail', 'account_voucher',
|
||||||
'partner_firstname', 'partner_contact_birthdate',
|
'partner_firstname', 'partner_contact_birthdate',
|
||||||
'partner_contact_gender', 'partner_contact_nationality',
|
'partner_contact_gender', 'partner_contact_nationality',
|
@ -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/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<openerp>
|
<odoo>
|
||||||
<data noupdate="0">
|
<data noupdate="0">
|
||||||
<!-- Groups -->
|
<!-- Groups -->
|
||||||
<record id="group_golem_user" model="res.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')])]" />
|
eval="[(6, 0, [ref('golem_base.group_golem_manager')])]" />
|
||||||
</record>
|
</record>
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -18,12 +18,12 @@
|
|||||||
{
|
{
|
||||||
'name': 'GOLEM families',
|
'name': 'GOLEM families',
|
||||||
'summary': 'GOLEM Members Families',
|
'summary': 'GOLEM Members Families',
|
||||||
'version': '8.0.2.0.0',
|
'version': '10.0.2.0.0',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': False,
|
'application': False,
|
||||||
'installable': True,
|
'installable': False,
|
||||||
'depends': ['golem_member'],
|
'depends': ['golem_member'],
|
||||||
'data': ['security/ir.model.access.csv', 'views/golem_family_view.xml',
|
'data': ['security/ir.model.access.csv', 'views/golem_family_view.xml',
|
||||||
'views/golem_member_view.xml', 'views/res_partner_view.xml']
|
'views/golem_member_view.xml', 'views/res_partner_view.xml']
|
@ -15,7 +15,7 @@
|
|||||||
# 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 openerp import models, fields, api, _
|
from odoo import models, fields, api, _
|
||||||
|
|
||||||
|
|
||||||
class ResPartner(models.Model):
|
class ResPartner(models.Model):
|
||||||
|
@ -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/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
<!-- Forms -->
|
<!-- Forms -->
|
||||||
<record id="view_form" model="ir.ui.view">
|
<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" />
|
groups="golem_base.group_golem_manager" />
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -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/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
<!-- Form -->
|
<!-- Form -->
|
||||||
<record model="ir.ui.view" id="golem_member_family_smartbtn_add">
|
<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>
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -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/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
<!-- Form -->
|
<!-- Form -->
|
||||||
<record model="ir.ui.view" id="res_partner_family_smartbtn_add">
|
<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>
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -18,12 +18,12 @@
|
|||||||
{
|
{
|
||||||
'name': 'GOLEM members minor and family',
|
'name': 'GOLEM members minor and family',
|
||||||
'summary': 'GOLEM non-profit members family + minor management',
|
'summary': 'GOLEM non-profit members family + minor management',
|
||||||
'version': '8.0.1.0.0',
|
'version': '10.0.1.0.0',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': False,
|
'application': False,
|
||||||
'installable': True,
|
'installable': False,
|
||||||
'auto_install': True,
|
'auto_install': True,
|
||||||
'depends': ['golem_family', 'golem_member_minor'],
|
'depends': ['golem_family', 'golem_member_minor'],
|
||||||
'data': []
|
'data': []
|
@ -15,7 +15,7 @@
|
|||||||
# 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 openerp import models, fields
|
from odoo import models, fields
|
||||||
|
|
||||||
LEGAL_DMN = "['&', ('family_id', '=', family_id), ('id', '!=', partner_id)]"
|
LEGAL_DMN = "['&', ('family_id', '=', family_id), ('id', '!=', partner_id)]"
|
||||||
|
|
||||||
|
@ -18,12 +18,12 @@
|
|||||||
{
|
{
|
||||||
'name': 'GOLEM non-profit members',
|
'name': 'GOLEM non-profit members',
|
||||||
'summary': 'Extends Odoo contacts for MJC',
|
'summary': 'Extends Odoo contacts for MJC',
|
||||||
'version': '8.0.1.0.0',
|
'version': '10.0.1.0.0',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': True,
|
'application': True,
|
||||||
'installable': True,
|
'installable': False,
|
||||||
'depends': ['golem_base', 'golem_activity', 'golem_season'],
|
'depends': ['golem_base', 'golem_activity', 'golem_season'],
|
||||||
'data': ['views/golem_member_view.xml', 'views/members_menu.xml',
|
'data': ['views/golem_member_view.xml', 'views/members_menu.xml',
|
||||||
'views/res_partner_view.xml', 'views/number_config.xml',
|
'views/res_partner_view.xml', 'views/number_config.xml',
|
@ -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/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<openerp>
|
<odoo>
|
||||||
<data noupdate="1">
|
<data noupdate="1">
|
||||||
<function model="ir.config_parameter" name="set_param"
|
<function model="ir.config_parameter" name="set_param"
|
||||||
eval="('golem_numberconfig_isautomatic', '1')" />
|
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"
|
<function model="ir.config_parameter" name="set_param"
|
||||||
eval="('golem_number_counter', '0')" />
|
eval="('golem_number_counter', '0')" />
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
# 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 openerp import models, fields, api, _
|
from odoo import models, fields, api, _
|
||||||
|
|
||||||
|
|
||||||
class ResPartner(models.Model):
|
class ResPartner(models.Model):
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
# 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 openerp import exceptions
|
from odoo import exceptions
|
||||||
from openerp.tests.common import TransactionCase
|
from odoo.tests.common import TransactionCase
|
||||||
# from psycopg2 import IntegrityError
|
# from psycopg2 import IntegrityError
|
||||||
|
|
||||||
|
|
||||||
|
@ -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/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
<!-- Forms -->
|
<!-- Forms -->
|
||||||
<record id="view_form" model="ir.ui.view">
|
<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"
|
parent="base.menu_marketing_config_association" sequence="10"
|
||||||
action="tags_action_list" groups="golem_base.group_golem_manager" />
|
action="tags_action_list" groups="golem_base.group_golem_manager" />
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -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/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<openerp>
|
<odoo>
|
||||||
<data noupdate="1">
|
<data noupdate="1">
|
||||||
<delete id="membership.menu_members" model="ir.ui.menu" />
|
<delete id="membership.menu_members" model="ir.ui.menu" />
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -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/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
|
|
||||||
<!-- Forms -->
|
<!-- 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"
|
parent="base.menu_marketing_config_association" sequence="3"
|
||||||
groups="golem_base.group_golem_manager" />
|
groups="golem_base.group_golem_manager" />
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -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/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
<!-- Forms -->
|
<!-- Forms -->
|
||||||
<record model="ir.ui.view" id="member_add">
|
<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>
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -18,12 +18,12 @@
|
|||||||
{
|
{
|
||||||
'name': 'GOLEM Member Family Quotient',
|
'name': 'GOLEM Member Family Quotient',
|
||||||
'summary': 'GOLEM Members Family Quotients',
|
'summary': 'GOLEM Members Family Quotients',
|
||||||
'version': '8.0.1.0.0',
|
'version': '10.0.1.0.0',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': False,
|
'application': False,
|
||||||
'installable': True,
|
'installable': False,
|
||||||
'depends': ['golem_member'],
|
'depends': ['golem_member'],
|
||||||
'data': ['golem_member_view.xml']
|
'data': ['golem_member_view.xml']
|
||||||
}
|
}
|
@ -15,7 +15,7 @@
|
|||||||
# 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 openerp import models, fields
|
from odoo import models, fields
|
||||||
|
|
||||||
|
|
||||||
class GolemMember(models.Model):
|
class GolemMember(models.Model):
|
||||||
|
@ -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/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
<!-- Form -->
|
<!-- Form -->
|
||||||
<record model="ir.ui.view" id="qf_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>
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -18,12 +18,12 @@
|
|||||||
{
|
{
|
||||||
'name': 'GOLEM members minor',
|
'name': 'GOLEM members minor',
|
||||||
'summary': 'GOLEM non-profit members minor management',
|
'summary': 'GOLEM non-profit members minor management',
|
||||||
'version': '8.0.1.0.0',
|
'version': '10.0.1.0.0',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': False,
|
'application': False,
|
||||||
'installable': True,
|
'installable': False,
|
||||||
'depends': ['golem_member'],
|
'depends': ['golem_member'],
|
||||||
'data': ['golem_member_view.xml']
|
'data': ['golem_member_view.xml']
|
||||||
}
|
}
|
@ -16,7 +16,7 @@
|
|||||||
# 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 datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
from openerp import models, fields, api
|
from odoo import models, fields, api
|
||||||
|
|
||||||
|
|
||||||
class GolemMember(models.Model):
|
class GolemMember(models.Model):
|
||||||
|
@ -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/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
|
|
||||||
<!-- Form -->
|
<!-- Form -->
|
||||||
@ -67,4 +67,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
# 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 openerp.tests.common import TransactionCase
|
from odoo.tests.common import TransactionCase
|
||||||
|
|
||||||
|
|
||||||
class GolemMemberMinorTestCase(TransactionCase):
|
class GolemMemberMinorTestCase(TransactionCase):
|
||||||
|
@ -18,12 +18,12 @@
|
|||||||
{
|
{
|
||||||
'name': 'GOLEM members skills',
|
'name': 'GOLEM members skills',
|
||||||
'summary': 'GOLEM non-profit members skills management',
|
'summary': 'GOLEM non-profit members skills management',
|
||||||
'version': '8.0.1.0.0',
|
'version': '10.0.1.0.0',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': False,
|
'application': False,
|
||||||
'installable': True,
|
'installable': False,
|
||||||
'depends': ['golem_member'],
|
'depends': ['golem_member'],
|
||||||
'data': ['views/golem_member_view.xml', 'views/res_partner_view.xml',
|
'data': ['views/golem_member_view.xml', 'views/res_partner_view.xml',
|
||||||
'security/ir.model.access.csv']
|
'security/ir.model.access.csv']
|
@ -15,7 +15,7 @@
|
|||||||
# 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 openerp import models, fields
|
from odoo import models, fields
|
||||||
|
|
||||||
|
|
||||||
class ResPartner(models.Model):
|
class ResPartner(models.Model):
|
||||||
|
@ -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/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
<!-- Form -->
|
<!-- Form -->
|
||||||
<record model="ir.ui.view" id="golem_member_skills_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" />
|
sequence="5" groups="golem_base.group_golem_manager" />
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -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/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
<!-- Form -->
|
<!-- Form -->
|
||||||
<record model="ir.ui.view" id="res_partner_skills_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>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -18,12 +18,12 @@
|
|||||||
{
|
{
|
||||||
'name': 'GOLEM non-profit membership handling',
|
'name': 'GOLEM non-profit membership handling',
|
||||||
'summary': 'Extends Odoo membership',
|
'summary': 'Extends Odoo membership',
|
||||||
'version': '8.0.1.0.0',
|
'version': '10.0.1.0.0',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': False,
|
'application': False,
|
||||||
'installable': True,
|
'installable': False,
|
||||||
'depends': ['golem_member', 'account', 'decimal_precision'],
|
'depends': ['golem_member', 'account', 'decimal_precision'],
|
||||||
'data': ['views/golem_membership_invoice.xml',
|
'data': ['views/golem_membership_invoice.xml',
|
||||||
'views/golem_member_view.xml']
|
'views/golem_member_view.xml']
|
@ -15,8 +15,8 @@
|
|||||||
# 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 openerp import models, fields, api
|
from odoo import models, fields, api
|
||||||
from openerp.addons import decimal_precision as dp
|
from odoo.addons import decimal_precision as dp
|
||||||
|
|
||||||
|
|
||||||
class GolemMembershipInvoice(models.TransientModel):
|
class GolemMembershipInvoice(models.TransientModel):
|
||||||
|
@ -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/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
<!-- Forms -->
|
<!-- Forms -->
|
||||||
<record model="ir.ui.view" id="membership_add">
|
<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>
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -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/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
<!-- Forms -->
|
<!-- Forms -->
|
||||||
<record id="membership_invoice_view" model="ir.ui.view">
|
<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>
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
@ -18,12 +18,12 @@
|
|||||||
{
|
{
|
||||||
'name': 'GOLEM seasons',
|
'name': 'GOLEM seasons',
|
||||||
'summary': 'GOLEM non-profit seasons management',
|
'summary': 'GOLEM non-profit seasons management',
|
||||||
'version': '8.0.1.0.0',
|
'version': '10.0.1.0.0',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': False,
|
'application': False,
|
||||||
'installable': True,
|
'installable': False,
|
||||||
'depends': ['golem_base'],
|
'depends': ['golem_base'],
|
||||||
'data': ['security/ir.model.access.csv', 'views/golem_season_view.xml']
|
'data': ['security/ir.model.access.csv', 'views/golem_season_view.xml']
|
||||||
}
|
}
|
@ -15,7 +15,7 @@
|
|||||||
# 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 openerp import models, fields, api, _
|
from odoo import models, fields, api, _
|
||||||
|
|
||||||
|
|
||||||
class GolemSeason(models.Model):
|
class GolemSeason(models.Model):
|
||||||
|
@ -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/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
|
|
||||||
<!-- Forms -->
|
<!-- 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" />
|
action="action_list" groups="golem_base.group_golem_manager" />
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
Loading…
Reference in New Issue
Block a user