[IMP]account:field na me changed partner to supplier
authorKhushboo Bhatt (Open ERP) <kbh@tinyerp.com>
Mon, 22 Oct 2012 05:19:31 +0000 (10:49 +0530)
committerKhushboo Bhatt (Open ERP) <kbh@tinyerp.com>
Mon, 22 Oct 2012 05:19:31 +0000 (10:49 +0530)
bzr revid: kbh@tinyerp.com-20121022051931-ocw837yy2kmzduwh

addons/account/account_invoice.py

index 57f1647..2e0c584 100644 (file)
@@ -217,7 +217,7 @@ class account_invoice(osv.osv):
         'date_due': fields.date('Due Date', readonly=True, states={'draft':[('readonly',False)]}, select=True,
             help="If you use payment terms, the due date will be computed automatically at the generation "\
                 "of accounting entries. If you keep the payment term and the due date empty, it means direct payment. The payment term may compute several due dates, for example 50% now, 50% in one month."),
-        'partner_id': fields.many2one('res.partner', 'Partner', change_default=True, readonly=True, required=True, states={'draft':[('readonly',False)]}),
+        'partner_id': fields.many2one('res.partner', 'Supplier', change_default=True, readonly=True, required=True, states={'draft':[('readonly',False)]}),
         'payment_term': fields.many2one('account.payment.term', 'Payment Term',readonly=True, states={'draft':[('readonly',False)]},
             help="If you use payment terms, the due date will be computed automatically at the generation "\
                 "of accounting entries. If you keep the payment term and the due date empty, it means direct payment. "\