diff --git a/crm_claim_ext/__init__.py b/crm_claim_ext/__init__.py new file mode 100644 index 00000000..4f55782b --- /dev/null +++ b/crm_claim_ext/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +######################################################################### +# # +# # +######################################################################### +# # +# Copyright (C) 2009-2011 Akretion, Emmanuel Samyn # +# # +#This program is free software: you can redistribute it and/or modify # +#it under the terms of the GNU 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 General Public License for more details. # +# # +#You should have received a copy of the GNU General Public License # +#along with this program. If not, see . # +######################################################################### + +import crm_claim_ext diff --git a/crm_claim_ext/__openerp__.py b/crm_claim_ext/__openerp__.py new file mode 100644 index 00000000..632b36cb --- /dev/null +++ b/crm_claim_ext/__openerp__.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +######################################################################### +# # +# # +######################################################################### +# # +# Copyright (C) 2009-2011 Akretion, Emmanuel Samyn # +# # +#This program is free software: you can redistribute it and/or modify # +#it under the terms of the GNU 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 General Public License for more details. # +# # +#You should have received a copy of the GNU General Public License # +#along with this program. If not, see . # +######################################################################### + + +{ + 'name': 'CRM claim extension', + 'version': '1.0', + 'category': 'Generic Modules/CRM & SRM', + 'description': """ +Add some fields to CRM claim : canal, spirit + """, + 'author': 'Akretion', + 'website': 'http://www.akretion.com', + 'depends': ['crm_claim'], + 'init_xml': [], + 'update_xml': [ + 'crm_claim_ext_view.xml', + ], + 'demo_xml': [], + 'test': [], + 'installable': True, + 'active': False, + 'certificate' : '', +} + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/crm_claim_ext/crm_claim_ext.py b/crm_claim_ext/crm_claim_ext.py new file mode 100644 index 00000000..1c02c78b --- /dev/null +++ b/crm_claim_ext/crm_claim_ext.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +######################################################################### +# # +# # +######################################################################### +# # +# Copyright (C) 2009-2011 Akretion, Emmanuel Samyn # +# # +#This program is free software: you can redistribute it and/or modify # +#it under the terms of the GNU 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 General Public License for more details. # +# # +#You should have received a copy of the GNU General Public License # +#along with this program. If not, see . # +######################################################################### + +from osv import fields, osv +#from crm import crm +#from datetime import datetime +#from dateutil.relativedelta import relativedelta +#import time + +class crm_claim_ext(osv.osv): + """ + Crm claim field extension + """ + _name = "crm.claim" + _description = "Add some fields to crm_claim" + _inherit = 'crm.claim' + _columns = { + 'canal_id': fields.many2one('res.partner.canal', 'Channel'), + 'som': fields.many2one('res.partner.som', 'State of Mind'), + + } +crm_claim_ext() + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/crm_claim_ext/crm_claim_ext_view.xml b/crm_claim_ext/crm_claim_ext_view.xml new file mode 100644 index 00000000..30c2c4d4 --- /dev/null +++ b/crm_claim_ext/crm_claim_ext_view.xml @@ -0,0 +1,38 @@ + + + + + + + + CRM - Claim product return Form + crm.claim + + + + + + + + + + + diff --git a/product_warranty/__openerp__.py b/product_warranty/__openerp__.py index a387b3ce..44cc8f02 100644 --- a/product_warranty/__openerp__.py +++ b/product_warranty/__openerp__.py @@ -26,7 +26,7 @@ 'version': '1.0', 'category': 'Generic Modules/Product', 'description': """ -Extend the product warranty management with warranty details on prodcut / supplier relation +Extend the product warranty management with warranty details on product / supplier relation """, 'author': 'Akretion', 'website': 'http://www.akretion.com',