[IMP]: Improve view for open partner button and some minor change
authorksa (Open ERP) <ksa@tinyerp.co.in>
Thu, 29 Jul 2010 13:26:11 +0000 (18:56 +0530)
committerksa (Open ERP) <ksa@tinyerp.co.in>
Thu, 29 Jul 2010 13:26:11 +0000 (18:56 +0530)
bzr revid: ksa@tinyerp.co.in-20100729132611-qlh7t50ltfeyrirc

addons/thunderbird/__init__.py
addons/thunderbird/partner/__init__.py
addons/thunderbird/partner/partner.py
addons/thunderbird/plugin/tiny_plugin-2.0.xpi

index 4ab5861..68afc0c 100644 (file)
@@ -1,50 +1,23 @@
-# -*- encoding: utf-8 -*-
+# -*- coding: utf-8 -*-
 ##############################################################################
 #
-#    OpenERP, Open Source Management Solution    
-#    Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
-#    $Id$
+#    OpenERP, Open Source Management Solution
+#    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
 #
 #    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.
+#    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 General Public License for more details.
+#    GNU Affero General Public License for more details.
 #
-#    You should have received a copy of the GNU 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/>.
 #
 ##############################################################################
-##############################################################################
-#
-# Copyright (c) 2004 Axelor SPRL. (http://www.axelor.com) All Rights Reserved.
-#
-# WARNING: This program as such is intended to be used by professional
-# programmers who take the whole responsability of assessing all potential
-# consequences resulting from its eventual inadequacies and bugs
-# End users who are looking for a ready-to-use solution with commercial
-# garantees and support are strongly adviced to contract a Free Software
-# Service Company
-#
-# 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 2
-# 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, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-#
-##############################################################################
 
 import partner
 import installer
index 5b7582a..8eee7a8 100644 (file)
@@ -1,50 +1,23 @@
-# -*- encoding: utf-8 -*-
+# -*- coding: utf-8 -*-
 ##############################################################################
 #
-#    OpenERP, Open Source Management Solution    
-#    Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
-#    $Id$
+#    OpenERP, Open Source Management Solution
+#    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
 #
 #    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.
+#    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 General Public License for more details.
+#    GNU Affero General Public License for more details.
 #
-#    You should have received a copy of the GNU 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/>.
 #
 ##############################################################################
-##############################################################################
-#
-# Copyright (c) 2004 Axelor SPRL. (http://www.axelor.com) All Rights Reserved.
-#
-# WARNING: This program as such is intended to be used by professional
-# programmers who take the whole responsability of assessing all potential
-# consequences resulting from its eventual inadequacies and bugs
-# End users who are looking for a ready-to-use solution with commercial
-# garantees and support are strongly adviced to contract a Free Software
-# Service Company
-#
-# 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 2
-# 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, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-#
-##############################################################################
 
 import partner
 
index d3270f6..79de29c 100644 (file)
@@ -1,50 +1,23 @@
-# -*- encoding: utf-8 -*-\r
+# -*- coding: utf-8 -*-\r
 ##############################################################################\r
 #\r
 #    OpenERP, Open Source Management Solution\r
-#    Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved\r
-#    $Id$\r
+#    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).\r
 #\r
 #    This program is free software: you can redistribute it and/or modify\r
-#    it under the terms of the GNU General Public License as published by\r
-#    the Free Software Foundation, either version 3 of the License, or\r
-#    (at your option) any later version.\r
+#    it under the terms of the GNU Affero General Public License as\r
+#    published by the Free Software Foundation, either version 3 of the\r
+#    License, or (at your option) any later version.\r
 #\r
 #    This program is distributed in the hope that it will be useful,\r
 #    but WITHOUT ANY WARRANTY; without even the implied warranty of\r
 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-#    GNU General Public License for more details.\r
+#    GNU Affero General Public License for more details.\r
 #\r
-#    You should have received a copy of the GNU General Public License\r
+#    You should have received a copy of the GNU Affero General Public License\r
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
 #\r
 ##############################################################################\r
-##############################################################################\r
-#\r
-# Copyright (c) 2004 Axelor SPRL. (http://www.axelor.com) All Rights Reserved.\r
-#\r
-# WARNING: This program as such is intended to be used by professional\r
-# programmers who take the whole responsability of assessing all potential\r
-# consequences resulting from its eventual inadequacies and bugs\r
-# End users who are looking for a ready-to-use solution with commercial\r
-# garantees and support are strongly adviced to contract a Free Software\r
-# Service Company\r
-#\r
-# This program is Free Software; you can redistribute it and/or\r
-# modify it under the terms of the GNU General Public License\r
-# as published by the Free Software Foundation; either version 2\r
-# of the License, or (at your option) any later version.\r
-#\r
-# This program is distributed in the hope that it will be useful,\r
-# but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-# GNU General Public License for more details.\r
-#\r
-# You should have received a copy of the GNU General Public License\r
-# along with this program; if not, write to the Free Software\r
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
-#\r
-##############################################################################\r
 \r
 import time\r
 import ir\r
@@ -108,7 +81,6 @@ class tinythunderbird_partner(osv.osv):
         res = {}\r
         if partner:\r
             partner=partner[0]\r
-            print "partnert",partner\r
             test = address_obj.read(cr,user, partner)\r
             res = {\r
                 'partner_name': test['partner_id'] and test['partner_id'][1] or '',\r
index ce0cfd8..8d33ded 100644 (file)
Binary files a/addons/thunderbird/plugin/tiny_plugin-2.0.xpi and b/addons/thunderbird/plugin/tiny_plugin-2.0.xpi differ