Hi,
I just started with odoo 10 community. I was working on an external footer for my company documents. I wanted to change the default footer odoo created for me based on my company info.
I wanted to remove the following code:
<ul t-if="not company.custom_footer" class="list-inline" name="financial_infos">
<li t-if="company.vat">VAT No.: <span t-field="company.vat"/>&bull;</li>
<li t-if="company.bank_ids[0].acc_number"> Account: <span t-field="company.bank_ids[0].acc_number"/></li>
</ul>
Once the code was removed and I tried to save the template I got the following error:
Error while validating constraintElement '<xpath expr="//ul[@name='financial_infos']">' cannot be located in parent viewError context:View `external_layout_footer`[view_id: 437, xml_id: account.external_layout_footer, model: n/a, parent_id: 256]
I don't know what to do about it. Any thoughts?