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