From 4532ca61966be8ca135601fa010953d11fbb640b Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Thu, 6 Aug 2015 12:19:21 +0200 Subject: [PATCH] [IMP] account: help message Prof-forma status message was not very clear. Courtesy of Charline Louis --- addons/account/models/account_invoice.py | 2 +- addons/account_voucher/account_voucher.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/account/models/account_invoice.py b/addons/account/models/account_invoice.py index ec452a2c7fb..5f47ace3562 100644 --- a/addons/account/models/account_invoice.py +++ b/addons/account/models/account_invoice.py @@ -213,7 +213,7 @@ class AccountInvoice(models.Model): ], string='Status', index=True, readonly=True, default='draft', track_visibility='onchange', copy=False, help=" * The 'Draft' status is used when a user is encoding a new and unconfirmed Invoice.\n" - " * The 'Pro-forma' when invoice is in Pro-forma status, invoice does not have an invoice number.\n" + " * The 'Pro-forma' status is used the invoice does not have an invoice number.\n" " * The 'Open' status is used when user create invoice, an invoice number is generated. Its in open status till user does not pay invoice.\n" " * The 'Paid' status is set automatically when the invoice is paid. Its related journal entries may or may not be reconciled.\n" " * The 'Cancelled' status is used when user cancel invoice.") diff --git a/addons/account_voucher/account_voucher.py b/addons/account_voucher/account_voucher.py index 2bcaaebefb8..629e55eec6d 100644 --- a/addons/account_voucher/account_voucher.py +++ b/addons/account_voucher/account_voucher.py @@ -78,10 +78,10 @@ class AccountVoucher(models.Model): ('proforma', 'Pro-forma'), ('posted', 'Posted') ], 'Status', readonly=True, track_visibility='onchange', copy=False, default='draft', - help=' * The \'Draft\' status is used when a user is encoding a new and unconfirmed Voucher. \ - \n* The \'Pro-forma\' when voucher is in Pro-forma status,voucher does not have an voucher number. \ - \n* The \'Posted\' status is used when user create voucher,a voucher number is generated and voucher entries are created in account \ - \n* The \'Cancelled\' status is used when user cancel voucher.') + help=" * The 'Draft' status is used when a user is encoding a new and unconfirmed Voucher.\n" + " * The 'Pro-forma' status is used when the voucher does not have a voucher number.\n" + " * The 'Posted' status is used when user create voucher,a voucher number is generated and voucher entries are created in account.\n" + " * The 'Cancelled' status is used when user cancel voucher.") reference = fields.Char('Bill Reference', readonly=True, states={'draft': [('readonly', False)]}, help="The partner reference of this document.", copy=False) amount = fields.Monetary(string='Total', store=True, readonly=True, compute='_compute_total')