Skip to content
Snippets Groups Projects
Commit 1ff2935b authored by Théo - Le Filament's avatar Théo - Le Filament
Browse files

[FIX] better Xpath expression

parent 14a86c6f
No related branches found
No related tags found
1 merge request!1module creation
...@@ -3,6 +3,6 @@ ...@@ -3,6 +3,6 @@
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). --> License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo> <odoo>
<template id="report_saleorder_document" inherit_id="sale.report_saleorder_document"> <template id="report_saleorder_document" inherit_id="sale.report_saleorder_document">
<xpath expr="//div[@id='informations']/div[4]" position="replace"/> <xpath expr="//div[@id='informations']//div[@t-if='doc.user_id.name']" position="replace"/>
</template> </template>
</odoo> </odoo>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment