mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] contract: Improve code to show recurring_rule_type from contract line in portal
This commit is contained in:
@@ -256,28 +256,9 @@
|
|||||||
<span
|
<span
|
||||||
t-field="line.recurring_interval"
|
t-field="line.recurring_interval"
|
||||||
/>
|
/>
|
||||||
<t
|
<span
|
||||||
t-if="line.recurring_rule_type=='daily'"
|
t-field="line.recurring_rule_type"
|
||||||
>Day(s)</t>
|
/>
|
||||||
<t
|
|
||||||
t-if="line.recurring_rule_type=='weekly'"
|
|
||||||
>Week(s)</t>
|
|
||||||
<t
|
|
||||||
t-if="line.recurring_rule_type=='monthly'"
|
|
||||||
>Month(s)</t>
|
|
||||||
<t
|
|
||||||
t-if="line.recurring_rule_type=='monthlylastday'"
|
|
||||||
>Month(s) last
|
|
||||||
day</t>
|
|
||||||
<t
|
|
||||||
t-if="line.recurring_rule_type=='quarterly'"
|
|
||||||
>Quarter(s)</t>
|
|
||||||
<t
|
|
||||||
t-if="line.recurring_rule_type=='semesterly'"
|
|
||||||
>Semester(s)</t>
|
|
||||||
<t
|
|
||||||
t-if="line.recurring_rule_type=='yearly'"
|
|
||||||
>Year(s)</t>
|
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
name="td_recurring_next_date"
|
name="td_recurring_next_date"
|
||||||
|
|||||||
Reference in New Issue
Block a user