mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] contract: Use _prepare_home_portal_values() function.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user