mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[MIG] contract: Migration to 16.0
This commit is contained in:
committed by
Pedro M. Baeza
parent
c72ead9f67
commit
10e9287cb6
@@ -1,24 +1,5 @@
|
||||
<?xml version="1.0" ?>
|
||||
<odoo>
|
||||
<template
|
||||
id="mail_notification_contract"
|
||||
inherit_id="mail.mail_notification_paynow"
|
||||
primary="True"
|
||||
>
|
||||
<xpath expr="//t[@t-out='message.body']" position="after">
|
||||
<t t-raw="0" />
|
||||
<t t-if="record._name == 'contract.contract'">
|
||||
<t
|
||||
t-set="share_url"
|
||||
t-value="record._get_share_url(redirect=True, signup_partner=True, share_token=True)"
|
||||
/>
|
||||
<t
|
||||
t-set="access_url"
|
||||
t-value="is_online and share_url and base_url + share_url or ''"
|
||||
/>
|
||||
</t>
|
||||
</xpath>
|
||||
</template>
|
||||
<template id="template_contract_modification" name="Contract Modification">
|
||||
<t t-call="contract.mail_notification_contract">
|
||||
<table border="1" align="center">
|
||||
|
||||
Reference in New Issue
Block a user