How to use xpath to search conditional statement in qweb?
i want to inherit the xml file and modify it using xpath. I want to replace a section under this condition statement below:
<table class = "table table-sm mt48" t-if = "o.move_line_ids and o.state == 'done'">
i have try this statement but it doesn't work.
<xpath expr = "// div [hasclass ('page')] // table [@ class = 'table table-sm mt48'] //table[@t-if="o.move_line_ids and o.state=='done'"]// tbody" position = "replace">
My error msg is stated below:
lxml.etree.XMLSyntaxError: attributes construct error, line 37, column 58
Thanks your help.