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):