[IMP] contract: Use _prepare_home_portal_values() function.

This commit is contained in:
Víctor Martínez
2022-09-02 17:08:37 +02:00
parent 46b67d34c5
commit a148e91cb5
2 changed files with 16 additions and 9 deletions

View File

@@ -31,10 +31,10 @@
priority="30"
>
<xpath expr="//div[hasclass('o_portal_docs')]" position="inside">
<t t-call="portal.portal_docs_entry" t-if="contract_count">
<t t-call="portal.portal_docs_entry">
<t t-set="title">Contracts</t>
<t t-set="url" t-value="'/my/contracts'" />
<t t-set="count" t-value="contract_count" />
<t t-set="placeholder_count" t-value="'contract_count'" />
</t>
</xpath>
</template>