When the obligation level for import is none, the type of the DEB is automatically set to export. [FIX] country -> country_id type='string' -> type='char' (v8 only accepts char) Change "error msg in raise", because v8 displays this to the user Remove statistical_pricelist_id from demo data Harmonize labels of button between DEB and DES

This commit is contained in:
Alexis de Lattre
2014-10-30 13:30:41 +01:00
committed by Alexis de Lattre
parent 627105be9d
commit 2e3f94bba0
2 changed files with 10 additions and 8 deletions

View File

@@ -60,7 +60,8 @@ class res_company(orm.Model):
% (user.name))
return True
_constraints = [
(_check_intrastat_remind_users, "error msg in raise",
['intrastat_remind_user_ids']),
]
_constraints = [(
_check_intrastat_remind_users,
"Wrong configuration of the Users Receiving the Intrastat Reminder",
['intrastat_remind_user_ids']
)]

View File

@@ -56,7 +56,8 @@ class product_template(orm.Model):
% (product.name, product.type)))
return True
_constraints = [
(_check_accessory_cost, "Error msg is in raise",
['is_accessory_cost', 'type'])
]
_constraints = [(
_check_accessory_cost,
"Wrong configuration of the product",
['is_accessory_cost', 'type']
)]