changeset f73e371fa03a in modules/account_invoice_line_standalone:default
details:
https://hg.tryton.org/modules/account_invoice_line_standalone?cmd=changeset;node=f73e371fa03a
description:
Add level argument to ModelView._view_look_dom_arch
issue8293
diffstat:
invoice.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r f36ede346b43 -r f73e371fa03a invoice.py
--- a/invoice.py Mon May 06 14:56:25 2019 +0200
+++ b/invoice.py Wed Aug 07 17:10:58 2019 +0200
@@ -36,10 +36,10 @@
__name__ = 'account.invoice.line'
@classmethod
- def _view_look_dom_arch(cls, tree, type, field_children=None):
+ def _view_look_dom_arch(cls, tree, type, field_children=None, level=0):
if type == 'form' and Transaction().context.get('standalone'):
tree_root = tree.getroottree().getroot()
if tree_root.get('cursor') == 'product':
tree_root.set('cursor', 'party')
return super(InvoiceLine, cls)._view_look_dom_arch(tree, type,
- field_children=field_children)
+ field_children=field_children, level=level)