From 6fa8f5e3ad8c6466ce07c1ab5e439b6df267de13 Mon Sep 17 00:00:00 2001 From: "qdp-launchpad@tinyerp.com" <> Date: Mon, 27 Sep 2010 17:54:52 +0200 Subject: [PATCH 001/111] [ADD] adding test file bzr revid: qdp-launchpad@tinyerp.com-20100927155452-1lm26dw35d5yqu7g --- addons/test.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 addons/test.txt diff --git a/addons/test.txt b/addons/test.txt new file mode 100644 index 00000000000..e69de29bb2d From 1e61d62f33df989b279b9e1453fdb253c63d5f64 Mon Sep 17 00:00:00 2001 From: "qdp-launchpad@tinyerp.com" <> Date: Mon, 27 Sep 2010 17:55:47 +0200 Subject: [PATCH 002/111] testing the buildbot engine bzr revid: qdp-launchpad@tinyerp.com-20100927155547-ec68n3nnb0010hk1 --- addons/test.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/test.txt b/addons/test.txt index e69de29bb2d..493021b1c9e 100644 --- a/addons/test.txt +++ b/addons/test.txt @@ -0,0 +1 @@ +this is a test file From 53a328b986598ed378cae439c26033ba331d4021 Mon Sep 17 00:00:00 2001 From: "qdp-launchpad@tinyerp.com" <> Date: Mon, 27 Sep 2010 17:56:07 +0200 Subject: [PATCH 003/111] testing the buildbot engine bzr revid: qdp-launchpad@tinyerp.com-20100927155607-v2q1apkb8yqocgz8 --- addons/test.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/test.txt b/addons/test.txt index 493021b1c9e..c4a0981cf7d 100644 --- a/addons/test.txt +++ b/addons/test.txt @@ -1 +1,4 @@ this is a test file + + +the purpose is to test the buidlbot engine From 25e74162e091bd98e3bb840fb6a8df4b4cde24ce Mon Sep 17 00:00:00 2001 From: "qdp-launchpad@tinyerp.com" <> Date: Mon, 27 Sep 2010 17:56:31 +0200 Subject: [PATCH 004/111] testing the buildbot engine bzr revid: qdp-launchpad@tinyerp.com-20100927155631-07yq93k3n193yj85 --- addons/test.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/test.txt b/addons/test.txt index c4a0981cf7d..b7f66d31488 100644 --- a/addons/test.txt +++ b/addons/test.txt @@ -1,4 +1,5 @@ -this is a test file - +this is a test file: the purpose is to test the buidlbot engine + +how to do? From 6a851d7b865762a5ed636195ffdf01d5b90118a5 Mon Sep 17 00:00:00 2001 From: "qdp-launchpad@tinyerp.com" <> Date: Mon, 27 Sep 2010 17:57:23 +0200 Subject: [PATCH 005/111] testing the buildbot engine bzr revid: qdp-launchpad@tinyerp.com-20100927155723-vrh5jeawwx9x12qi --- addons/test.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/test.txt b/addons/test.txt index b7f66d31488..619a10f6ffc 100644 --- a/addons/test.txt +++ b/addons/test.txt @@ -1,5 +1,6 @@ this is a test file: - +------------------- the purpose is to test the buidlbot engine how to do? +we simply gonna make several commit in a local branch, and also several commits in the main branch, then merge and see what happens From 91ace29a8aa15492de8857b4a2f9f0bba6de869e Mon Sep 17 00:00:00 2001 From: "rpa (Open ERP)" Date: Tue, 28 Sep 2010 10:37:11 +0530 Subject: [PATCH 006/111] [FIX]: project_long_term: Fixed pylint warnings bzr revid: rpa@tinyerp.com-20100928050711-x7czhl7jwku3s8kl --- addons/project_long_term/project_long_term.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/addons/project_long_term/project_long_term.py b/addons/project_long_term/project_long_term.py index a535015d067..dba58e1789f 100644 --- a/addons/project_long_term/project_long_term.py +++ b/addons/project_long_term/project_long_term.py @@ -277,7 +277,6 @@ class project_phase(osv.osv): context = {} resource_pool = self.pool.get('resource.resource') uom_pool = self.pool.get('product.uom') - phase_resource = False if context is None: context = {} default_uom_id = self._get_default_uom_id(cr, uid) @@ -290,9 +289,6 @@ class project_phase(osv.osv): duration = str(avg_hours) + 'H' # Create a new project for each phase def Project(): - start = start_date - minimum_time_unit = 1 - resource = phase_resource_obj # If project has working calendar then that # else the default one would be considered if calendar_id: From 241136d041bac42fb33ba65d36888f9519ae96a0 Mon Sep 17 00:00:00 2001 From: "rpa (Open ERP)" Date: Tue, 28 Sep 2010 12:34:04 +0530 Subject: [PATCH 007/111] [IMP]: crm: Added option in send email wizard to send email in html formatting bzr revid: rpa@tinyerp.com-20100928070404-48mvpmja5e05y6hd --- addons/crm/wizard/crm_send_email.py | 10 ++++++++-- addons/crm/wizard/crm_send_email_view.xml | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/addons/crm/wizard/crm_send_email.py b/addons/crm/wizard/crm_send_email.py index 13dae7b35a1..de4d616b67b 100644 --- a/addons/crm/wizard/crm_send_email.py +++ b/addons/crm/wizard/crm_send_email.py @@ -57,6 +57,7 @@ class crm_send_new_email(osv.osv_memory): 'body': fields.text('Message Body', required=True), 'state': fields.selection(AVAILABLE_STATES, string='Set New State To', required=True), 'attachment_ids' : fields.one2many('crm.send.mail.attachment', 'wizard_id'), + 'html': fields.boolean('HTML formatting?', help="Select this if you want to send email with HTML formatting."), } def action_send(self, cr, uid, ids, context=None): @@ -79,6 +80,7 @@ class crm_send_new_email(osv.osv_memory): (x.name, base64.decodestring(x.binary)) for x in obj.attachment_ids ] + subtype = 'plain' message_id = None ref_id = None @@ -119,6 +121,9 @@ class crm_send_new_email(osv.osv_memory): if message_id: x_headers['References'] = "%s" % (message_id) + if obj.html: + subtype = 'html' + flag = tools.email_send( email_from, emails, @@ -126,13 +131,14 @@ class crm_send_new_email(osv.osv_memory): body, email_cc=email_cc, attach=attach, + subtype=subtype, reply_to=obj.reply_to, openobject_id=str(case.id), x_headers=x_headers ) -# if not flag: -# raise osv.except_osv(_('Error!'), _('Unable to send mail. Please check SMTP is configured properly.')) + if not flag: + raise osv.except_osv(_('Error!'), _('Unable to send mail. Please check SMTP is configured properly.')) msg_dict = {'new': 'Send', 'reply': 'Reply', 'forward': 'Forward'} case_pool.history(cr, uid, [case], _(msg_dict[context.get('mail', 'new')]), history=True, \ diff --git a/addons/crm/wizard/crm_send_email_view.xml b/addons/crm/wizard/crm_send_email_view.xml index 91a934da0e0..ebbb72592f2 100644 --- a/addons/crm/wizard/crm_send_email_view.xml +++ b/addons/crm/wizard/crm_send_email_view.xml @@ -16,6 +16,7 @@ + From 1f3a10eb6d83a45eba69a8f130c0223cb93eecf3 Mon Sep 17 00:00:00 2001 From: "Harry (OpenERP)" Date: Tue, 28 Sep 2010 15:57:22 +0530 Subject: [PATCH 008/111] [IMP]project: open graph view on project dashboard bzr revid: hmo@tinyerp.com-20100928102722-ao4zf9ra7l4r1k8p --- addons/project/report/project_report_view.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/addons/project/report/project_report_view.xml b/addons/project/report/project_report_view.xml index 1ae5adc489a..9521d321000 100644 --- a/addons/project/report/project_report_view.xml +++ b/addons/project/report/project_report_view.xml @@ -155,7 +155,7 @@ project.vs.hours tree - + @@ -177,7 +177,7 @@ - Project and remaining hours + Remaining Hours Per Project project.vs.hours form graph,tree @@ -187,8 +187,8 @@ - tree - + graph + @@ -262,7 +262,7 @@ - My projects: Planned Vs Total hours + Projects: Planned Vs Total hours project.vs.hours form graph,tree @@ -272,8 +272,8 @@ - tree - + graph + From 8b9da6843593be7a0ba0c62a11c4d61658baef34 Mon Sep 17 00:00:00 2001 From: mtr Date: Tue, 28 Sep 2010 17:16:24 +0530 Subject: [PATCH 009/111] [IMP] sale:-wizard in the action of list view and changes in the yaml bzr revid: mtr@mtr-20100928114624-s4zukca2g5ea0dt8 --- addons/sale/sale.py | 7 ----- addons/sale/sale_view.xml | 12 ++++----- addons/sale/test/so_make_line_invoice.yml | 32 ++++++++++++++--------- addons/sale/wizard/sale_line_invoice.xml | 11 ++++++++ addons/sale/wizard/sale_make_invoice.xml | 12 ++++++++- 5 files changed, 48 insertions(+), 26 deletions(-) diff --git a/addons/sale/sale.py b/addons/sale/sale.py index b6606a61215..b1ae33d2c43 100644 --- a/addons/sale/sale.py +++ b/addons/sale/sale.py @@ -841,13 +841,6 @@ class sale_order_line(osv.osv): 'product_packaging': False } - def create_sale_order_line_invoice(self, cr, uid, ids, context=None): - if context is None: - context = {} - context.update({'active_ids' : ids,'active_id' : ids}) - self.pool.get('sale.order.line.make.invoice').make_invoices(cr, uid, ids, context=context) - return True - def invoice_line_create(self, cr, uid, ids, context=None): if context is None: context = {} diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml index b8a8b64e7ce..1c7bf048415 100644 --- a/addons/sale/sale_view.xml +++ b/addons/sale/sale_view.xml @@ -157,10 +157,10 @@