From 1789873eb305463647f14c0403e2c97e4c6a8633 Mon Sep 17 00:00:00 2001 From: "Foram Katharotiya (OpenERP)" Date: Mon, 5 Nov 2012 18:39:28 +0530 Subject: [PATCH 01/33] [IMP] rename supplier_invoice_number into Partner Reference bzr revid: fka@tinyerp.com-20121105130928-vptvbbyh8w7thfc1 --- addons/account/account_invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/account_invoice.py b/addons/account/account_invoice.py index b01fc974bef..19bf90b9f2e 100644 --- a/addons/account/account_invoice.py +++ b/addons/account/account_invoice.py @@ -185,7 +185,7 @@ class account_invoice(osv.osv): _columns = { 'name': fields.char('Description', size=64, select=True, readonly=True, states={'draft':[('readonly',False)]}), 'origin': fields.char('Source Document', size=64, help="Reference of the document that produced this invoice.", readonly=True, states={'draft':[('readonly',False)]}), - 'supplier_invoice_number': fields.char('Supplier Invoice Number', size=64, help="The reference of this invoice as provided by the supplier.", readonly=True, states={'draft':[('readonly',False)]}), + 'supplier_invoice_number': fields.char('Partner Reference', size=64, help="The reference of this invoice as provided by the supplier.", readonly=True, states={'draft':[('readonly',False)]}), 'type': fields.selection([ ('out_invoice','Customer Invoice'), ('in_invoice','Supplier Invoice'), From bbaa542a59bcd371fb037d748a13944f294cf350 Mon Sep 17 00:00:00 2001 From: "Foram Katharotiya (OpenERP)" Date: Mon, 5 Nov 2012 18:54:21 +0530 Subject: [PATCH 02/33] [IMP] rename into Payment Reference instead of Partner Reference in reference field bzr revid: fka@tinyerp.com-20121105132421-alga34gdadubaz9a --- addons/account/account_invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/account_invoice.py b/addons/account/account_invoice.py index 19bf90b9f2e..9a746ba4845 100644 --- a/addons/account/account_invoice.py +++ b/addons/account/account_invoice.py @@ -195,7 +195,7 @@ class account_invoice(osv.osv): 'number': fields.related('move_id','name', type='char', readonly=True, size=64, relation='account.move', store=True, string='Number'), 'internal_number': fields.char('Invoice Number', size=32, readonly=True, help="Unique number of the invoice, computed automatically when the invoice is created."), - 'reference': fields.char('Invoice Reference', size=64, help="The partner reference of this invoice."), + 'reference': fields.char('Invoice Reference', size=64, help="The Payment Reference of this invoice."), 'reference_type': fields.selection(_get_reference_type, 'Payment Reference', required=True, readonly=True, states={'draft':[('readonly',False)]}), 'comment': fields.text('Additional Information'), From fda1c3808b76e310c8b6192d1bf5d77aeb8fd0c7 Mon Sep 17 00:00:00 2001 From: "Foram Katharotiya (OpenERP)" Date: Mon, 5 Nov 2012 19:06:06 +0530 Subject: [PATCH 03/33] [IMP] remove groups bzr revid: fka@tinyerp.com-20121105133606-p01xuppexwpcc250 --- addons/account/account_invoice_view.xml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml index 2f722d07aeb..4feb97c2f5f 100644 --- a/addons/account/account_invoice_view.xml +++ b/addons/account/account_invoice_view.xml @@ -168,10 +168,8 @@ context="{'default_customer': 0, 'search_default_supplier': 1, 'default_supplier': 1}" domain="[('supplier', '=', True)]"/> - - - - + +