mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
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:
committed by
Alexis de Lattre
parent
627105be9d
commit
2e3f94bba0
@@ -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']
|
||||
)]
|
||||
|
||||
@@ -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']
|
||||
)]
|
||||
|
||||
Reference in New Issue
Block a user