From 304605a8ce49e60c317fbff4ca042d3d132cdeda Mon Sep 17 00:00:00 2001 From: "JMA (OpenERP)" Date: Tue, 12 Oct 2010 17:02:28 +0530 Subject: [PATCH 1/9] [FIX] sale : navigation to associated picking from sale lp bug: https://launchpad.net/bugs/653948 fixed bzr revid: jma@tinyerp.com-20101012113228-qln7mzb4y6a6fki1 --- addons/sale/stock_view.xml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/addons/sale/stock_view.xml b/addons/sale/stock_view.xml index 6b3c0e2c684..73a289af503 100644 --- a/addons/sale/stock_view.xml +++ b/addons/sale/stock_view.xml @@ -13,6 +13,29 @@ + + + + + tree + + + + + + form + + + + + + From 110e5ac904c3c5bc337eebd68ef553eadc32fa63 Mon Sep 17 00:00:00 2001 From: "JMA (OpenERP)" Date: Tue, 12 Oct 2010 18:16:16 +0530 Subject: [PATCH 2/9] [FIX] sale : Corrections bzr revid: jma@tinyerp.com-20101012124616-ab7ia1hc0n5vzdqa --- addons/sale/stock_view.xml | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/addons/sale/stock_view.xml b/addons/sale/stock_view.xml index 2739c8dfdfc..dddcad07932 100644 --- a/addons/sale/stock_view.xml +++ b/addons/sale/stock_view.xml @@ -13,8 +13,6 @@ -<<<<<<< TREE -======= stock.move.form stock.move @@ -27,7 +25,6 @@ ->>>>>>> MERGE-SOURCE -<<<<<<< TREE - -======= ->>>>>>> MERGE-SOURCE tree -<<<<<<< TREE - -======= ->>>>>>> MERGE-SOURCE -<<<<<<< TREE - -======= ->>>>>>> MERGE-SOURCE form -<<<<<<< TREE - -======= ->>>>>>> MERGE-SOURCE -<<<<<<< TREE - - -======= ->>>>>>> MERGE-SOURCE From 7c63402f9259ac9681e9886f38c8df81ab9b3e3f Mon Sep 17 00:00:00 2001 From: "RME (OpenERP)" Date: Wed, 13 Oct 2010 16:58:27 +0530 Subject: [PATCH 3/9] [FIX] account voucher : correction - form view not open bzr revid: rme@tinyerp.com-20101013112827-p6smqsai4sk7bzsz --- addons/account_voucher/voucher_payment_receipt_view.xml | 3 --- 1 file changed, 3 deletions(-) diff --git a/addons/account_voucher/voucher_payment_receipt_view.xml b/addons/account_voucher/voucher_payment_receipt_view.xml index 8169cac31e3..cf3f75c1d49 100644 --- a/addons/account_voucher/voucher_payment_receipt_view.xml +++ b/addons/account_voucher/voucher_payment_receipt_view.xml @@ -181,9 +181,6 @@ -
-
From 6cfd6625cc4a63ea13d348e0daa7527f65a8c9c9 Mon Sep 17 00:00:00 2001 From: "DHS (OpenERP)" Date: Wed, 20 Oct 2010 19:13:59 +0530 Subject: [PATCH 4/9] [FIX] purchase_requition: Corrected Datetime Computing in create_order() lp bug: https://launchpad.net/bugs/663662 fixed bzr revid: dhs@tinyerp.com-20101020134359-4l6eh5bxud3fsq0v --- .../wizard/purchase_requisition_partner.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/addons/purchase_requisition/wizard/purchase_requisition_partner.py b/addons/purchase_requisition/wizard/purchase_requisition_partner.py index 2ae3ae795e9..f32e8331784 100644 --- a/addons/purchase_requisition/wizard/purchase_requisition_partner.py +++ b/addons/purchase_requisition/wizard/purchase_requisition_partner.py @@ -86,14 +86,19 @@ class purchase_requisition_partner(osv.osv_memory): uom_id = line.product_id.uom_po_id and line.product_id.uom_po_id.id or False newdate = datetime.strptime(tender.date_start, '%Y-%m-%d %H:%M:%S') newdate = newdate - relativedelta(days=company.po_lead) - delay = partner_rec and partner_rec.delay or False - newdate = newdate -(delay or datetime.strptime(tender.date_start, '%Y-%m-%d %H:%M:%S') ) + delay = partner_rec and partner_rec.delay or 0.0 + newdate = newdate -(delay and relativedelta(days=delay) or datetime.strptime(tender.date_start, '%Y-%m-%d %H:%M:%S') ) partner = partner_rec and partner_rec.name or supplier_data pricelist_id = partner.property_product_pricelist_purchase and partner.property_product_pricelist_purchase.id or False price = pricelist_obj.price_get(cr, uid, [pricelist_id], line.product_id.id, line.product_qty, False, {'uom': uom_id})[pricelist_id] product = prod_obj.browse(cr, uid, line.product_id.id, context=context) location_id = self.pool.get('stock.warehouse').read(cr, uid, [tender.warehouse_id.id], ['lot_input_id'])[0]['lot_input_id'][0] + if not newdate: + date_planned = datetime.strptime(tender.date_start, '%Y-%m-%d %H:%M:%S') + else: + date_planned = newdate.strftime('%Y-%m-%d %H:%M:%S') + purchase_order_line= { 'name': product.partner_ref, 'product_qty': line.product_qty, From ee6cdce925f885bc6a145f5a668548d4fb6286b1 Mon Sep 17 00:00:00 2001 From: "JMA (OpenERP)" Date: Thu, 21 Oct 2010 11:54:21 +0530 Subject: [PATCH 5/9] [FIX] account : Unicode corrections for account journal lp bug: https://launchpad.net/bugs/664288 fixed bzr revid: jma@tinyerp.com-20101021062421-29zidtfe74afw31i --- addons/account/wizard/account_move_journal.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/account/wizard/account_move_journal.py b/addons/account/wizard/account_move_journal.py index 4c6784e03e9..5756fed4264 100644 --- a/addons/account/wizard/account_move_journal.py +++ b/addons/account/wizard/account_move_journal.py @@ -21,6 +21,7 @@ from osv import osv from tools.translate import _ +import tools class account_move_journal(osv.osv_memory): _name = "account.move.journal" @@ -100,7 +101,7 @@ class account_move_journal(osv.osv_memory):