mirror of
https://github.com/NaN-tic/trytond-patches.git
synced 2023-12-14 06:03:03 +01:00
Fixed an issue with patch issue6330
This commit is contained in:
parent
efa954a2c0
commit
240f7acc8e
|
@ -7,6 +7,7 @@ diff -r 196f01a49aa0 trytond/trytond/model/modelview.py
|
|||
continue
|
||||
- field = cls._fields[fname]
|
||||
- relation = get_relation(field)
|
||||
+ relation = None
|
||||
+ try:
|
||||
+ field = cls._fields[fname]
|
||||
+ relation = get_relation(field)
|
||||
|
|
Loading…
Reference in a new issue