From 8390f19bb4502c72bebceaf0f8732be3a5b8433e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 23 Oct 2014 20:30:05 +0200 Subject: [PATCH] Remove bad exclamation mark in error message issue4249 --- asset.py | 4 ++-- purchase.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/asset.py b/asset.py index f9a04ee1d1..a7eb3a555c 100644 --- a/asset.py +++ b/asset.py @@ -154,10 +154,10 @@ class Asset(Workflow, ModelSQL, ModelView): super(Asset, cls).__setup__() cls._sql_constraints = [ ('invoice_line_uniq', 'UNIQUE(supplier_invoice_line)', - 'Supplier Invoice Line can be used only once on asset!'), + 'Supplier Invoice Line can be used only once on asset.'), ] cls._error_messages.update({ - 'delete_draft': 'Asset "%s" must be in draft to be deleted!', + 'delete_draft': 'Asset "%s" must be in draft to be deleted.', }) cls._transitions |= set(( ('draft', 'running'), diff --git a/purchase.py b/purchase.py index 74bca0d600..b22bc098ee 100644 --- a/purchase.py +++ b/purchase.py @@ -14,7 +14,7 @@ class PurchaseLine: super(PurchaseLine, cls).__setup__() cls._error_messages.update({ 'missing_account_asset': ('It misses ' - 'an "Account Asset" on product "%s"!'), + 'an "Account Asset" on product "%s".'), }) def get_invoice_line(self, invoice_type):