96 changed files with 3333 additions and 2507 deletions
@ -1,13 +1,14 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<data noupdate="1"> |
|||
<!-- Data file for the follow-up lines--> |
|||
<record model="followup.line" id="followup_line_id" > |
|||
<!-- Data file for the follow-up lines--> |
|||
<record model="followup.line" id="followup_line_id"> |
|||
<field name="name">Reminder</field> |
|||
<field name="delay">5</field> |
|||
</record> |
|||
<record model="account.followup" id="followup"> |
|||
<field name="followup_line_ids" eval="[(6,0,[ref('followup_line_id')])]"/> |
|||
<field name="followup_line_ids" |
|||
eval="[(6,0,[ref('followup_line_id')])]"/> |
|||
</record> |
|||
</data> |
|||
</odoo> |
|||
|
@ -1,7 +1,11 @@ |
|||
## Module <base_accounting_kit> |
|||
|
|||
#### 06.11.2022 |
|||
#### Version 16.0.1.0.0 |
|||
#### 06.11.2023 |
|||
#### Version 17.0.1.0.0 |
|||
#### ADD |
|||
- Initial commit for Odoo 17 Full Accounting Kit |
|||
|
|||
#### 15.01.2024 |
|||
#### Version 17.0.1.0.1 |
|||
##### UPDT |
|||
- Bug Fix-Resolved the alignment issues. |
|||
|
@ -1,108 +1,167 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
|
|||
<template id="report_cash_book"> |
|||
<t t-call="web.html_container"> |
|||
<t t-set="data_report_margin_top" t-value="12"/> |
|||
<t t-set="data_report_header_spacing" t-value="9"/> |
|||
<t t-set="data_report_dpi" t-value="110"/> |
|||
|
|||
<t t-call="web.internal_layout"> |
|||
<div class="page"> |
|||
<h2><span t-esc="env.company.name"/>: Cash Book Report</h2> |
|||
|
|||
<div class="row"> |
|||
<div class="col-xs-4" style="width:40%;"> |
|||
<strong>Journals:</strong> |
|||
<p t-esc="', '.join([ lt or '' for lt in print_journal ])"/> |
|||
<template id="report_cash_book"> |
|||
<t t-call="web.html_container"> |
|||
<t t-set="data_report_margin_top" t-value="12"/> |
|||
<t t-set="data_report_header_spacing" t-value="9"/> |
|||
<t t-set="data_report_dpi" t-value="110"/> |
|||
<t t-call="web.internal_layout"> |
|||
<div class="page"> |
|||
<h2><span t-esc="env.company.name"/>: Cash Book Report |
|||
</h2> |
|||
<div class="row"> |
|||
<div class="col-xs-4" style="width:40%;"> |
|||
<strong>Journals:</strong> |
|||
<p t-esc="', '.join([ lt or '' for lt in |
|||
print_journal ])"/> |
|||
</div> |
|||
<div class="col-xs-4" style="width:30%;"> |
|||
<strong>Display Account</strong> |
|||
<p> |
|||
<span t-if="data['display_account'] == 'all'"> |
|||
All accounts' |
|||
</span> |
|||
<span t-if="data['display_account'] == |
|||
'movement'"> |
|||
With movements |
|||
</span> |
|||
<span t-if="data['display_account'] == |
|||
'not_zero'"> |
|||
With balance not equal to zero |
|||
</span> |
|||
</p> |
|||
</div> |
|||
<div class="col-xs-4" style="width:30%;"> |
|||
<strong>Target Moves:</strong> |
|||
<p t-if="data['target_move'] == 'all'">All Entries |
|||
</p> |
|||
<p t-if="data['target_move'] == 'posted'">All Posted |
|||
Entries |
|||
</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-xs-4" style="width:30%;"> |
|||
<strong>Display Account</strong> |
|||
<p> |
|||
<span t-if="data['display_account'] == 'all'">All accounts'</span> |
|||
<span t-if="data['display_account'] == 'movement'">With movements</span> |
|||
<span t-if="data['display_account'] == 'not_zero'">With balance not equal to zero</span> |
|||
</p> |
|||
<br/> |
|||
<div class="row"> |
|||
<div style="width:70%;"> |
|||
<strong>Sorted By:</strong> |
|||
<p t-if="data['sortby'] == 'sort_date'">Date</p> |
|||
<p t-if="data['sortby'] == 'sort_journal_partner'"> |
|||
Journal and Partner |
|||
</p> |
|||
</div> |
|||
<div style="width:30%;"> |
|||
<t t-if="data['date_from']"> |
|||
<strong>Date from :</strong> |
|||
<span t-esc="data['date_from']"/> |
|||
<br/> |
|||
</t> |
|||
<t t-if="data['date_to']"> |
|||
<strong>Date to :</strong> |
|||
<span t-esc="data['date_to']"/> |
|||
</t> |
|||
</div> |
|||
</div> |
|||
<div class="col-xs-4" style="width:30%;"> |
|||
<strong>Target Moves:</strong> |
|||
<p t-if="data['target_move'] == 'all'">All Entries</p> |
|||
<p t-if="data['target_move'] == 'posted'">All Posted Entries</p> |
|||
</div> |
|||
</div> |
|||
<br/> |
|||
<div class="row"> |
|||
<div style="width:70%;"> |
|||
<strong>Sorted By:</strong> |
|||
<p t-if="data['sortby'] == 'sort_date'">Date</p> |
|||
<p t-if="data['sortby'] == 'sort_journal_partner'">Journal and Partner</p> |
|||
</div> |
|||
<div style="width:30%;"> |
|||
<t t-if="data['date_from']"><strong>Date from :</strong> <span t-esc="data['date_from']"/><br/></t> |
|||
<t t-if="data['date_to']"><strong>Date to :</strong> <span t-esc="data['date_to']"/></t> |
|||
</div> |
|||
</div> |
|||
<br/> |
|||
<table class="table table-condensed"> |
|||
<thead> |
|||
<tr class="text-center"> |
|||
<th>Date</th> |
|||
<th>JRNL</th> |
|||
<th>Partner</th> |
|||
<th>Ref</th> |
|||
<th>Move</th> |
|||
<th>Entry Label</th> |
|||
<th>Debit</th> |
|||
<th>Credit</th> |
|||
<th>Balance</th> |
|||
<th groups="base.group_multi_currency">Currency</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
<t t-foreach="Accounts" t-as="account"> |
|||
<tr style="font-weight: bold;"> |
|||
<td colspan="6"> |
|||
<span style="color: white;" t-esc="'..'"/> |
|||
<span t-esc="account['code']"/> |
|||
<span t-esc="account['name']"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="account['debit']" t-options="{'widget': 'monetary', 'display_currency': env.company.currency_id}"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="account['credit']" t-options="{'widget': 'monetary', 'display_currency': env.company.currency_id}"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="account['balance']" t-options="{'widget': 'monetary', 'display_currency': env.company.currency_id}"/> |
|||
</td> |
|||
<td groups="base.group_multi_currency"/> |
|||
</tr> |
|||
<tr t-foreach="account['move_lines']" t-as="line"> |
|||
<td><span t-esc="line['ldate']"/></td> |
|||
<td><span t-esc="line['lcode']"/></td> |
|||
<td><span t-esc="line['partner_name']"/></td> |
|||
<td><span t-if="line['lref']" t-esc="line['lref']"/></td> |
|||
<td><span t-esc="line['move_name']"/></td> |
|||
<td><span t-esc="line['lname']"/></td> |
|||
<td class="text-right"> |
|||
<span t-esc="line['debit']" t-options="{'widget': 'monetary', 'display_currency': env.company.currency_id}"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="line['credit']" t-options="{'widget': 'monetary', 'display_currency': env.company.currency_id}"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="line['balance']" t-options="{'widget': 'monetary', 'display_currency': env.company.currency_id}"/> |
|||
</td> |
|||
<td t-if="line['amount_currency']" class="text-right" groups="base.group_multi_currency"> |
|||
<span t-esc="line['amount_currency'] if line['amount_currency'] > 0.00 else ''"/> |
|||
<span t-esc="line['currency_code'] if line['amount_currency'] > 0.00 else ''"/> |
|||
</td> |
|||
<br/> |
|||
<table class="table table-condensed"> |
|||
<thead> |
|||
<tr class="text-left"> |
|||
<th>Date</th> |
|||
<th>JRNL</th> |
|||
<th>Partner</th> |
|||
<th>Ref</th> |
|||
<th>Move</th> |
|||
<th>Entry Label</th> |
|||
<th>Debit</th> |
|||
<th>Credit</th> |
|||
<th>Balance</th> |
|||
<th groups="base.group_multi_currency"> |
|||
Currency |
|||
</th> |
|||
</tr> |
|||
</t> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</thead> |
|||
<tbody> |
|||
<t t-foreach="Accounts" t-as="account"> |
|||
<tr style="font-weight: bold;"> |
|||
<td colspan="6"> |
|||
<span style="color: white;" |
|||
t-esc="'..'"/> |
|||
<span t-esc="account['code']"/> |
|||
<span t-esc="account['name']"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="account['debit']" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': |
|||
env.company.currency_id}"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="account['credit']" |
|||
t-options="{'widget': |
|||
'monetary', 'display_currency': |
|||
env.company.currency_id}"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="account['balance']" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': |
|||
env.company.currency_id}"/> |
|||
</td> |
|||
<td groups="base.group_multi_currency"/> |
|||
</tr> |
|||
<tr t-foreach="account['move_lines']" |
|||
t-as="line"> |
|||
<td> |
|||
<span t-esc="line['ldate']"/> |
|||
</td> |
|||
<td> |
|||
<span t-esc="line['lcode']"/> |
|||
</td> |
|||
<td> |
|||
<span t-esc="line['partner_name']"/> |
|||
</td> |
|||
<td> |
|||
<span t-if="line['lref']" |
|||
t-esc="line['lref']"/> |
|||
</td> |
|||
<td> |
|||
<span t-esc="line['move_name']"/> |
|||
</td> |
|||
<td> |
|||
<span t-esc="line['lname']"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="line['debit']" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': |
|||
env.company.currency_id}"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="line['credit']" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': |
|||
env.company.currency_id}"/> |
|||
</td> |
|||
<td class="text-right"> |
|||
<span t-esc="line['balance']" |
|||
t-options="{'widget': 'monetary', |
|||
'display_currency': |
|||
env.company.currency_id}"/> |
|||
</td> |
|||
<td t-if="line['amount_currency']" |
|||
class="text-right" |
|||
groups="base.group_multi_currency"> |
|||
<span t-esc="line['amount_currency'] |
|||
if line['amount_currency'] > 0.00 else |
|||
''"/> |
|||
<span t-esc="line['currency_code'] if |
|||
line['amount_currency'] > 0.00 else ''"/> |
|||
</td> |
|||
</tr> |
|||
</t> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</t> |
|||
</t> |
|||
</t> |
|||
</template> |
|||
</template> |
|||
</odoo> |
|||
|
@ -1,96 +1,96 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<odoo> |
|||
<!-- # Financial report --> |
|||
<record id="financial_report_pdf" model="ir.actions.report"> |
|||
<field name="name">Financial reports</field> |
|||
<field name="model">financial.report</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.report_financial</field> |
|||
<field name="report_file">base_accounting_kit.report_financial</field> |
|||
</record> |
|||
<record id="financial_report_pdf" model="ir.actions.report"> |
|||
<field name="name">Financial reports</field> |
|||
<field name="model">financial.report</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.report_financial</field> |
|||
<field name="report_file">base_accounting_kit.report_financial</field> |
|||
</record> |
|||
<!-- # General ledger report --> |
|||
<record id="action_report_general_ledger" model="ir.actions.report"> |
|||
<field name="name">General Ledger</field> |
|||
<field name="model">account.report.general.ledger</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.report_general_ledger</field> |
|||
<field name="report_file">base_accounting_kit.report_general_ledger</field> |
|||
</record> |
|||
<field name="name">General Ledger</field> |
|||
<field name="model">account.report.general.ledger</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.report_general_ledger</field> |
|||
<field name="report_file">base_accounting_kit.report_general_ledger</field> |
|||
</record> |
|||
<!-- # Partner ledger report --> |
|||
<record id="action_report_partnerledger" model="ir.actions.report"> |
|||
<field name="name">Partner Ledger</field> |
|||
<field name="model">account.report.partner.ledger</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.report_partnerledger</field> |
|||
<field name="report_file">base_accounting_kit.report_partnerledger</field> |
|||
</record> |
|||
<record id="action_report_partnerledger" model="ir.actions.report"> |
|||
<field name="name">Partner Ledger</field> |
|||
<field name="model">account.report.partner.ledger</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.report_partnerledger</field> |
|||
<field name="report_file">base_accounting_kit.report_partnerledger</field> |
|||
</record> |
|||
<!-- # Ageing report --> |
|||
<record id="action_report_aged_partner_balance" model="ir.actions.report"> |
|||
<field name="name">Aged Partner Balance</field> |
|||
<field name="model">res.partner</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.report_agedpartnerbalance</field> |
|||
<field name="report_file">base_accounting_kit.report_agedpartnerbalance</field> |
|||
</record> |
|||
<field name="name">Aged Partner Balance</field> |
|||
<field name="model">res.partner</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.report_agedpartnerbalance</field> |
|||
<field name="report_file">base_accounting_kit.report_agedpartnerbalance</field> |
|||
</record> |
|||
<!-- # Journal audit report --> |
|||
<record id="action_report_journal" model="ir.actions.report"> |
|||
<field name="name">Journals Audit</field> |
|||
<field name="model">account.common.journal.report</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.report_journal_audit</field> |
|||
<field name="report_file">base_accounting_kit.report_journal_audit</field> |
|||
</record> |
|||
<field name="name">Journals Audit</field> |
|||
<field name="model">account.common.journal.report</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.report_journal_audit</field> |
|||
<field name="report_file">base_accounting_kit.report_journal_audit</field> |
|||
</record> |
|||
<!-- # Tax report --> |
|||
<record id="action_report_account_tax" model="ir.actions.report"> |
|||
<field name="name">Tax Report</field> |
|||
<field name="model">kit.account.tax.report</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.report_tax</field> |
|||
<field name="report_file">base_accounting_kit.report_tax</field> |
|||
</record> |
|||
<field name="name">Tax Report</field> |
|||
<field name="model">kit.account.tax.report</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.report_tax</field> |
|||
<field name="report_file">base_accounting_kit.report_tax</field> |
|||
</record> |
|||
<!-- # Trial balance report --> |
|||
<record id="action_report_trial_balance" model="ir.actions.report"> |
|||
<field name="name">Trial Balance</field> |
|||
<field name="model">account.balance.report</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.report_trial_balance</field> |
|||
<field name="report_file">base_accounting_kit.report_trial_balance</field> |
|||
</record> |
|||
<record id="action_report_trial_balance" model="ir.actions.report"> |
|||
<field name="name">Trial Balance</field> |
|||
<field name="model">account.balance.report</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.report_trial_balance</field> |
|||
<field name="report_file">base_accounting_kit.report_trial_balance</field> |
|||
</record> |
|||
<!-- # CAsh flow statements --> |
|||
<record id="action_report_cash_flow" model="ir.actions.report"> |
|||
<field name="name">Cash Flow Statement</field> |
|||
<field name="model">account.financial.report</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.report_cash_flow</field> |
|||
<field name="report_file">base_accounting_kit.report_cash_flow</field> |
|||
</record> |
|||
<field name="name">Cash Flow Statement</field> |
|||
<field name="model">account.financial.report</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.report_cash_flow</field> |
|||
<field name="report_file">base_accounting_kit.report_cash_flow</field> |
|||
</record> |
|||
<!-- # Accounting Bank Book Report --> |
|||
<record id="action_report_bank_book" model="ir.actions.report"> |
|||
<field name="name">Bank Book Report</field> |
|||
<field name="model">account.bank.book.report</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.report_bank_book</field> |
|||
<field name="report_file">base_accounting_kit.report_bank_book</field> |
|||
<field name="attachment_use">False</field> |
|||
</record> |
|||
<field name="name">Bank Book Report</field> |
|||
<field name="model">account.bank.book.report</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.report_bank_book</field> |
|||
<field name="report_file">base_accounting_kit.report_bank_book</field> |
|||
<field name="attachment_use">False</field> |
|||
</record> |
|||
|
|||
<!-- # Accounting Cash Book Report --> |
|||
<record id="action_report_cash_book" model="ir.actions.report"> |
|||
<field name="name">Cash Book Report</field> |
|||
<field name="model">account.cash.book.report</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.report_cash_book</field> |
|||
<field name="report_file">base_accounting_kit.report_cash_book</field> |
|||
<field name="attachment_use">False</field> |
|||
</record> |
|||
<record id="action_report_cash_book" model="ir.actions.report"> |
|||
<field name="name">Cash Book Report</field> |
|||
<field name="model">account.cash.book.report</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.report_cash_book</field> |
|||
<field name="report_file">base_accounting_kit.report_cash_book</field> |
|||
<field name="attachment_use">False</field> |
|||
</record> |
|||
|
|||
<!-- # Accounting Day Book Report --> |
|||
<record id="day_book_pdf_report" model="ir.actions.report"> |
|||
<field name="name">Day Book PDF Report</field> |
|||
<field name="model">account.day.book.report</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.day_book_report_template</field> |
|||
<field name="report_file">base_accounting_kit.day_book_report_template</field> |
|||
<field name="attachment_use">True</field> |
|||
</record> |
|||
</odoo> |
|||
<field name="name">Day Book PDF Report</field> |
|||
<field name="model">account.day.book.report</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">base_accounting_kit.day_book_report_template</field> |
|||
<field name="report_file">base_accounting_kit.day_book_report_template</field> |
|||
<field name="attachment_use">True</field> |
|||
</record> |
|||
</odoo> |
|||
|
@ -1,113 +1,123 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<odoo> |
|||
<data> |
|||
<record id="view_account_followup_followup_line_tree" model="ir.ui.view"> |
|||
<field name="name">followup.line.tree</field> |
|||
<field name="model">followup.line</field> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Follow-up Steps" > |
|||
<record id="view_account_followup_followup_line_tree" |
|||
model="ir.ui.view"> |
|||
<field name="name">followup.line.tree</field> |
|||
<field name="model">followup.line</field> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Follow-up Steps"> |
|||
<field name="name"/> |
|||
<field name="delay"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
<record id="view_account_followup_followup_line_form" |
|||
model="ir.ui.view"> |
|||
<field name="name">followup.line.form</field> |
|||
<field name="model">followup.line</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Follow-up Steps"> |
|||
<label for="name" class="oe_edit_only"/> |
|||
<h1> |
|||
<field name="name"/> |
|||
<field name="delay"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="view_account_followup_followup_line_form" model="ir.ui.view"> |
|||
<field name="name">followup.line.form</field> |
|||
<field name="model">followup.line</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Follow-up Steps"> |
|||
<label for="name" class="oe_edit_only"/> |
|||
<h1><field name="name"/></h1> |
|||
<div class="oe_inline"> |
|||
After <field name="delay" class="oe_inline"/> days overdue, do the following actions: |
|||
</div> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="view_account_followup_followup_form" model="ir.ui.view"> |
|||
<field name="name">account.followup.form</field> |
|||
<field name="model">account.followup</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Follow-up"> |
|||
<h1><field name="name"/></h1> |
|||
<label for="company_id" groups="base.group_multi_company"/> |
|||
<field name="company_id" options="{'no_create': True}" class="oe_inline" groups="base.group_multi_company"/> |
|||
<p class="oe_grey"> |
|||
To remind customers of paying their invoices, you can |
|||
define different actions depending on how severely |
|||
overdue the customer is. These actions are bundled |
|||
into follow-up levels that are triggered when the due |
|||
date of an invoice has passed a certain |
|||
number of days. If there are other overdue invoices for the |
|||
same customer, the actions of the most |
|||
overdue invoice will be executed. |
|||
</p> |
|||
<field name="followup_line_ids"/> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="view_account_followup_followup_tree" model="ir.ui.view"> |
|||
<field name="name">account.followup.tree</field> |
|||
<field name="model">account.followup</field> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Follow-up"> |
|||
<field name="company_id" /> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="view_account_followup_filter" model="ir.ui.view"> |
|||
<field name="name">account.followup.select</field> |
|||
<field name="model">account.followup</field> |
|||
<field name="arch" type="xml"> |
|||
<search string="Search Follow-up"> |
|||
<field name="company_id" groups="base.group_multi_company"/> |
|||
</search> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="view_account_followup_followup_kanban" model="ir.ui.view"> |
|||
<field name="name">account.followup.kanban</field> |
|||
<field name="model">account.followup</field> |
|||
<field name="arch" type="xml"> |
|||
<kanban> |
|||
</h1> |
|||
<div class="oe_inline"> |
|||
After |
|||
<field name="delay" class="oe_inline"/> |
|||
days overdue, do the following actions: |
|||
</div> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<record id="view_account_followup_followup_form" model="ir.ui.view"> |
|||
<field name="name">account.followup.form</field> |
|||
<field name="model">account.followup</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Follow-up"> |
|||
<h1> |
|||
<field name="name"/> |
|||
<templates> |
|||
<t t-name="kanban-box"> |
|||
<div t-attf-class="oe_kanban_global_click"> |
|||
<div> |
|||
<strong><i class="fa fa-building" role="img" aria-label="Enterprise"/> <t t-esc="record.name.value"/></strong> |
|||
</div> |
|||
</h1> |
|||
<label for="company_id" groups="base.group_multi_company"/> |
|||
<field name="company_id" options="{'no_create': True}" |
|||
class="oe_inline" groups="base.group_multi_company"/> |
|||
<p class="oe_grey"> |
|||
To remind customers of paying their invoices, you can |
|||
define different actions depending on how severely |
|||
overdue the customer is. These actions are bundled |
|||
into follow-up levels that are triggered when the due |
|||
date of an invoice has passed a certain |
|||
number of days. If there are other overdue invoices for |
|||
the |
|||
same customer, the actions of the most |
|||
overdue invoice will be executed. |
|||
</p> |
|||
<field name="followup_line_ids"/> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<record id="view_account_followup_followup_tree" model="ir.ui.view"> |
|||
<field name="name">account.followup.tree</field> |
|||
<field name="model">account.followup</field> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Follow-up"> |
|||
<field name="company_id"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
<record id="view_account_followup_filter" model="ir.ui.view"> |
|||
<field name="name">account.followup.select</field> |
|||
<field name="model">account.followup</field> |
|||
<field name="arch" type="xml"> |
|||
<search string="Search Follow-up"> |
|||
<field name="company_id" groups="base.group_multi_company"/> |
|||
</search> |
|||
</field> |
|||
</record> |
|||
<record id="view_account_followup_followup_kanban" model="ir.ui.view"> |
|||
<field name="name">account.followup.kanban</field> |
|||
<field name="model">account.followup</field> |
|||
<field name="arch" type="xml"> |
|||
<kanban> |
|||
<field name="name"/> |
|||
<templates> |
|||
<t t-name="kanban-box"> |
|||
<div t-attf-class="oe_kanban_global_click"> |
|||
<div> |
|||
<strong> |
|||
<i class="fa fa-building" role="img" |
|||
aria-label="Enterprise"/> |
|||
<t t-esc="record.name.value"/> |
|||
</strong> |
|||
</div> |
|||
</t> |
|||
</templates> |
|||
</kanban> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="action_account_followup_definition_form" model="ir.actions.act_window"> |
|||
<field name="name">Payment Follow-ups</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">account.followup</field> |
|||
<field name="search_view_id" ref="view_account_followup_filter"/> |
|||
<field name="view_mode">tree,kanban,form</field> |
|||
<field name="help" type="html"> |
|||
<p class="o_view_nocontent_smiling_face"> |
|||
</div> |
|||
</t> |
|||
</templates> |
|||
</kanban> |
|||
</field> |
|||
</record> |
|||
<record id="action_account_followup_definition_form" |
|||
model="ir.actions.act_window"> |
|||
<field name="name">Payment Follow-ups</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">account.followup</field> |
|||
<field name="search_view_id" ref="view_account_followup_filter"/> |
|||
<field name="view_mode">tree,kanban,form</field> |
|||
<field name="help" type="html"> |
|||
<p class="o_view_nocontent_smiling_face"> |
|||
Define follow-up levels and their related actions |
|||
</p><p> |
|||
For each step, specify the actions to be taken and delay in days. It is |
|||
possible to use print and e-mail templates to send specific messages to |
|||
</p> |
|||
<p> |
|||
For each step, specify the actions to be taken and delay in |
|||
days. It is |
|||
possible to use print and e-mail templates to send specific |
|||
messages to |
|||
the customer. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
|
|||
<menuitem action="action_account_followup_definition_form" id="account_followup_menu" |
|||
parent="account.account_management_menu" name="Follow-up Levels" |
|||
groups="account.group_account_manager" sequence="2"/> |
|||
|
|||
</data> |
|||
</p> |
|||
</field> |
|||
</record> |
|||
<menuitem action="action_account_followup_definition_form" |
|||
id="account_followup_menu" |
|||
parent="account.account_management_menu" |
|||
name="Follow-up Levels" |
|||
groups="account.group_account_manager" sequence="2"/> |
|||
</odoo> |
@ -1,16 +1,11 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<odoo> |
|||
<data> |
|||
|
|||
<record id="action_account_group" model="ir.actions.act_window"> |
|||
<field name="name">Account Groups</field> |
|||
<field name="res_model">account.group</field> |
|||
<field name="view_mode">tree,form</field> |
|||
</record> |
|||
|
|||
|
|||
<menuitem id="menu_account_group" name="Account Groups" |
|||
action="action_account_group" sequence="10" |
|||
parent="account.account_account_menu"/> |
|||
|
|||
</data> |
|||
<record id="action_account_group" model="ir.actions.act_window"> |
|||
<field name="name">Account Groups</field> |
|||
<field name="res_model">account.group</field> |
|||
<field name="view_mode">tree,form</field> |
|||
</record> |
|||
<menuitem id="menu_account_group" name="Account Groups" |
|||
action="action_account_group" sequence="10" |
|||
parent="account.account_account_menu"/> |
|||
</odoo> |
@ -1,20 +1,24 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
|
|||
<!-- Add "Asset Category" to supplier invoices --> |
|||
<record model="ir.ui.view" id="view_invoice_asset_category"> |
|||
<field name="name">account.invoice.supplier.form</field> |
|||
<field name="model">account.move</field> |
|||
<field name="inherit_id" ref="account.view_move_form"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//field[@name='invoice_line_ids']/tree/field[@name='account_id']" position="before"> |
|||
<field string="Asset Category" column_invisible="parent.move_type != 'in_invoice'" |
|||
name="asset_category_id" domain="[('type','=','purchase')]" context="{'default_type':'purchase'}"/> |
|||
<xpath expr="//field[@name='invoice_line_ids']/tree/field[@name='account_id']" |
|||
position="before"> |
|||
<field string="Asset Category" |
|||
column_invisible="parent.move_type != 'in_invoice'" |
|||
name="asset_category_id" |
|||
domain="[('type','=','purchase')]" |
|||
context="{'default_type':'purchase'}"/> |
|||
</xpath> |
|||
<xpath expr="//field[@name='line_ids']/tree/field[@name='account_id']" position="after"> |
|||
<field string="Asset Category" name="asset_category_id" invisible="1"/> |
|||
<xpath expr="//field[@name='line_ids']/tree/field[@name='account_id']" |
|||
position="after"> |
|||
<field string="Asset Category" name="asset_category_id" |
|||
invisible="1"/> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
|
|||
</odoo> |
|||
|
@ -1,30 +1,16 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<odoo> |
|||
<data> |
|||
<!-- Change invoicing menu to Accounting --> |
|||
<record model="ir.ui.menu" id="account.menu_finance"> |
|||
<field name="name">Accounting</field> |
|||
</record> |
|||
<!-- Change settings invoicing menu to Accounting --> |
|||
<!-- need to check--> |
|||
<!-- <record id="res_config_settings_view_accounting_kit" model="ir.ui.view">--> |
|||
<!-- <field name="name">res.config.settings.view.form.inherit.kit</field>--> |
|||
<!-- <field name="model">res.config.settings</field>--> |
|||
<!-- <field name="inherit_id" ref="account.res_config_settings_view_form"/>--> |
|||
<!-- <field name="arch" type="xml">--> |
|||
<!-- <div data-key="account" position="attributes">--> |
|||
<!-- <attribute name="data-string">Accounting</attribute>--> |
|||
<!-- <attribute name="string">Accounting</attribute>--> |
|||
<!-- </div>--> |
|||
<!-- </field>--> |
|||
<!-- </record>--> |
|||
<menuitem id="account_reports_generic_statements" sequence="1" |
|||
name="Generic Statements" parent="account.menu_finance_reports"/> |
|||
<menuitem id="account_reports_daily_reports" sequence="2" |
|||
name="Daily Reports" parent="account.menu_finance_reports"/> |
|||
<menuitem id="account_reports_partner" sequence="3" |
|||
name="Partner Reports" parent="account.menu_finance_reports"/> |
|||
<menuitem id="account_reports_audit" sequence="4" |
|||
name="Audit Reports" parent="account.menu_finance_reports"/> |
|||
</data> |
|||
<!-- Change invoicing menu to Accounting --> |
|||
<record model="ir.ui.menu" id="account.menu_finance"> |
|||
<field name="name">Accounting</field> |
|||
</record> |
|||
<menuitem id="account_reports_generic_statements" sequence="1" |
|||
name="Generic Statements" |
|||
parent="account.menu_finance_reports"/> |
|||
<menuitem id="account_reports_daily_reports" sequence="2" |
|||
name="Daily Reports" parent="account.menu_finance_reports"/> |
|||
<menuitem id="account_reports_partner" sequence="3" |
|||
name="Partner Reports" parent="account.menu_finance_reports"/> |
|||
<menuitem id="account_reports_audit" sequence="4" |
|||
name="Audit Reports" parent="account.menu_finance_reports"/> |
|||
</odoo> |
@ -1,70 +1,83 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<odoo> |
|||
<data> |
|||
<record id="view_customer_form" model="ir.ui.view"> |
|||
<field name="name">Credit Limit</field> |
|||
<field name="model">res.partner</field> |
|||
<field name="inherit_id" ref="base.view_partner_form"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//page[@name='accounting']" position="inside"> |
|||
<group string="Credit Limit" invisible="not enable_credit_limit"> |
|||
<group> |
|||
<field name="active_limit"/> |
|||
<field name="enable_credit_limit" invisible="1"/> |
|||
<field name="warning_stage" invisible="not active_limit"/> |
|||
<field name="blocking_stage" invisible="not active_limit"/> |
|||
</group> |
|||
<record id="view_customer_form" model="ir.ui.view"> |
|||
<field name="name">Credit Limit</field> |
|||
<field name="model">res.partner</field> |
|||
<field name="inherit_id" ref="base.view_partner_form"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//page[@name='accounting']" position="inside"> |
|||
<group string="Credit Limit" |
|||
invisible="not enable_credit_limit"> |
|||
<group> |
|||
<field name="active_limit"/> |
|||
<field name="enable_credit_limit" invisible="1"/> |
|||
<field name="warning_stage" |
|||
invisible="not active_limit"/> |
|||
<field name="blocking_stage" |
|||
invisible="not active_limit"/> |
|||
</group> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="header_view" model="ir.ui.view"> |
|||
<field name="name">Credit Limit</field> |
|||
<field name="model">sale.order</field> |
|||
<field name="inherit_id" ref="sale.view_order_form"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//field[@name='payment_term_id']" position="after"> |
|||
<field name="has_due" invisible="1"/> |
|||
<field name="is_warning" invisible="1"/> |
|||
</xpath> |
|||
<xpath expr="//header" position="after"> |
|||
<div class="alert alert-info" role="alert" style="height: 40px; margin-bottom:0px;" |
|||
invisible="not has_due"> |
|||
This Customer's due amount is <strong><field name="due_amount"/></strong>. |
|||
</div> |
|||
</xpath> |
|||
<xpath expr="//sheet/div[@name='button_box']" position="after"> |
|||
<div role="alert" class="alert alert-danger" style="height: 40px; width: 350px; margin-bottom:0px;" |
|||
invisible="not is_warning"> |
|||
This customer's <strong>warning limit</strong> has been crossed. |
|||
</div> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="account_move_form_inherited" model="ir.ui.view"> |
|||
<field name="name">Account Move</field> |
|||
<field name="model">account.move</field> |
|||
<field name="inherit_id" ref="account.view_move_form"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//field[@name='ref']" position="after"> |
|||
<field name="has_due" invisible="1"/> |
|||
<field name="is_warning" invisible="1"/> |
|||
</xpath> |
|||
<xpath expr="//header" position="after"> |
|||
<div class="alert alert-info" role="alert" style="height: 40px; margin-bottom:0px;" |
|||
invisible="not has_due or move_type not in ['out_invoice','out_refund','out_receipt']"> |
|||
This Customer's due amount is <strong><field name="due_amount"/></strong>. |
|||
</div> |
|||
</xpath> |
|||
<xpath expr="//sheet/div[@name='button_box']" position="after"> |
|||
<div role="alert" class="alert alert-danger" style="height: 40px; width: 350px; margin-bottom:0px;" |
|||
invisible="not is_warning or move_type not in ['out_invoice','out_refund','out_receipt']"> |
|||
This customer's <strong>warning limit</strong> has been crossed. |
|||
</div> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</data> |
|||
</group> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
<record id="header_view" model="ir.ui.view"> |
|||
<field name="name">Credit Limit</field> |
|||
<field name="model">sale.order</field> |
|||
<field name="inherit_id" ref="sale.view_order_form"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//field[@name='payment_term_id']" position="after"> |
|||
<field name="has_due" invisible="1"/> |
|||
<field name="is_warning" invisible="1"/> |
|||
</xpath> |
|||
<xpath expr="//header" position="after"> |
|||
<div class="alert alert-info" role="alert" |
|||
style="height: 40px; margin-bottom:0px;" |
|||
invisible="not has_due"> |
|||
This Customer's due amount is |
|||
<strong> |
|||
<field name="due_amount"/> |
|||
</strong> |
|||
. |
|||
</div> |
|||
</xpath> |
|||
<xpath expr="//sheet/div[@name='button_box']" position="after"> |
|||
<div role="alert" class="alert alert-danger" |
|||
style="height: 40px; width: 350px; margin-bottom:0px;" |
|||
invisible="not is_warning"> |
|||
This customer's <strong>warning limit</strong> has been |
|||
crossed. |
|||
</div> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
<record id="account_move_form_inherited" model="ir.ui.view"> |
|||
<field name="name">Account Move</field> |
|||
<field name="model">account.move</field> |
|||
<field name="inherit_id" ref="account.view_move_form"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//field[@name='ref']" position="after"> |
|||
<field name="has_due" invisible="1"/> |
|||
<field name="is_warning" invisible="1"/> |
|||
</xpath> |
|||
<xpath expr="//header" position="after"> |
|||
<div class="alert alert-info" role="alert" |
|||
style="height: 40px; margin-bottom:0px;" |
|||
invisible="not has_due or move_type not in ['out_invoice','out_refund','out_receipt']"> |
|||
This Customer's due amount is |
|||
<strong> |
|||
<field name="due_amount"/> |
|||
</strong> |
|||
. |
|||
</div> |
|||
</xpath> |
|||
<xpath expr="//sheet/div[@name='button_box']" position="after"> |
|||
<div role="alert" class="alert alert-danger" |
|||
style="height: 40px; width: 350px; margin-bottom:0px;" |
|||
invisible="not is_warning or move_type not in ['out_invoice','out_refund','out_receipt']"> |
|||
This customer's <strong>warning limit</strong> has been |
|||
crossed. |
|||
</div> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</odoo> |
@ -1,133 +1,131 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<data> |
|||
<record id="customer_statements_form_view" model="ir.ui.view"> |
|||
<field name="name">customer.statements.followup</field> |
|||
<field name="model">res.partner</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="report" create="false" edit="false"> |
|||
<header> |
|||
<field name="followup_status" widget="statusbar"/> |
|||
</header> |
|||
<div class="alert alert-info" role="alert" |
|||
style="font-size: 15px;display: inline-block; margin-top:10px;margin-left: 201px;"> |
|||
<span>Wonder how to Send Followup mails and Print Followup Reports ? Download our |
|||
<a target="_blank" |
|||
href="https://apps.odoo.com/apps/modules/16.0/customer_followup_community"> |
|||
<b>Customer Followup</b> |
|||
</a> |
|||
Module ! |
|||
</span> |
|||
<record id="customer_statements_form_view" model="ir.ui.view"> |
|||
<field name="name">customer.statements.followup</field> |
|||
<field name="model">res.partner</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="report" create="false" edit="false"> |
|||
<header> |
|||
<field name="followup_status" widget="statusbar"/> |
|||
</header> |
|||
<div class="alert alert-info" role="alert" |
|||
style="font-size: 15px;display: inline-block; margin-top:10px;margin-left: 201px;"> |
|||
<span>Wonder how to Send Followup mails and Print Followup |
|||
Reports ? Download our |
|||
<a target="_blank" |
|||
href="https://apps.odoo.com/apps/modules/16.0/customer_followup_community"> |
|||
<b>Customer Followup</b> |
|||
</a> |
|||
Module ! |
|||
</span> |
|||
</div> |
|||
<sheet> |
|||
<div class="oe_title"> |
|||
<h1> |
|||
<field name="name" readonly="1"/> |
|||
</h1> |
|||
</div> |
|||
<sheet> |
|||
<div class="oe_title"> |
|||
<h1> |
|||
<field name="name" readonly="1"/> |
|||
</h1> |
|||
</div> |
|||
<br/> |
|||
|
|||
<div class="alert alert-warning o_account_reports_followup-no-action" |
|||
invisible="invoice_list != []" |
|||
id='no-action' role="alert"> |
|||
<p> |
|||
<strong> |
|||
<field name="name"/> |
|||
</strong> |
|||
has no due amount. |
|||
</p> |
|||
</div> |
|||
|
|||
<div invisible="invoice_list != []"> |
|||
<group> |
|||
<field name="next_reminder_date"/> |
|||
</group> |
|||
<notebook colspan="4"> |
|||
<page string="Invoice Details"> |
|||
<field name="invoice_list"/> |
|||
</page> |
|||
<br/> |
|||
|
|||
</notebook> |
|||
</div> |
|||
<group class="oe_subtotal_footer oe_right" colspan="2" name="sale_total"> |
|||
<field name="total_due" class="oe_subtotal_footer_separator" widget="monetary" |
|||
/> |
|||
<!-- <field name="total_due" class="oe_subtotal_footer_separator" widget="monetary"--> |
|||
<!-- options="{'currency_field': 'currency_id'}"/>--> |
|||
<div class="oe_subtotal_footer_separator oe_inline o_td_label"> |
|||
<label for="total_overdue"/> |
|||
</div> |
|||
<field name="total_overdue" nolabel="1" class="oe_subtotal_footer_separator" |
|||
widget="monetary"/> |
|||
<!-- <field name="total_overdue" nolabel="1" class="oe_subtotal_footer_separator"--> |
|||
<!-- widget="monetary" options="{'currency_field': 'currency_id'}"/>--> |
|||
</group> |
|||
</sheet> |
|||
<div class="oe_chatter"> |
|||
<field name="message_follower_ids" widget="mail_followers"/> |
|||
<field name="activity_ids" widget="mail_activity"/> |
|||
<field name="message_ids" widget="mail_thread"/> |
|||
<div class="alert alert-warning o_account_reports_followup-no-action" |
|||
invisible="invoice_list != []" |
|||
id='no-action' role="alert"> |
|||
<p> |
|||
<strong> |
|||
<field name="name"/> |
|||
</strong> |
|||
has no due amount. |
|||
</p> |
|||
</div> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="customer_statements_tree_view" model="ir.ui.view"> |
|||
<field name="name">customer.statements.tree</field> |
|||
<field name="model">res.partner</field> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Follow-up Reports Tree View" create="false" import="false" delete="false"> |
|||
<field name="currency_id" invisible="1"/> |
|||
<field name="name"/> |
|||
<field name="total_due" widget="monetary" options="{'currency_field': 'currency_id'}" sum="Total"/> |
|||
<field name="total_overdue" widget="monetary" options="{'currency_field': 'currency_id'}" |
|||
sum="Total"/> |
|||
<field name="followup_status"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
|
|||
<div invisible="invoice_list != []"> |
|||
<group> |
|||
<field name="next_reminder_date"/> |
|||
</group> |
|||
<notebook colspan="4"> |
|||
<page string="Invoice Details"> |
|||
<field name="invoice_list"/> |
|||
</page> |
|||
|
|||
<record id="customer_statements_search_view" model="ir.ui.view"> |
|||
<field name="name">customer.statements.search</field> |
|||
<field name="model">res.partner</field> |
|||
<field name="inherit_id" ref="base.view_res_partner_filter"/> |
|||
<field name="arch" type="xml"> |
|||
<filter name="supplier" position="after"> |
|||
<separator/> |
|||
<filter string="Overdue Invoices" |
|||
name="filter_with_overdue_invoices" |
|||
domain="[('followup_status', '=', 'with_overdue_invoices')]"/> |
|||
<filter string="In need of action" |
|||
name="filter_in_need_of_action" |
|||
domain="[('followup_status', '=', 'in_need_of_action')]"/> |
|||
<filter string="No action needed" |
|||
name="filter_no_action_needed" |
|||
domain="[('followup_status', '=', 'no_action_needed')]"/> |
|||
<separator/> |
|||
</filter> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="action_view_list_customer_statements" model="ir.actions.act_window"> |
|||
<field name="name">Follow-up Reports</field> |
|||
<field name="res_model">res.partner</field> |
|||
<field name="view_mode">tree,form</field> |
|||
<field name="view_ids" eval="[(5, 0, 0), |
|||
</notebook> |
|||
</div> |
|||
<group class="oe_subtotal_footer oe_right" colspan="2" |
|||
name="sale_total"> |
|||
<field name="total_due" |
|||
class="oe_subtotal_footer_separator" |
|||
widget="monetary" |
|||
/> |
|||
<div class="oe_subtotal_footer_separator oe_inline o_td_label"> |
|||
<label for="total_overdue"/> |
|||
</div> |
|||
<field name="total_overdue" nolabel="1" |
|||
class="oe_subtotal_footer_separator" |
|||
widget="monetary"/> |
|||
</group> |
|||
</sheet> |
|||
<div class="oe_chatter"> |
|||
<field name="message_follower_ids" widget="mail_followers"/> |
|||
<field name="activity_ids" widget="mail_activity"/> |
|||
<field name="message_ids" widget="mail_thread"/> |
|||
</div> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<record id="customer_statements_tree_view" model="ir.ui.view"> |
|||
<field name="name">customer.statements.tree</field> |
|||
<field name="model">res.partner</field> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Follow-up Reports Tree View" create="false" |
|||
import="false" delete="false"> |
|||
<field name="currency_id" invisible="1"/> |
|||
<field name="name"/> |
|||
<field name="total_due" widget="monetary" |
|||
options="{'currency_field': 'currency_id'}" sum="Total"/> |
|||
<field name="total_overdue" widget="monetary" |
|||
options="{'currency_field': 'currency_id'}" |
|||
sum="Total"/> |
|||
<field name="followup_status"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
<record id="customer_statements_search_view" model="ir.ui.view"> |
|||
<field name="name">customer.statements.search</field> |
|||
<field name="model">res.partner</field> |
|||
<field name="inherit_id" ref="base.view_res_partner_filter"/> |
|||
<field name="arch" type="xml"> |
|||
<filter name="supplier" position="after"> |
|||
<separator/> |
|||
<filter string="Overdue Invoices" |
|||
name="filter_with_overdue_invoices" |
|||
domain="[('followup_status', '=', 'with_overdue_invoices')]"/> |
|||
<filter string="In need of action" |
|||
name="filter_in_need_of_action" |
|||
domain="[('followup_status', '=', 'in_need_of_action')]"/> |
|||
<filter string="No action needed" |
|||
name="filter_no_action_needed" |
|||
domain="[('followup_status', '=', 'no_action_needed')]"/> |
|||
<separator/> |
|||
</filter> |
|||
</field> |
|||
</record> |
|||
<record id="action_view_list_customer_statements" |
|||
model="ir.actions.act_window"> |
|||
<field name="name">Follow-up Reports</field> |
|||
<field name="res_model">res.partner</field> |
|||
<field name="view_mode">tree,form</field> |
|||
<field name="view_ids" eval="[(5, 0, 0), |
|||
(0, 0, {'view_mode': 'tree', 'view_id': ref('customer_statements_tree_view')}), |
|||
(0, 0, {'view_mode': 'form', 'view_id': ref('customer_statements_form_view')})]"/> |
|||
<field name="context">{'search_default_filter_in_need_of_action':1}</field> |
|||
<field name="help" type="html"> |
|||
<p class="o_view_nocontent_smiling_face"> |
|||
No follow-up to send! |
|||
</p> |
|||
</field> |
|||
</record> |
|||
|
|||
<menuitem id="customer_statements_menu" name="Follow-up Reports" |
|||
parent="account.menu_finance_receivables" |
|||
action="action_view_list_customer_statements" sequence="20" |
|||
groups="account.group_account_user"/> |
|||
|
|||
</data> |
|||
<field name="context">{'search_default_filter_in_need_of_action':1} |
|||
</field> |
|||
<field name="help" type="html"> |
|||
<p class="o_view_nocontent_smiling_face"> |
|||
No follow-up to send! |
|||
</p> |
|||
</field> |
|||
</record> |
|||
<menuitem id="customer_statements_menu" name="Follow-up Reports" |
|||
parent="account.menu_finance_receivables" |
|||
action="action_view_list_customer_statements" sequence="20" |
|||
groups="account.group_account_user"/> |
|||
</odoo> |
|||
|
@ -1,42 +1,44 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<record id="view_multiple_invoice_layout" model="ir.ui.view"> |
|||
<field name="name">Document Layout</field> |
|||
<field name="model">multiple.invoice.layout</field> |
|||
<field name="arch" type="xml"> |
|||
<form class="o_document_layout"> |
|||
<group> |
|||
<group class="o_document_layout_company"> |
|||
<field name="company_id" invisible="1"/> |
|||
<field name="journal_id" invisible="1"/> |
|||
<field name="multiple_invoice_type"/> |
|||
<field name="text_position" widget="selection" |
|||
invisible="multiple_invoice_type != 'text'" |
|||
/> |
|||
<field name="body_text_position" widget="radio" |
|||
invisible="multiple_invoice_type != 'text' or text_position != 'body'"/> |
|||
<field name="text_align" widget="radio" string="Text Align" |
|||
invisible="multiple_invoice_type != 'text' or text_position not in ['header', 'footer']"/> |
|||
</group> |
|||
<div> |
|||
<field name="preview" widget="iframe_wrapper" /> |
|||
</div> |
|||
<record id="view_multiple_invoice_layout" model="ir.ui.view"> |
|||
<field name="name">Document Layout</field> |
|||
<field name="model">multiple.invoice.layout</field> |
|||
<field name="arch" type="xml"> |
|||
<form class="o_document_layout"> |
|||
<group> |
|||
<group class="o_document_layout_company"> |
|||
<field name="company_id" invisible="1"/> |
|||
<field name="journal_id" invisible="1"/> |
|||
<field name="multiple_invoice_type"/> |
|||
<field name="text_position" widget="selection" |
|||
invisible="multiple_invoice_type != 'text'" |
|||
/> |
|||
<field name="body_text_position" widget="radio" |
|||
invisible="multiple_invoice_type != 'text' or text_position != 'body'"/> |
|||
<field name="text_align" widget="radio" |
|||
string="Text Align" |
|||
invisible="multiple_invoice_type != 'text' or text_position not in ['header', 'footer']"/> |
|||
</group> |
|||
<footer> |
|||
<button string="Save" class="btn-primary" type="object" name="document_layout_save"/> |
|||
<button special="cancel" string="Cancel" /> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="action_multiple_invoice_layout_configurator" model="ir.actions.act_window"> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="name">Configure Copy layout</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="target">new</field> |
|||
<field name="res_model">multiple.invoice.layout</field> |
|||
<field name="view_id" ref="base_accounting_kit.view_multiple_invoice_layout"/> |
|||
</record> |
|||
|
|||
<div> |
|||
<field name="preview" widget="iframe_wrapper"/> |
|||
</div> |
|||
</group> |
|||
<footer> |
|||
<button string="Save" class="btn-primary" type="object" |
|||
name="document_layout_save"/> |
|||
<button special="cancel" string="Cancel"/> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<record id="action_multiple_invoice_layout_configurator" |
|||
model="ir.actions.act_window"> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="name">Configure Copy layout</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="target">new</field> |
|||
<field name="res_model">multiple.invoice.layout</field> |
|||
<field name="view_id" |
|||
ref="base_accounting_kit.view_multiple_invoice_layout"/> |
|||
</record> |
|||
</odoo> |
|||
|
@ -1,99 +1,101 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<odoo> |
|||
<data> |
|||
|
|||
<!--Recurring Templates Form view--> |
|||
<record id="account_recurring_payments_form_view" model="ir.ui.view"> |
|||
<field name="name">Recurring Template</field> |
|||
<field name="model">account.recurring.payments</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Recurring Template"> |
|||
<header> |
|||
<field name="state" widget="statusbar" options="{'clickable': '1'}"/> |
|||
</header> |
|||
<sheet> |
|||
<!--Recurring Templates Form view--> |
|||
<record id="account_recurring_payments_form_view" model="ir.ui.view"> |
|||
<field name="name">Recurring Template</field> |
|||
<field name="model">account.recurring.payments</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Recurring Template"> |
|||
<header> |
|||
<field name="state" widget="statusbar" |
|||
options="{'clickable': '1'}"/> |
|||
</header> |
|||
<sheet> |
|||
<group> |
|||
<group> |
|||
<group> |
|||
<field name="name"/> |
|||
<field name="pay_time"/> |
|||
</group> |
|||
<group> |
|||
<field name="recurring_period"/> |
|||
<field name="recurring_interval" class="o_address_zip"/> |
|||
</group> |
|||
<group> |
|||
<field name="partner_id" invisible="pay_time != 'pay_later'"/> |
|||
<field name="company_id" invisible="1"/> |
|||
</group> |
|||
<group> |
|||
<field name="date"/> |
|||
<field name="next_date"/> |
|||
<field name="amount"/> |
|||
</group> |
|||
<field name="name"/> |
|||
<field name="pay_time"/> |
|||
</group> |
|||
<group> |
|||
<field name="recurring_period"/> |
|||
<field name="recurring_interval" |
|||
class="o_address_zip"/> |
|||
</group> |
|||
|
|||
<notebook> |
|||
<page name="accounting_info" string="Accounting Info"> |
|||
<group> |
|||
<field name="partner_id" |
|||
invisible="pay_time != 'pay_later'"/> |
|||
<field name="company_id" invisible="1"/> |
|||
</group> |
|||
<group> |
|||
<field name="date"/> |
|||
<field name="next_date"/> |
|||
<field name="amount"/> |
|||
</group> |
|||
</group> |
|||
<notebook> |
|||
<page name="accounting_info" string="Accounting Info"> |
|||
<group> |
|||
<group> |
|||
<group> |
|||
<field name="credit_account"/> |
|||
<field name="debit_account"/> |
|||
</group> |
|||
<group> |
|||
<field name="journal_id"/> |
|||
<field name="journal_state"/> |
|||
</group> |
|||
<field name="credit_account"/> |
|||
<field name="debit_account"/> |
|||
</group> |
|||
<group> |
|||
<group> |
|||
<field name="analytic_account_id"/> |
|||
</group> |
|||
<field name="journal_id"/> |
|||
<field name="journal_state"/> |
|||
</group> |
|||
</page> |
|||
<page name="other_info" string="Other Info"> |
|||
</group> |
|||
<group> |
|||
<group> |
|||
<field name="description" placeholder="Description..." nolabel="1" colspan="4"/> |
|||
<field name="analytic_account_id"/> |
|||
</group> |
|||
</page> |
|||
</notebook> |
|||
</sheet> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
<!--Recurring Templates Tree View--> |
|||
<record id="account_recurring_payments_tree_view" model="ir.ui.view"> |
|||
<field name="name">Recurring Templates</field> |
|||
<field name="model">account.recurring.payments</field> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Recurring Templates"> |
|||
<field name="name"/> |
|||
<field name="partner_id"/> |
|||
<field name="debit_account"/> |
|||
<field name="credit_account"/> |
|||
<field name="journal_id"/> |
|||
<field name="date"/> |
|||
<field name="amount"/> |
|||
<field name="state"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
|
|||
|
|||
<!--Action for Recurring Templates--> |
|||
<record id="action_account_recurring_payments_view" model="ir.actions.act_window"> |
|||
<field name="name">Recurring Templates</field> |
|||
<field name="res_model">account.recurring.payments</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="view_mode">tree,form</field> |
|||
<field name="view_id" ref="account_recurring_payments_tree_view"/> |
|||
<field name="target">current</field> |
|||
<field name="help" type="html"> |
|||
<p class="oe_view_nocontent_create">Click to create new recurring payment template</p> |
|||
</field> |
|||
</record> |
|||
|
|||
<menuitem id="account_recurring_payments_child1" name="Recurring Templates" groups="account.group_account_user" |
|||
action="action_account_recurring_payments_view" parent="account.root_payment_menu"/> |
|||
</data> |
|||
</group> |
|||
</page> |
|||
<page name="other_info" string="Other Info"> |
|||
<group> |
|||
<field name="description" |
|||
placeholder="Description..." nolabel="1" |
|||
colspan="4"/> |
|||
</group> |
|||
</page> |
|||
</notebook> |
|||
</sheet> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<!--Recurring Templates Tree View--> |
|||
<record id="account_recurring_payments_tree_view" model="ir.ui.view"> |
|||
<field name="name">Recurring Templates</field> |
|||
<field name="model">account.recurring.payments</field> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Recurring Templates"> |
|||
<field name="name"/> |
|||
<field name="partner_id"/> |
|||
<field name="debit_account"/> |
|||
<field name="credit_account"/> |
|||
<field name="journal_id"/> |
|||
<field name="date"/> |
|||
<field name="amount"/> |
|||
<field name="state"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
<!--Action for Recurring Templates--> |
|||
<record id="action_account_recurring_payments_view" |
|||
model="ir.actions.act_window"> |
|||
<field name="name">Recurring Templates</field> |
|||
<field name="res_model">account.recurring.payments</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="view_mode">tree,form</field> |
|||
<field name="view_id" ref="account_recurring_payments_tree_view"/> |
|||
<field name="target">current</field> |
|||
<field name="help" type="html"> |
|||
<p class="oe_view_nocontent_create">Click to create new recurring |
|||
payment template |
|||
</p> |
|||
</field> |
|||
</record> |
|||
<menuitem id="account_recurring_payments_child1" name="Recurring Templates" |
|||
groups="account.group_account_user" |
|||
action="action_account_recurring_payments_view" |
|||
parent="account.root_payment_menu"/> |
|||
</odoo> |
|||
|
@ -1,86 +1,82 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<data> |
|||
<!-- Account Financial Report --> |
|||
|
|||
<record id="view_account_financial_report_form" model="ir.ui.view"> |
|||
<field name="name">account.financial.report.form</field> |
|||
<field name="model">account.financial.report</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Account Report"> |
|||
<group col="4"> |
|||
<field name="name"/> |
|||
<field name="parent_id"/> |
|||
<field name="sequence"/> |
|||
<field name="type"/> |
|||
<field name="sign"/> |
|||
<field name="style_overwrite"/> |
|||
</group> |
|||
<notebook invisible="type not in ['accounts','account_type', 'account_report']"> |
|||
<page string="Report"> |
|||
<group> |
|||
<field name="display_detail" |
|||
invisible="type not in ['accounts','account_type']"/> |
|||
<field name="account_report_id" |
|||
invisible="type not in ['accounts','account_report']"/> |
|||
</group> |
|||
<field name="account_ids" invisible="type != 'accounts'"/> |
|||
<field name="account_type_ids" invisible="type != 'account_type'"/> |
|||
</page> |
|||
</notebook> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="view_account_financial_report_tree" model="ir.ui.view"> |
|||
<field name="name">account.financial.report.tree</field> |
|||
<field name="model">account.financial.report</field> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Account Report"> |
|||
<!-- Account Financial Report --> |
|||
<record id="view_account_financial_report_form" model="ir.ui.view"> |
|||
<field name="name">account.financial.report.form</field> |
|||
<field name="model">account.financial.report</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Account Report"> |
|||
<group col="4"> |
|||
<field name="name"/> |
|||
<field name="parent_id" invisible="1"/> |
|||
<field name="parent_id"/> |
|||
<field name="sequence"/> |
|||
<field name="type"/> |
|||
<field name="account_report_id"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="view_account_financial_report_search" model="ir.ui.view"> |
|||
<field name="name">account.financial.report.search</field> |
|||
<field name="model">account.financial.report</field> |
|||
<field name="arch" type="xml"> |
|||
<search string="Account Report"> |
|||
<field name="name" string="Account Report"/> |
|||
<field name="type"/> |
|||
<field name="account_report_id"/> |
|||
<group expand="0" string="Group By"> |
|||
<filter string="Parent Report" |
|||
name="filter_parent_rep" |
|||
domain="" |
|||
context="{'group_by':'parent_id'}"/> |
|||
<filter string="Report Type" |
|||
name="filter_rep_type" |
|||
domain="[]" |
|||
context="{'group_by':'type'}"/> |
|||
</group> |
|||
</search> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="action_account_financial_report_tree" |
|||
model="ir.actions.act_window"> |
|||
<field name="name">Financial Reports</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">account.financial.report</field> |
|||
<field name="view_mode">tree,form</field> |
|||
<field name="search_view_id" |
|||
ref="view_account_financial_report_search"/> |
|||
<field name="view_id" ref="view_account_financial_report_tree"/> |
|||
</record> |
|||
|
|||
<menuitem id="menu_account_financial_reports_tree" |
|||
name="Account Reports" parent="account.account_account_menu" |
|||
action="action_account_financial_report_tree" |
|||
/> |
|||
</data> |
|||
<field name="sign"/> |
|||
<field name="style_overwrite"/> |
|||
</group> |
|||
<notebook |
|||
invisible="type not in ['accounts','account_type', 'account_report']"> |
|||
<page string="Report"> |
|||
<group> |
|||
<field name="display_detail" |
|||
invisible="type not in ['accounts','account_type']"/> |
|||
<field name="account_report_id" |
|||
invisible="type not in ['accounts','account_report']"/> |
|||
</group> |
|||
<field name="account_ids" |
|||
invisible="type != 'accounts'"/> |
|||
<field name="account_type_ids" |
|||
invisible="type != 'account_type'"/> |
|||
</page> |
|||
</notebook> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<record id="view_account_financial_report_tree" model="ir.ui.view"> |
|||
<field name="name">account.financial.report.tree</field> |
|||
<field name="model">account.financial.report</field> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Account Report"> |
|||
<field name="name"/> |
|||
<field name="parent_id" invisible="1"/> |
|||
<field name="type"/> |
|||
<field name="account_report_id"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
<record id="view_account_financial_report_search" model="ir.ui.view"> |
|||
<field name="name">account.financial.report.search</field> |
|||
<field name="model">account.financial.report</field> |
|||
<field name="arch" type="xml"> |
|||
<search string="Account Report"> |
|||
<field name="name" string="Account Report"/> |
|||
<field name="type"/> |
|||
<field name="account_report_id"/> |
|||
<group expand="0" string="Group By"> |
|||
<filter string="Parent Report" |
|||
name="filter_parent_rep" |
|||
domain="" |
|||
context="{'group_by':'parent_id'}"/> |
|||
<filter string="Report Type" |
|||
name="filter_rep_type" |
|||
domain="[]" |
|||
context="{'group_by':'type'}"/> |
|||
</group> |
|||
</search> |
|||
</field> |
|||
</record> |
|||
<record id="action_account_financial_report_tree" |
|||
model="ir.actions.act_window"> |
|||
<field name="name">Financial Reports</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">account.financial.report</field> |
|||
<field name="view_mode">tree,form</field> |
|||
<field name="search_view_id" |
|||
ref="view_account_financial_report_search"/> |
|||
<field name="view_id" ref="view_account_financial_report_tree"/> |
|||
</record> |
|||
<menuitem id="menu_account_financial_reports_tree" |
|||
name="Account Reports" parent="account.account_account_menu" |
|||
action="action_account_financial_report_tree" |
|||
/> |
|||
</odoo> |
|||
|
@ -1,43 +1,40 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<odoo> |
|||
<data> |
|||
<record id="es_config_settings_view_form_base_accounting_kit" model="ir.ui.view"> |
|||
<field name="name">res.config.view.inherited.base.accounting.kit</field> |
|||
<field name="model">res.config.settings</field> |
|||
<field name="priority" eval="30"/> |
|||
<field name="inherit_id" ref="account.res_config_settings_view_form"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//block[@id='invoicing_settings']" position="inside"> |
|||
<div class="col-12 col-lg-6 o_setting_box"> |
|||
<div class="o_setting_left_pane"> |
|||
<field name="customer_credit_limit" on_change="1"/> |
|||
</div> |
|||
<div class="o_setting_right_pane" id="snailmail_settings"> |
|||
<label for="customer_credit_limit"/> |
|||
<div class="text-muted"> |
|||
Enable credit limit for customers |
|||
</div> |
|||
</div> |
|||
<record id="es_config_settings_view_form_base_accounting_kit" |
|||
model="ir.ui.view"> |
|||
<field name="name">res.config.view.inherited.base.accounting.kit</field> |
|||
<field name="model">res.config.settings</field> |
|||
<field name="priority" eval="30"/> |
|||
<field name="inherit_id" ref="account.res_config_settings_view_form"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//block[@id='invoicing_settings']" position="inside"> |
|||
<div class="col-12 col-lg-6 o_setting_box"> |
|||
<div class="o_setting_left_pane"> |
|||
<field name="customer_credit_limit" on_change="1"/> |
|||
</div> |
|||
</xpath> |
|||
|
|||
<!-- Remove the enterprise budget option --> |
|||
|
|||
<xpath expr="//setting[@id='account_budget']" position="replace"/> |
|||
<xpath expr="//block[@id='bank_cash']" position="inside"> |
|||
<div class="col-12 col-lg-6 o_setting_box"> |
|||
<div class="o_setting_left_pane"> |
|||
<field name="use_anglo_saxon_accounting"/> |
|||
<div class="o_setting_right_pane" id="snailmail_settings"> |
|||
<label for="customer_credit_limit"/> |
|||
<div class="text-muted"> |
|||
Enable credit limit for customers |
|||
</div> |
|||
<div class="o_setting_right_pane"> |
|||
<label for="use_anglo_saxon_accounting"/> |
|||
<div class="text-muted"> |
|||
It will record the cost of good sold. |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</xpath> |
|||
<!-- Remove the enterprise budget option --> |
|||
<xpath expr="//setting[@id='account_budget']" position="replace"/> |
|||
<xpath expr="//block[@id='bank_cash']" position="inside"> |
|||
<div class="col-12 col-lg-6 o_setting_box"> |
|||
<div class="o_setting_left_pane"> |
|||
<field name="use_anglo_saxon_accounting"/> |
|||
</div> |
|||
<div class="o_setting_right_pane"> |
|||
<label for="use_anglo_saxon_accounting"/> |
|||
<div class="text-muted"> |
|||
It will record the cost of good sold. |
|||
</div> |
|||
</div> |
|||
|
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</data> |
|||
</div> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</odoo> |
@ -1,43 +1,43 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<odoo> |
|||
<data> |
|||
<record id="account_bank_book_form_view" model="ir.ui.view"> |
|||
<field name="name">account.bank.book.form.view</field> |
|||
<field name="model">account.bank.book.report</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Bank Book Report"> |
|||
<field name="company_id" invisible="1"/> |
|||
<group col="4"> |
|||
<field name="target_move" widget="radio"/> |
|||
<field name="sortby" widget="radio"/> |
|||
<field name="initial_balance"/> |
|||
<newline/> |
|||
<newline/> |
|||
<field name="date_from"/> |
|||
<field name="date_to"/> |
|||
</group> |
|||
<group> |
|||
<field name="account_ids" widget="many2many_tags"/> |
|||
<field name="journal_ids" widget="many2many_tags" options="{'no_create': True}"/> |
|||
</group> |
|||
<footer> |
|||
<button name="check_report" string="Print" type="object" default_focus="1" class="oe_highlight"/> |
|||
<button string="Cancel" class="btn btn-default" special="cancel" /> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="action_account_bank_book_view" model="ir.actions.act_window"> |
|||
<field name="name">Bank Book Report</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">account.bank.book.report</field> |
|||
<field name="view_id" ref="account_bank_book_form_view"/> |
|||
<field name="view_mode">form</field> |
|||
<field name="target">new</field> |
|||
</record> |
|||
|
|||
<menuitem id="account_bank_book_menu" name="Bank Book" action="action_account_bank_book_view" |
|||
parent="base_accounting_kit.account_reports_daily_reports"/> |
|||
</data> |
|||
<record id="account_bank_book_form_view" model="ir.ui.view"> |
|||
<field name="name">account.bank.book.form.view</field> |
|||
<field name="model">account.bank.book.report</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Bank Book Report"> |
|||
<field name="company_id" invisible="1"/> |
|||
<group col="4"> |
|||
<field name="target_move" widget="radio"/> |
|||
<field name="sortby" widget="radio"/> |
|||
<field name="initial_balance"/> |
|||
<newline/> |
|||
<newline/> |
|||
<field name="date_from"/> |
|||
<field name="date_to"/> |
|||
</group> |
|||
<group> |
|||
<field name="account_ids" widget="many2many_tags"/> |
|||
<field name="journal_ids" widget="many2many_tags" |
|||
options="{'no_create': True}"/> |
|||
</group> |
|||
<footer> |
|||
<button name="check_report" string="Print" type="object" |
|||
default_focus="1" class="oe_highlight"/> |
|||
<button string="Cancel" class="btn btn-default" |
|||
special="cancel"/> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<record id="action_account_bank_book_view" model="ir.actions.act_window"> |
|||
<field name="name">Bank Book Report</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">account.bank.book.report</field> |
|||
<field name="view_id" ref="account_bank_book_form_view"/> |
|||
<field name="view_mode">form</field> |
|||
<field name="target">new</field> |
|||
</record> |
|||
<menuitem id="account_bank_book_menu" name="Bank Book" |
|||
action="action_account_bank_book_view" |
|||
parent="base_accounting_kit.account_reports_daily_reports"/> |
|||
</odoo> |
@ -1,43 +1,43 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<odoo> |
|||
<data> |
|||
<record id="account_cash_book_form_view" model="ir.ui.view"> |
|||
<field name="name">account.cash.book.form.view</field> |
|||
<field name="model">account.cash.book.report</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Cash Book Report"> |
|||
<field name="company_id" invisible="1"/> |
|||
<group col="4"> |
|||
<field name="target_move" widget="radio"/> |
|||
<field name="sortby" widget="radio"/> |
|||
<field name="initial_balance"/> |
|||
<newline/> |
|||
<newline/> |
|||
<field name="date_from"/> |
|||
<field name="date_to"/> |
|||
</group> |
|||
<group> |
|||
<field name="account_ids" widget="many2many_tags"/> |
|||
<field name="journal_ids" widget="many2many_tags" options="{'no_create': True}"/> |
|||
</group> |
|||
<footer> |
|||
<button name="check_report" string="Print" type="object" default_focus="1" class="oe_highlight"/> |
|||
<button string="Cancel" class="btn btn-default" special="cancel" /> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="action_account_cash_book_view" model="ir.actions.act_window"> |
|||
<field name="name">Cash Book Report</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">account.cash.book.report</field> |
|||
<field name="view_id" ref="account_cash_book_form_view"/> |
|||
<field name="view_mode">form</field> |
|||
<field name="target">new</field> |
|||
</record> |
|||
|
|||
<menuitem id="account_cash_book_menu" name="Cash Book" action="action_account_cash_book_view" |
|||
parent="base_accounting_kit.account_reports_daily_reports"/> |
|||
</data> |
|||
</odoo> |
|||
<record id="account_cash_book_form_view" model="ir.ui.view"> |
|||
<field name="name">account.cash.book.form.view</field> |
|||
<field name="model">account.cash.book.report</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Cash Book Report"> |
|||
<field name="company_id" invisible="1"/> |
|||
<group col="4"> |
|||
<field name="target_move" widget="radio"/> |
|||
<field name="sortby" widget="radio"/> |
|||
<field name="initial_balance"/> |
|||
<newline/> |
|||
<newline/> |
|||
<field name="date_from"/> |
|||
<field name="date_to"/> |
|||
</group> |
|||
<group> |
|||
<field name="account_ids" widget="many2many_tags"/> |
|||
<field name="journal_ids" widget="many2many_tags" |
|||
options="{'no_create': True}"/> |
|||
</group> |
|||
<footer> |
|||
<button name="check_report" string="Print" type="object" |
|||
default_focus="1" class="oe_highlight"/> |
|||
<button string="Cancel" class="btn btn-default" |
|||
special="cancel"/> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<record id="action_account_cash_book_view" model="ir.actions.act_window"> |
|||
<field name="name">Cash Book Report</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">account.cash.book.report</field> |
|||
<field name="view_id" ref="account_cash_book_form_view"/> |
|||
<field name="view_mode">form</field> |
|||
<field name="target">new</field> |
|||
</record> |
|||
<menuitem id="account_cash_book_menu" name="Cash Book" |
|||
action="action_account_cash_book_view" |
|||
parent="base_accounting_kit.account_reports_daily_reports"/> |
|||
</odoo> |
|||
|
@ -1,40 +1,40 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<odoo> |
|||
<data> |
|||
<record id="account_day_book_form_view" model="ir.ui.view"> |
|||
<field name="name">account.day.book.form.view</field> |
|||
<field name="model">account.day.book.report</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Cash Book Report"> |
|||
<field name="company_id" invisible="1"/> |
|||
<group col="4"> |
|||
<field name="target_move" widget="radio"/> |
|||
<newline/> |
|||
<field name="date_from"/> |
|||
<field name="date_to"/> |
|||
</group> |
|||
<group> |
|||
<field name="account_ids" widget="many2many_tags"/> |
|||
<field name="journal_ids" widget="many2many_tags" options="{'no_create': True}"/> |
|||
</group> |
|||
<footer> |
|||
<button name="check_report" string="Print" type="object" default_focus="1" class="oe_highlight"/> |
|||
<button string="Cancel" class="btn btn-default" special="cancel" /> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="action_account_day_book_view" model="ir.actions.act_window"> |
|||
<field name="name">Day Book Report</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">account.day.book.report</field> |
|||
<field name="view_id" ref="account_day_book_form_view"/> |
|||
<field name="view_mode">form</field> |
|||
<field name="target">new</field> |
|||
</record> |
|||
|
|||
<menuitem id="account_day_book_menu" name="Day Book" action="action_account_day_book_view" |
|||
parent="base_accounting_kit.account_reports_daily_reports"/> |
|||
</data> |
|||
<record id="account_day_book_form_view" model="ir.ui.view"> |
|||
<field name="name">account.day.book.form.view</field> |
|||
<field name="model">account.day.book.report</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Cash Book Report"> |
|||
<field name="company_id" invisible="1"/> |
|||
<group col="4"> |
|||
<field name="target_move" widget="radio"/> |
|||
<newline/> |
|||
<field name="date_from"/> |
|||
<field name="date_to"/> |
|||
</group> |
|||
<group> |
|||
<field name="account_ids" widget="many2many_tags"/> |
|||
<field name="journal_ids" widget="many2many_tags" |
|||
options="{'no_create': True}"/> |
|||
</group> |
|||
<footer> |
|||
<button name="check_report" string="Print" type="object" |
|||
default_focus="1" class="oe_highlight"/> |
|||
<button string="Cancel" class="btn btn-default" |
|||
special="cancel"/> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<record id="action_account_day_book_view" model="ir.actions.act_window"> |
|||
<field name="name">Day Book Report</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">account.day.book.report</field> |
|||
<field name="view_id" ref="account_day_book_form_view"/> |
|||
<field name="view_mode">form</field> |
|||
<field name="target">new</field> |
|||
</record> |
|||
<menuitem id="account_day_book_menu" name="Day Book" |
|||
action="action_account_day_book_view" |
|||
parent="base_accounting_kit.account_reports_daily_reports"/> |
|||
</odoo> |
@ -1,65 +1,62 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<odoo> |
|||
<data> |
|||
<!-- Financial report common form view --> |
|||
<record id="financial_report_wiz_modified" model="ir.ui.view"> |
|||
<field name="name">financial.report.extended.wiz</field> |
|||
<field name="model">financial.report</field> |
|||
<field name="arch" type="xml"> |
|||
<form> |
|||
<!-- Financial report common form view --> |
|||
<record id="financial_report_wiz_modified" model="ir.ui.view"> |
|||
<field name="name">financial.report.extended.wiz</field> |
|||
<field name="model">financial.report</field> |
|||
<field name="arch" type="xml"> |
|||
<form> |
|||
<group> |
|||
<group string="Dates"> |
|||
<field name="date_from"/> |
|||
<field name="date_to"/> |
|||
</group> |
|||
<group> |
|||
<group string="Dates"> |
|||
<field name="date_from"/> |
|||
<field name="date_to"/> |
|||
</group> |
|||
<group> |
|||
<field name="target_move" widget="radio"/> |
|||
<field name="view_format" widget="radio" invisible="1"/> |
|||
<field name="enable_filter" invisible="1"/> |
|||
<field name="debit_credit"/> |
|||
<field name="company_id" invisible="1"/> |
|||
</group> |
|||
<field name="target_move" widget="radio"/> |
|||
<field name="view_format" widget="radio" invisible="1"/> |
|||
<field name="enable_filter" invisible="1"/> |
|||
<field name="debit_credit"/> |
|||
<field name="company_id" invisible="1"/> |
|||
</group> |
|||
</group> |
|||
|
|||
<footer> |
|||
<button string="Print" name="view_report_pdf" type="object" |
|||
class="btn-primary"/> |
|||
<button string="Discard" class="btn-secondary" |
|||
special="cancel"/> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<!-- Action for profit and loss --> |
|||
<record id="action_profit_and_loss_report" model="ir.actions.act_window"> |
|||
<field name="name">Profit and Loss</field> |
|||
<field name="res_model">financial.report</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="view_id" ref="financial_report_wiz_modified"/> |
|||
<field name="target">new</field> |
|||
<field name="context" |
|||
eval="{'default_account_report_id':ref('base_accounting_kit.account_financial_report_profitandloss0')}"/> |
|||
</record> |
|||
|
|||
<!-- Action for balance sheet --> |
|||
<record id="action_balance_sheet_report" model="ir.actions.act_window"> |
|||
<field name="name">Balance Sheet</field> |
|||
<field name="res_model">financial.report</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="view_id" ref="financial_report_wiz_modified"/> |
|||
<field name="target">new</field> |
|||
<field name="context" |
|||
eval="{'default_account_report_id':ref('base_accounting_kit.account_financial_report_balancesheet0')}"/> |
|||
</record> |
|||
|
|||
<menuitem id="account_financial_reports_profit_loss" sequence="1" |
|||
name="Profit and Loss" parent="base_accounting_kit.account_reports_generic_statements" |
|||
action="action_profit_and_loss_report"/> |
|||
|
|||
<menuitem id="_account_financial_reports_balance_sheet" sequence="2" |
|||
name="Balance Sheet" parent="base_accounting_kit.account_reports_generic_statements" |
|||
action="action_balance_sheet_report"/> |
|||
</data> |
|||
<footer> |
|||
<button string="Print" name="view_report_pdf" type="object" |
|||
class="btn-primary"/> |
|||
<button string="Discard" class="btn-secondary" |
|||
special="cancel"/> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<!-- Action for profit and loss --> |
|||
<record id="action_profit_and_loss_report" model="ir.actions.act_window"> |
|||
<field name="name">Profit and Loss</field> |
|||
<field name="res_model">financial.report</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="view_id" ref="financial_report_wiz_modified"/> |
|||
<field name="target">new</field> |
|||
<field name="context" |
|||
eval="{'default_account_report_id':ref('base_accounting_kit.account_financial_report_profitandloss0')}"/> |
|||
</record> |
|||
<!-- Action for balance sheet --> |
|||
<record id="action_balance_sheet_report" model="ir.actions.act_window"> |
|||
<field name="name">Balance Sheet</field> |
|||
<field name="res_model">financial.report</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="view_id" ref="financial_report_wiz_modified"/> |
|||
<field name="target">new</field> |
|||
<field name="context" |
|||
eval="{'default_account_report_id':ref('base_accounting_kit.account_financial_report_balancesheet0')}"/> |
|||
</record> |
|||
<menuitem id="account_financial_reports_profit_loss" sequence="1" |
|||
name="Profit and Loss" |
|||
parent="base_accounting_kit.account_reports_generic_statements" |
|||
action="action_profit_and_loss_report"/> |
|||
<menuitem id="_account_financial_reports_balance_sheet" sequence="2" |
|||
name="Balance Sheet" |
|||
parent="base_accounting_kit.account_reports_generic_statements" |
|||
action="action_balance_sheet_report"/> |
|||
</odoo> |
|||
|
Loading…
Reference in new issue