Remove bad exclamation mark in error message
issue4249
This commit is contained in:
1 parent
438f076e9e
commit
8390f19bb4
2 files changed
+3
-3
No files matched your search
@@ -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'),
|
||||
|
||||
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user