-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] installment: created a module and added functionalities
Created a module for managing installments, including a cron job for invoices. Added a settings section specifically for installments. Implemented a wizard for adding EMI (Equated Monthly Installments). Introduced a button to redirect to the document module. Implemented an invoice schedule that triggers when the delay process exceeds the specified days. Added a smart button for document upload requests. Developed a wizard for document requests related to sales orders.
- Loading branch information
Showing
20 changed files
with
895 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,91 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<template id="report_patient"> | ||
<t t-call="web.external_layout"> | ||
<main> | ||
<h1>Hello</h1> | ||
</main> | ||
<template id="dental_patient_report_template"> | ||
<t t-foreach="docs" t-as="record"> | ||
<t t-call="web.html_container"> | ||
<t t-call="web.external_layout"> | ||
<div class="page"> | ||
<h2 class="text-center"> | ||
<strong>Patient Name: </strong> | ||
<span t-field="record.name"/> | ||
</h2> | ||
<div class="mt-4"> | ||
<h3>Guarantor Information</h3> | ||
<p> | ||
<strong>Guarantor:</strong> | ||
<span t-field="record.guarantor_id"/> | ||
</p> | ||
<p> | ||
<strong>Phone:</strong> | ||
<span t-field="record.guarantor_phone"/> | ||
</p> | ||
<p> | ||
<strong>Email:</strong> | ||
<span t-field="record.guarantor_email"/> | ||
</p> | ||
<p> | ||
<strong>Company:</strong> | ||
<span t-field="record.guarantor_company"/> | ||
</p> | ||
</div> | ||
<div class="mt-4"> | ||
<h3>Medical Aid Information</h3> | ||
<p> | ||
<strong>Medical Aid:</strong> | ||
<span t-field="record.medical_aid_id"/> | ||
</p> | ||
<p> | ||
<strong>Plan:</strong> | ||
<span t-field="record.medical_aid_plan"/> | ||
</p> | ||
<p> | ||
<strong>Medical Aid Number:</strong> | ||
<span t-field="record.medical_aid_number"/> | ||
</p> | ||
<p> | ||
<strong>Main Member Code:</strong> | ||
<span t-field="record.member_code"/> | ||
</p> | ||
<p> | ||
<strong>Dependant Code:</strong> | ||
<span t-field="record.dependant_code"/> | ||
</p> | ||
</div> | ||
<div class="mt-4"> | ||
<h3>Emergency Contact</h3> | ||
<p> | ||
<strong>Contact:</strong> | ||
<span t-field="record.emergency_contact_id"/> | ||
</p> | ||
<p> | ||
<strong>Phone:</strong> | ||
<span t-field="record.emergency_contact_phone"/> | ||
</p> | ||
</div> | ||
<div class="mt-4"> | ||
<h3>Medical Information</h3> | ||
<p> | ||
<strong>Chronic Conditions:</strong> | ||
<t t-foreach="record.chronic_conditions_ids" t-as="condition"> | ||
<span class="badge bg-warning" t-field="condition.name"/> | ||
</t> | ||
</p> | ||
<p> | ||
<strong>Allergies:</strong> | ||
<t t-foreach="record.allergy_ids" t-as="allergy"> | ||
<span class="badge bg-danger" t-field="allergy.name"/> | ||
</t> | ||
</p> | ||
<p> | ||
<strong>Habits/Substance Abuse:</strong> | ||
<t t-foreach="record.habit_ids" t-as="habit"> | ||
<span class="badge bg-info" t-field="habit.name"/> | ||
</t> | ||
</p> | ||
</div> | ||
</div> | ||
</t> | ||
</t> | ||
</t> | ||
</template> | ||
</odoo> | ||
</odoo> |
File renamed without changes
Oops, something went wrong.