1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/project_account_budget/views/project_update_templates.xml
2024-12-10 09:04:09 +07:00

11 lines
687 B
XML

<?xml version="1.0"?>
<odoo>
<template id="project_update_default_description" inherit_id="project.project_update_default_description">
<xpath expr="//div[@name='milestone']" position="before">
<div name="budget" t-if="project.budget and project.analytic_account_id and env.user.has_group('account.group_account_readonly')">
<t><t t-out="budget['percentage']"/>% (<t t-out="budget['spent_budget']"/>) of the <t t-out="budget['amount']"/> budget has been spent. <t t-out="budget['remaining_budget_percentage']"/>% (<t t-out="budget['remaining_budget']"/>) of the budget is remaining.</t>
</div>
</xpath>
</template>
</odoo>