From 176c9cb2b2d8a13bd246877703580eedc51e12d2 Mon Sep 17 00:00:00 2001 From: Ilnur Gallyamov Date: Sun, 10 May 2015 10:19:16 +0500 Subject: [PATCH 01/14] empty module res_partner_strip_email --- __init__.py | 3 +++ __openerp__.py | 34 ++++++++++++++++++++++++++++++++++ controllers.py | 20 ++++++++++++++++++++ demo.xml | 25 +++++++++++++++++++++++++ models.py | 8 ++++++++ security/ir.model.access.csv | 2 ++ templates.xml | 22 ++++++++++++++++++++++ 7 files changed, 114 insertions(+) create mode 100644 __init__.py create mode 100644 __openerp__.py create mode 100644 controllers.py create mode 100644 demo.xml create mode 100644 models.py create mode 100644 security/ir.model.access.csv create mode 100644 templates.xml diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..c7a6ca6 --- /dev/null +++ b/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- +import controllers +import models \ No newline at end of file diff --git a/__openerp__.py b/__openerp__.py new file mode 100644 index 0000000..bcdadae --- /dev/null +++ b/__openerp__.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +{ + 'name': "res_partner_strip_email", + + 'summary': """ + Short (1 phrase/line) summary of the module's purpose, used as + subtitle on modules listing or apps.openerp.com""", + + 'description': """ + Long description of module's purpose + """, + + 'author': "Your Company", + 'website': "http://www.yourcompany.com", + + # Categories can be used to filter modules in modules listing + # Check https://github.com/odoo/odoo/blob/master/openerp/addons/base/module/module_data.xml + # for the full list + 'category': 'Uncategorized', + 'version': '0.1', + + # any module necessary for this one to work correctly + 'depends': ['base'], + + # always loaded + 'data': [ + # 'security/ir.model.access.csv', + 'templates.xml', + ], + # only loaded in demonstration mode + 'demo': [ + 'demo.xml', + ], +} \ No newline at end of file diff --git a/controllers.py b/controllers.py new file mode 100644 index 0000000..bb1d504 --- /dev/null +++ b/controllers.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +from openerp import http + +# class ResPartnerStripEmail(http.Controller): +# @http.route('/res_partner_strip_email/res_partner_strip_email/', auth='public') +# def index(self, **kw): +# return "Hello, world" + +# @http.route('/res_partner_strip_email/res_partner_strip_email/objects/', auth='public') +# def list(self, **kw): +# return http.request.render('res_partner_strip_email.listing', { +# 'root': '/res_partner_strip_email/res_partner_strip_email', +# 'objects': http.request.env['res_partner_strip_email.res_partner_strip_email'].search([]), +# }) + +# @http.route('/res_partner_strip_email/res_partner_strip_email/objects//', auth='public') +# def object(self, obj, **kw): +# return http.request.render('res_partner_strip_email.object', { +# 'object': obj +# }) \ No newline at end of file diff --git a/demo.xml b/demo.xml new file mode 100644 index 0000000..f50c9d4 --- /dev/null +++ b/demo.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/models.py b/models.py new file mode 100644 index 0000000..11cdbec --- /dev/null +++ b/models.py @@ -0,0 +1,8 @@ +# -*- coding: utf-8 -*- + +from openerp import models, fields, api + +# class res_partner_strip_email(models.Model): +# _name = 'res_partner_strip_email.res_partner_strip_email' + +# name = fields.Char() \ No newline at end of file diff --git a/security/ir.model.access.csv b/security/ir.model.access.csv new file mode 100644 index 0000000..729a5bc --- /dev/null +++ b/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_res_partner_strip_email_res_partner_strip_email,res_partner_strip_email.res_partner_strip_email,model_res_partner_strip_email_res_partner_strip_email,,1,0,0,0 \ No newline at end of file diff --git a/templates.xml b/templates.xml new file mode 100644 index 0000000..71a9d51 --- /dev/null +++ b/templates.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 51dec40c4812b2821582630fe426b5ac57d0cf9a Mon Sep 17 00:00:00 2001 From: Ilnur Gallyamov Date: Mon, 11 May 2015 09:47:45 +0500 Subject: [PATCH 02/14] strip email is work --- __openerp__.py | 32 +++++++++----------------------- models.py | 18 +++++++++++++++--- templates.xml | 2 +- 3 files changed, 25 insertions(+), 27 deletions(-) diff --git a/__openerp__.py b/__openerp__.py index bcdadae..deace92 100644 --- a/__openerp__.py +++ b/__openerp__.py @@ -1,34 +1,20 @@ # -*- coding: utf-8 -*- { - 'name': "res_partner_strip_email", - - 'summary': """ - Short (1 phrase/line) summary of the module's purpose, used as - subtitle on modules listing or apps.openerp.com""", - - 'description': """ - Long description of module's purpose - """, - - 'author': "Your Company", - 'website': "http://www.yourcompany.com", + 'name': "Strip email in partner form", + 'summary': """Trim email's field""", + 'description': """Email will be trim when create/save""", + 'author': "It-Projects LLC", + 'website': "https://www.it-projects.info/", # Categories can be used to filter modules in modules listing # Check https://github.com/odoo/odoo/blob/master/openerp/addons/base/module/module_data.xml # for the full list - 'category': 'Uncategorized', - 'version': '0.1', + 'category': 'Base', + 'version': '1.0.0', # any module necessary for this one to work correctly 'depends': ['base'], # always loaded - 'data': [ - # 'security/ir.model.access.csv', - 'templates.xml', - ], - # only loaded in demonstration mode - 'demo': [ - 'demo.xml', - ], -} \ No newline at end of file + 'data': [ ], +} diff --git a/models.py b/models.py index 11cdbec..c899223 100644 --- a/models.py +++ b/models.py @@ -2,7 +2,19 @@ from openerp import models, fields, api -# class res_partner_strip_email(models.Model): -# _name = 'res_partner_strip_email.res_partner_strip_email' +class res_partner_strip_email(models.Model): + _inherit = 'res.partner' + + @api.one + def write(self, vals): + if 'email' in vals: + vals['email']=vals['email'].strip() + res = super(res_partner_strip_email, self).write(vals) + return res -# name = fields.Char() \ No newline at end of file + @api.model + def create(self, vals): + if vals['email']: + vals['email']=vals['email'].strip() + res = super(res_partner_strip_email, self).create(vals) + return res diff --git a/templates.xml b/templates.xml index 71a9d51..b916650 100644 --- a/templates.xml +++ b/templates.xml @@ -19,4 +19,4 @@ - \ No newline at end of file + From 4bf024bc8301fe50eb78411872460d8b38fc845b Mon Sep 17 00:00:00 2001 From: Ilnur Gallyamov Date: Mon, 11 May 2015 15:35:30 +0500 Subject: [PATCH 03/14] Trim email's field v 1.0.0 --- __init__.py | 3 +-- __init__.pyc | Bin 0 -> 183 bytes __openerp__.py | 8 ++++---- controllers.py | 20 -------------------- demo.xml | 25 ------------------------- models.py | 29 +++++++++++++++-------------- models.pyc | Bin 0 -> 1159 bytes security/ir.model.access.csv | 2 -- templates.xml | 22 ---------------------- 9 files changed, 20 insertions(+), 89 deletions(-) create mode 100644 __init__.pyc delete mode 100644 controllers.py delete mode 100644 demo.xml create mode 100644 models.pyc delete mode 100644 security/ir.model.access.csv delete mode 100644 templates.xml diff --git a/__init__.py b/__init__.py index c7a6ca6..89d26e2 100644 --- a/__init__.py +++ b/__init__.py @@ -1,3 +1,2 @@ # -*- coding: utf-8 -*- -import controllers -import models \ No newline at end of file +import models diff --git a/__init__.pyc b/__init__.pyc new file mode 100644 index 0000000000000000000000000000000000000000..09942f5166c87a1148a5210db1c8ecbdbb2867e8 GIT binary patch literal 183 zcmYLCy9xq94BS%?5d=SD8x2^9g@}c<2x4Os4mV(6Uu^b@`)u(8G$(>XW-?(QGk(oy z&&~OIH$RMYAC$6CaXO9h#@xQ+fpMHlv+3=g_b=aa^#A*%6*;cqn&nip7uk%D9r~#!!1_; literal 0 HcmV?d00001 diff --git a/__openerp__.py b/__openerp__.py index deace92..5976f1b 100644 --- a/__openerp__.py +++ b/__openerp__.py @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- { - 'name': "Strip email in partner form", - 'summary': """Trim email's field""", - 'description': """Email will be trim when create/save""", + 'name': "Trim email's field", + 'summary': """""", + 'description': """""", 'author': "It-Projects LLC", 'website': "https://www.it-projects.info/", @@ -16,5 +16,5 @@ 'depends': ['base'], # always loaded - 'data': [ ], + 'data': [], } diff --git a/controllers.py b/controllers.py deleted file mode 100644 index bb1d504..0000000 --- a/controllers.py +++ /dev/null @@ -1,20 +0,0 @@ -# -*- coding: utf-8 -*- -from openerp import http - -# class ResPartnerStripEmail(http.Controller): -# @http.route('/res_partner_strip_email/res_partner_strip_email/', auth='public') -# def index(self, **kw): -# return "Hello, world" - -# @http.route('/res_partner_strip_email/res_partner_strip_email/objects/', auth='public') -# def list(self, **kw): -# return http.request.render('res_partner_strip_email.listing', { -# 'root': '/res_partner_strip_email/res_partner_strip_email', -# 'objects': http.request.env['res_partner_strip_email.res_partner_strip_email'].search([]), -# }) - -# @http.route('/res_partner_strip_email/res_partner_strip_email/objects//', auth='public') -# def object(self, obj, **kw): -# return http.request.render('res_partner_strip_email.object', { -# 'object': obj -# }) \ No newline at end of file diff --git a/demo.xml b/demo.xml deleted file mode 100644 index f50c9d4..0000000 --- a/demo.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/models.py b/models.py index c899223..e55f847 100644 --- a/models.py +++ b/models.py @@ -2,19 +2,20 @@ from openerp import models, fields, api + class res_partner_strip_email(models.Model): - _inherit = 'res.partner' - - @api.one - def write(self, vals): - if 'email' in vals: - vals['email']=vals['email'].strip() - res = super(res_partner_strip_email, self).write(vals) - return res + _inherit = 'res.partner' + + @api.one + def write(self, vals): + if 'email' in vals and type(vals['email']) is not bool: + vals['email'] = vals['email'].strip() + res = super(res_partner_strip_email, self).write(vals) + return res - @api.model - def create(self, vals): - if vals['email']: - vals['email']=vals['email'].strip() - res = super(res_partner_strip_email, self).create(vals) - return res + @api.model + def create(self, vals): + if vals['email']: + vals['email'] = vals['email'].strip() + res = super(res_partner_strip_email, self).create(vals) + return res diff --git a/models.pyc b/models.pyc new file mode 100644 index 0000000000000000000000000000000000000000..adc7362a8fe5d25faa0e20a379e0e1abcc9ae10f GIT binary patch literal 1159 zcmcJOy>HY&5XEQh`ydCA5KTa$fyxcBl!{0JAyN~ejZ$!pWzKtw4}ZzK2Ri9!fd80= z4&ED^j{>@2-9C?Zy|ZtAb7u|*Kl3Bs_=nJc~^!b+@rv9WwpYRUJ>*qhChKgp&ht`9T(FCY|;U2PIYD`@HfuP#a^lne;a#o z(D8WCib-i=f^m-FuOLXZH}Y;K{iy_DjF|^W9WZ;q*>P$UvEf?vL3~m6*o!(Vz-T6KT zSH6YX65K?^6IXiO)-ElpX4|K2(Y9&5%Zs9I{FA3?ILW&7AKcTSTgTnb9v}^ezXg%# zu{kpL%`bF3_MEHFAS0Om(a&h3U&SAYKoLL&MDgDcSyq-%?3}_w2LdFv>Rmn}unVrR zqxKHu=IcI0*1H&E-3zTdp`Sp>vL>%xmIeCAGVt0~eAKnFxprulW!JScZQ~TA_EFhd z=Kt+lqnm0On?hWkGBdO2-uzfh^9R6jUMJU!#)F!{pSNxAE?*HRV>6{I$p3|l0 H(GTMvo=NdH literal 0 HcmV?d00001 diff --git a/security/ir.model.access.csv b/security/ir.model.access.csv deleted file mode 100644 index 729a5bc..0000000 --- a/security/ir.model.access.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -access_res_partner_strip_email_res_partner_strip_email,res_partner_strip_email.res_partner_strip_email,model_res_partner_strip_email_res_partner_strip_email,,1,0,0,0 \ No newline at end of file diff --git a/templates.xml b/templates.xml deleted file mode 100644 index b916650..0000000 --- a/templates.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - From c436a35138c204791ea605ab4654ca1e2d9946ee Mon Sep 17 00:00:00 2001 From: Ilnur Gallyamov Date: Mon, 11 May 2015 16:59:24 +0500 Subject: [PATCH 04/14] fix to pep8 --- __openerp__.py | 4 ++-- models.py | 26 +++++++++++++------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/__openerp__.py b/__openerp__.py index 5976f1b..cba733b 100644 --- a/__openerp__.py +++ b/__openerp__.py @@ -3,8 +3,8 @@ 'name': "Trim email's field", 'summary': """""", 'description': """""", - 'author': "It-Projects LLC", - 'website': "https://www.it-projects.info/", + 'author': "Ivan Yelizariev", + 'website': "https://yelizariev.github.io", # Categories can be used to filter modules in modules listing # Check https://github.com/odoo/odoo/blob/master/openerp/addons/base/module/module_data.xml diff --git a/models.py b/models.py index e55f847..a71d751 100644 --- a/models.py +++ b/models.py @@ -4,18 +4,18 @@ from openerp import models, fields, api class res_partner_strip_email(models.Model): - _inherit = 'res.partner' + _inherit = 'res.partner' - @api.one - def write(self, vals): - if 'email' in vals and type(vals['email']) is not bool: - vals['email'] = vals['email'].strip() - res = super(res_partner_strip_email, self).write(vals) - return res + @api.one + def write(self, vals): + if 'email' in vals and type(vals['email']) is not bool: + vals['email'] = vals['email'].strip() + res = super(res_partner_strip_email, self).write(vals) + return res - @api.model - def create(self, vals): - if vals['email']: - vals['email'] = vals['email'].strip() - res = super(res_partner_strip_email, self).create(vals) - return res + @api.model + def create(self, vals): + if vals['email']: + vals['email'] = vals['email'].strip() + res = super(res_partner_strip_email, self).create(vals) + return res From 110d1080f1d59b2bb9cf891bfe122db8f41987ed Mon Sep 17 00:00:00 2001 From: Ilnur Gallyamov Date: Mon, 11 May 2015 17:09:51 +0500 Subject: [PATCH 05/14] exclude *.pyc --- __init__.pyc | Bin 183 -> 0 bytes models.pyc | Bin 1159 -> 0 bytes 2 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 __init__.pyc delete mode 100644 models.pyc diff --git a/__init__.pyc b/__init__.pyc deleted file mode 100644 index 09942f5166c87a1148a5210db1c8ecbdbb2867e8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 183 zcmYLCy9xq94BS%?5d=SD8x2^9g@}c<2x4Os4mV(6Uu^b@`)u(8G$(>XW-?(QGk(oy z&&~OIH$RMYAC$6CaXO9h#@xQ+fpMHlv+3=g_b=aa^#A*%6*;cqn&nip7uk%D9r~#!!1_; diff --git a/models.pyc b/models.pyc deleted file mode 100644 index adc7362a8fe5d25faa0e20a379e0e1abcc9ae10f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1159 zcmcJOy>HY&5XEQh`ydCA5KTa$fyxcBl!{0JAyN~ejZ$!pWzKtw4}ZzK2Ri9!fd80= z4&ED^j{>@2-9C?Zy|ZtAb7u|*Kl3Bs_=nJc~^!b+@rv9WwpYRUJ>*qhChKgp&ht`9T(FCY|;U2PIYD`@HfuP#a^lne;a#o z(D8WCib-i=f^m-FuOLXZH}Y;K{iy_DjF|^W9WZ;q*>P$UvEf?vL3~m6*o!(Vz-T6KT zSH6YX65K?^6IXiO)-ElpX4|K2(Y9&5%Zs9I{FA3?ILW&7AKcTSTgTnb9v}^ezXg%# zu{kpL%`bF3_MEHFAS0Om(a&h3U&SAYKoLL&MDgDcSyq-%?3}_w2LdFv>Rmn}unVrR zqxKHu=IcI0*1H&E-3zTdp`Sp>vL>%xmIeCAGVt0~eAKnFxprulW!JScZQ~TA_EFhd z=Kt+lqnm0On?hWkGBdO2-uzfh^9R6jUMJU!#)F!{pSNxAE?*HRV>6{I$p3|l0 H(GTMvo=NdH From b9948e3c30f63362849fdee8087c64694b6d8d3b Mon Sep 17 00:00:00 2001 From: Ilnur Gallyamov Date: Wed, 13 May 2015 11:16:10 +0500 Subject: [PATCH 06/14] models.ru to pep8 --- README.rst | 1 + __openerp__.py | 3 +-- models.py | 16 +++++++++------- 3 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 README.rst diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..c90a29b --- /dev/null +++ b/README.rst @@ -0,0 +1 @@ +Trim email field in partner form. diff --git a/__openerp__.py b/__openerp__.py index cba733b..fa99c68 100644 --- a/__openerp__.py +++ b/__openerp__.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- { 'name': "Trim email's field", - 'summary': """""", - 'description': """""", + 'summary': "", 'author': "Ivan Yelizariev", 'website': "https://yelizariev.github.io", diff --git a/models.py b/models.py index a71d751..a7ab8c4 100644 --- a/models.py +++ b/models.py @@ -8,14 +8,16 @@ class res_partner_strip_email(models.Model): @api.one def write(self, vals): - if 'email' in vals and type(vals['email']) is not bool: - vals['email'] = vals['email'].strip() - res = super(res_partner_strip_email, self).write(vals) - return res + vals = self._check_email_field(vals) + return super(res_partner_strip_email, self).write(vals) @api.model def create(self, vals): - if vals['email']: + vals = self._check_email_field(vals) + return super(res_partner_strip_email, self).create(vals) + + def _check_email_field(self, vals): + if not isinstance(vals['email'], bool) and 'email' in vals or \ + isinstance(vals['email'], bool) and vals['email']: vals['email'] = vals['email'].strip() - res = super(res_partner_strip_email, self).create(vals) - return res + return vals From 84040dfcab4214133ae14b2a4cd026ceba3ec731 Mon Sep 17 00:00:00 2001 From: Ilnur Gallyamov Date: Wed, 13 May 2015 14:16:22 +0500 Subject: [PATCH 07/14] simple code --- models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/models.py b/models.py index a7ab8c4..bb6f741 100644 --- a/models.py +++ b/models.py @@ -17,7 +17,6 @@ class res_partner_strip_email(models.Model): return super(res_partner_strip_email, self).create(vals) def _check_email_field(self, vals): - if not isinstance(vals['email'], bool) and 'email' in vals or \ - isinstance(vals['email'], bool) and vals['email']: + if vals.get('email'): vals['email'] = vals['email'].strip() return vals From 1bab755303d5d3011d2889ef9c2ad2c662b4053b Mon Sep 17 00:00:00 2001 From: Ivan Yelizariev Date: Tue, 9 Jun 2015 17:53:16 +0500 Subject: [PATCH 08/14] [DOC] fix name --- __openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__openerp__.py b/__openerp__.py index fa99c68..4d5b4a0 100644 --- a/__openerp__.py +++ b/__openerp__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- { - 'name': "Trim email's field", + 'name': "Trim partner's email", 'summary': "", 'author': "Ivan Yelizariev", 'website': "https://yelizariev.github.io", From da488572b36d5700151093fd585018435ba6ed9f Mon Sep 17 00:00:00 2001 From: Ivan Yelizariev Date: Thu, 2 Jul 2015 16:35:12 +0500 Subject: [PATCH 09/14] [DOC] add icon --- static/description/icon.png | Bin 0 -> 3035 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 static/description/icon.png diff --git a/static/description/icon.png b/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..b43a0a135f903a4c0c401f03a8690fbbd021a2ab G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qa;!IODJp0O1V2T Date: Wed, 8 Jul 2015 09:20:21 +0500 Subject: [PATCH 10/14] [DOC] fix modules categories --- __openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__openerp__.py b/__openerp__.py index 4d5b4a0..b58254e 100644 --- a/__openerp__.py +++ b/__openerp__.py @@ -8,7 +8,7 @@ # Categories can be used to filter modules in modules listing # Check https://github.com/odoo/odoo/blob/master/openerp/addons/base/module/module_data.xml # for the full list - 'category': 'Base', + 'category': 'Tools', 'version': '1.0.0', # any module necessary for this one to work correctly From ab62345398ca687c070b5b1f9bde94b70b4cec49 Mon Sep 17 00:00:00 2001 From: Ivan Yelizariev Date: Sun, 27 Sep 2015 10:22:56 +0500 Subject: [PATCH 11/14] [DOC] add IT-Projects LLC to authors --- __openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__openerp__.py b/__openerp__.py index b58254e..5d1b59f 100644 --- a/__openerp__.py +++ b/__openerp__.py @@ -2,7 +2,7 @@ { 'name': "Trim partner's email", 'summary': "", - 'author': "Ivan Yelizariev", + 'author': "IT-Projects LLC, Ivan Yelizariev", 'website': "https://yelizariev.github.io", # Categories can be used to filter modules in modules listing From 1c145588da349017858082c9f00ee16768d651a7 Mon Sep 17 00:00:00 2001 From: Ivan Yelizariev Date: Tue, 3 Nov 2015 10:22:20 +0500 Subject: [PATCH 12/14] [DOC] add license tag --- __openerp__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/__openerp__.py b/__openerp__.py index 5d1b59f..ece74ed 100644 --- a/__openerp__.py +++ b/__openerp__.py @@ -3,6 +3,7 @@ 'name': "Trim partner's email", 'summary': "", 'author': "IT-Projects LLC, Ivan Yelizariev", + 'license': 'LGPL-3', 'website': "https://yelizariev.github.io", # Categories can be used to filter modules in modules listing From ed82f0f674c1b4e73e62a1128b6e1a0ced323ae2 Mon Sep 17 00:00:00 2001 From: Ivan Yelizariev Date: Mon, 9 Nov 2015 11:26:31 +0500 Subject: [PATCH 13/14] update license to GPL-3 --- __openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__openerp__.py b/__openerp__.py index ece74ed..0633988 100644 --- a/__openerp__.py +++ b/__openerp__.py @@ -3,7 +3,7 @@ 'name': "Trim partner's email", 'summary': "", 'author': "IT-Projects LLC, Ivan Yelizariev", - 'license': 'LGPL-3', + 'license': 'GPL-3', 'website': "https://yelizariev.github.io", # Categories can be used to filter modules in modules listing From e1583cccf615e8bd3902080f910c3332af7dabfa Mon Sep 17 00:00:00 2001 From: Ildar Nasyrov Date: Sun, 27 Mar 2016 16:24:48 +0500 Subject: [PATCH 14/14] [MOV] module -- res_partner_strip_email --- README.rst => res_partner_strip_email/README.rst | 0 __init__.py => res_partner_strip_email/__init__.py | 0 .../__openerp__.py | 0 models.py => res_partner_strip_email/models.py | 0 .../static}/description/icon.png | Bin 5 files changed, 0 insertions(+), 0 deletions(-) rename README.rst => res_partner_strip_email/README.rst (100%) rename __init__.py => res_partner_strip_email/__init__.py (100%) rename __openerp__.py => res_partner_strip_email/__openerp__.py (100%) rename models.py => res_partner_strip_email/models.py (100%) rename {static => res_partner_strip_email/static}/description/icon.png (100%) diff --git a/README.rst b/res_partner_strip_email/README.rst similarity index 100% rename from README.rst rename to res_partner_strip_email/README.rst diff --git a/__init__.py b/res_partner_strip_email/__init__.py similarity index 100% rename from __init__.py rename to res_partner_strip_email/__init__.py diff --git a/__openerp__.py b/res_partner_strip_email/__openerp__.py similarity index 100% rename from __openerp__.py rename to res_partner_strip_email/__openerp__.py diff --git a/models.py b/res_partner_strip_email/models.py similarity index 100% rename from models.py rename to res_partner_strip_email/models.py diff --git a/static/description/icon.png b/res_partner_strip_email/static/description/icon.png similarity index 100% rename from static/description/icon.png rename to res_partner_strip_email/static/description/icon.png