Add print in domain, to see in log more information about domain warnings
This commit is contained in:
parent
e639033053
commit
58565f847c
|
@ -0,0 +1,15 @@
|
||||||
|
diff -r d5292fbad2b1 trytond/model/modelstorage.py
|
||||||
|
--- a/trytond/trytond/model/modelstorage.py Tue May 31 16:02:48 2016 +0200
|
||||||
|
+++ b/trytond/trytond/model/modelstorage.py Tue May 31 16:05:41 2016 +0200
|
||||||
|
|
||||||
|
@@ -949,6 +949,10 @@
|
||||||
|
domain,
|
||||||
|
])
|
||||||
|
if set(relations) != set(finds):
|
||||||
|
+ print "======= records:", records
|
||||||
|
+ print "=== domain:", domain
|
||||||
|
+ print "=== relations:", relations
|
||||||
|
+ print "=== find:", finds
|
||||||
|
cls.raise_user_error('domain_validation_record',
|
||||||
|
error_args=cls._get_error_args(field.name))
|
||||||
|
|
1
series
1
series
|
@ -79,6 +79,7 @@ issue5370.diff
|
||||||
issue4487.diff
|
issue4487.diff
|
||||||
sale_move_done_rounding.diff
|
sale_move_done_rounding.diff
|
||||||
issue25021002_70001.diff
|
issue25021002_70001.diff
|
||||||
|
print_domain_warning.diff
|
||||||
# Ignore next patches
|
# Ignore next patches
|
||||||
#incremental_wait_in_retries.diff
|
#incremental_wait_in_retries.diff
|
||||||
# Uncomment in calfruitos
|
# Uncomment in calfruitos
|
||||||
|
|
Loading…
Reference in New Issue