diff --git a/addons/event_sale/__openerp__.py b/addons/event_sale/__openerp__.py index 1a72403b84b..f92a9eb5617 100644 --- a/addons/event_sale/__openerp__.py +++ b/addons/event_sale/__openerp__.py @@ -37,6 +37,7 @@ It defines a new kind of service products that offers you the possibility to cho 'depends': ['event','sale','sale_crm'], 'update_xml': [ 'event_sale_view.xml', + 'event_demo.xml', ], 'test':['test/confirm.yml'], 'installable': True, diff --git a/addons/event_sale/event_demo.xml b/addons/event_sale/event_demo.xml new file mode 100644 index 00000000000..6dd696225a3 --- /dev/null +++ b/addons/event_sale/event_demo.xml @@ -0,0 +1,25 @@ + + + + + Technical training in Grand-Rosiere + + + + + + + + Technical Training + True + + + service + 2500.0 + 1000.0 + produce + + + + + diff --git a/addons/event_sale_layout/__init__.py b/addons/event_sale_layout/__init__.py new file mode 100644 index 00000000000..26c654db9dd --- /dev/null +++ b/addons/event_sale_layout/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2010 Tiny SPRL (). +# +# 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 . +# +############################################################################## + diff --git a/addons/event_sale_layout/__openerp__.py b/addons/event_sale_layout/__openerp__.py new file mode 100644 index 00000000000..c81c4c83c7b --- /dev/null +++ b/addons/event_sale_layout/__openerp__.py @@ -0,0 +1,40 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2010 Tiny SPRL (). +# +# 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': 'Events Sales layout', + 'version': '0.1', + 'category': 'Tools', + 'complexity': "easy", + 'description': """ + This module ensures the compatibility of the changes made on the sale.order.line form view in event_sale with the sale_layout module (that is replacing the whole field in the view by another one). Its installation is automatically triggered when both modules are installed. + """, + 'author': 'OpenERP SA', + 'depends': ['event_sale','sale_layout'], + 'update_xml': [ + 'event_sale_layout.xml', + ], + 'installable': True, + 'auto_install':True, + 'category': 'Hidden', +} +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/event_sale_layout/event_sale_layout.xml b/addons/event_sale_layout/event_sale_layout.xml new file mode 100644 index 00000000000..26ba71b1938 --- /dev/null +++ b/addons/event_sale_layout/event_sale_layout.xml @@ -0,0 +1,18 @@ + + + + event.sale.order + sale.order + form + 10000 + + + + + + + + + + +