changeset 0c8a414e80c8 in modules/sale:default details: https://hg.tryton.org/modules/sale?cmd=changeset&node=0c8a414e80c8 description: Call super() method of view_attributes
issue10151 review349551002 diffstat: sale.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (21 lines): diff -r f51789ea2880 -r 0c8a414e80c8 sale.py --- a/sale.py Mon Apr 05 16:24:13 2021 +0200 +++ b/sale.py Fri Apr 09 10:52:03 2021 +0200 @@ -702,7 +702,7 @@ @classmethod def view_attributes(cls): - attributes = [ + attributes = super().view_attributes() + [ ('/form//field[@name="comment"]', 'spell', Eval('party_lang')), ('/tree', 'visual', If(Eval('state') == 'cancelled', 'muted', '')), ('/tree/field[@name="invoice_state"]', 'visual', @@ -1715,7 +1715,7 @@ @classmethod def view_attributes(cls): - return [ + return super().view_attributes() + [ ('/form//field[@name="note"]|/form//field[@name="description"]', 'spell', Eval('_parent_sale', {}).get('party_lang'))]