-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [MIG] Make modules uninstallable * [MIG] Rename manifest files * [MIG] Update metafiles * [10.0] merge changes from v9 (#60) * FIX account payment group search viewx * OCA Transbot updated translations from Transifex * IMP order on payments * IMP check migration * IMP checks migration * FIX wizard payment group invoice (#59) * OCA Transbot updated translations from Transifex * [9.0] Fix onchange of m2m computed fields used in domains * [9.0] Fix onchange of m2m computed fields used in domains * [10.0] MIG checks, payment groups, withholdings, etc * REF migrate * FIX hooks * IMP * REF * REF * REF * [10.0][IMP] rename menu id due to odoo warnings (#62) * REF use unicode if needed * [FIX] clean merge dirty * [FIX] merge * [FIX] merge * [ADD] oca deps. repos * [REL] account_payment_fix on v11 * [IMP]
- Loading branch information
1 parent
be93234
commit 5142a43
Showing
44 changed files
with
674 additions
and
991 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# -*- coding: utf-8 -*- | ||
from odoo import fields, models | ||
# from odoo.exceptions import UserError | ||
|
||
|
||
class ResConfigSettings(models.TransientModel): | ||
_inherit = 'res.config.settings' | ||
|
||
rejected_check_account_id = fields.Many2one( | ||
related='company_id.rejected_check_account_id', | ||
) | ||
deferred_check_account_id = fields.Many2one( | ||
related='company_id.deferred_check_account_id', | ||
) | ||
holding_check_account_id = fields.Many2one( | ||
related='company_id.holding_check_account_id', | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<data> | ||
<record id="view_account_chart_template_form" model="ir.ui.view"> | ||
<field name="name">account.chart.template.form</field> | ||
<field name="model">account.chart.template</field> | ||
<field name="inherit_id" ref="account.view_account_chart_template_form"/> | ||
<field name="arch" type="xml"> | ||
<field name="property_account_income_id" position="after"> | ||
<field name="rejected_check_account_id"/> | ||
<field name="deferred_check_account_id"/> | ||
<field name="holding_check_account_id"/> | ||
</field> | ||
<record id="view_account_chart_template_form" model="ir.ui.view"> | ||
<field name="name">account.chart.template.form</field> | ||
<field name="model">account.chart.template</field> | ||
<field name="inherit_id" ref="account.view_account_chart_template_form"/> | ||
<field name="arch" type="xml"> | ||
<field name="property_account_income_id" position="after"> | ||
<field name="rejected_check_account_id"/> | ||
<field name="deferred_check_account_id"/> | ||
<field name="holding_check_account_id"/> | ||
</field> | ||
</record> | ||
</data> | ||
</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,44 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<data> | ||
|
||
<record id="view_account_checkbook_tree" model="ir.ui.view"> | ||
<field name="name">account.checkbook.tree</field> | ||
<field name="model">account.checkbook</field> | ||
<field name="arch" type="xml"> | ||
<tree string="Checkbooks" colors="blue:state == 'draft';black:state in ('active');red:state == 'hrejected';gray:state == 'used'" editable="bottom"> | ||
<field name="issue_check_subtype"/> | ||
<field name="name"/> | ||
<field name="next_number"/> | ||
<field name="range_to"/> | ||
<field name="numerate_on_printing"/> | ||
<!-- <field name="block_manual_number"/> --> | ||
<field name="state"/> | ||
</tree> | ||
</field> | ||
</record> | ||
<record id="view_account_checkbook_tree" model="ir.ui.view"> | ||
<field name="name">account.checkbook.tree</field> | ||
<field name="model">account.checkbook</field> | ||
<field name="arch" type="xml"> | ||
<tree string="Checkbooks" colors="blue:state == 'draft';black:state in ('active');red:state == 'hrejected';gray:state == 'used'" editable="bottom"> | ||
<field name="issue_check_subtype"/> | ||
<field name="name"/> | ||
<field name="next_number"/> | ||
<field name="range_to"/> | ||
<field name="numerate_on_printing"/> | ||
<!-- <field name="block_manual_number"/> --> | ||
<field name="state"/> | ||
</tree> | ||
</field> | ||
</record> | ||
|
||
<record id="view_account_checkbook_form" model="ir.ui.view"> | ||
<field name="name">account.checkbook.form</field> | ||
<field name="model">account.checkbook</field> | ||
<field name="arch" type="xml"> | ||
<form string="Checkbooks"> | ||
<header string="Checkbooks"> | ||
<field name="state" widget="statusbar" clickable="True"/> | ||
</header> | ||
<sheet string="Checkbooks"> | ||
<group> | ||
<field name="name" invisible="1"/> | ||
<field name="sequence_id" groups="base.group_no_one"/> | ||
<field name="next_number"/> | ||
<field name="issue_check_subtype"/> | ||
<field name="range_to"/> | ||
<field name="numerate_on_printing"/> | ||
<!-- <field name="block_manual_number"/> --> | ||
<field name="report_template"/> | ||
</group> | ||
</sheet> | ||
</form> | ||
</field> | ||
</record> | ||
|
||
</data> | ||
</odoo> | ||
<record id="view_account_checkbook_form" model="ir.ui.view"> | ||
<field name="name">account.checkbook.form</field> | ||
<field name="model">account.checkbook</field> | ||
<field name="arch" type="xml"> | ||
<form string="Checkbooks"> | ||
<header string="Checkbooks"> | ||
<field name="state" widget="statusbar" clickable="True"/> | ||
</header> | ||
<sheet string="Checkbooks"> | ||
<group> | ||
<field name="name" invisible="1"/> | ||
<field name="sequence_id" groups="base.group_no_one"/> | ||
<field name="next_number"/> | ||
<field name="issue_check_subtype"/> | ||
<field name="range_to"/> | ||
<field name="numerate_on_printing"/> | ||
<!-- <field name="block_manual_number"/> --> | ||
<field name="report_template"/> | ||
</group> | ||
</sheet> | ||
</form> | ||
</field> | ||
</record> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,55 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<data> | ||
<record id="account_journal_dashboard_kanban_view_inherited" model="ir.ui.view"> | ||
<field name="name">account.journal.dashboard.kanban.inherited</field> | ||
<field name="model">account.journal</field> | ||
<field name="inherit_id" ref="account.account_journal_dashboard_kanban_view" /> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//t[@t-name='JournalBodyBankCash']//div[contains(@class, 'o_kanban_primary_right')]" position="inside"> | ||
<div t-if="dashboard.show_third_checks"> | ||
<div class="row"> | ||
<div class="col-xs-6"> | ||
<a type="object" name="open_action_checks" context="{'check_type': 'third_check'}"> | ||
<t t-esc="dashboard.num_holding_third_checks"/> | ||
<t>Third Check(s) on hand</t> | ||
</a> | ||
</div> | ||
<div class="col-xs-6 text-right"> | ||
<span><t t-esc="dashboard.holding_amount"/></span> | ||
</div> | ||
<record id="account_journal_dashboard_kanban_view_inherited" model="ir.ui.view"> | ||
<field name="name">account.journal.dashboard.kanban.inherited</field> | ||
<field name="model">account.journal</field> | ||
<field name="inherit_id" ref="account.account_journal_dashboard_kanban_view" /> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//t[@t-name='JournalBodyBankCash']//div[contains(@class, 'o_kanban_primary_right')]" position="inside"> | ||
<div t-if="dashboard.show_third_checks"> | ||
<div class="row"> | ||
<div class="col-xs-6"> | ||
<a type="object" name="open_action_checks" context="{'check_type': 'third_check'}"> | ||
<t t-esc="dashboard.num_holding_third_checks"/> | ||
<t>Third Check(s) on hand</t> | ||
</a> | ||
</div> | ||
<!-- not so usefull --> | ||
<div class="col-xs-6 text-right"> | ||
<span><t t-esc="dashboard.holding_amount"/></span> | ||
</div> | ||
</div> | ||
</div> | ||
<!-- not so usefull --> | ||
<!-- <div class="row"> | ||
<div class="col-xs-12"> | ||
<a type="object" name="open_transfer_money">Checks Deposits</a> | ||
</div> | ||
</div> --> | ||
<div class="col-xs-12"> | ||
<a type="object" name="open_transfer_money">Checks Deposits</a> | ||
</div> | ||
<div t-if="dashboard.show_issue_checks"> | ||
<div class="row"> | ||
<div class="col-xs-6"> | ||
<a type="object" name="open_action_checks" context="{'check_type': 'issue_check'}"> | ||
<t t-esc="dashboard.num_handed_issue_checks"/> | ||
<t>Issue Check(s) handed</t> | ||
</a> | ||
</div> | ||
<div class="col-xs-6 text-right"> | ||
<span><t t-esc="dashboard.handed_amount"/></span> | ||
</div> | ||
</div> | ||
</div> --> | ||
</div> | ||
<div t-if="dashboard.show_issue_checks"> | ||
<div class="row"> | ||
<div class="col-xs-6"> | ||
<a type="object" name="open_action_checks" context="{'check_type': 'issue_check'}"> | ||
<t t-esc="dashboard.num_handed_issue_checks"/> | ||
<t>Issue Check(s) handed</t> | ||
</a> | ||
</div> | ||
<div class="col-xs-6 text-right"> | ||
<span><t t-esc="dashboard.handed_amount"/></span> | ||
</div> | ||
<div t-if="dashboard.num_checks_to_numerate"> | ||
<div class="row"> | ||
<div class="col-xs-12"> | ||
<a type="object" name="action_checks_to_numerate"> | ||
<t t-esc="dashboard.num_checks_to_numerate"/> | ||
<t t-if="dashboard.num_checks_to_numerate == 1">Check to print and numerate</t> | ||
<t t-if="dashboard.num_checks_to_numerate != 1">Checks to print and numerate</t> | ||
</a> | ||
</div> | ||
</div> | ||
<div t-if="dashboard.num_checks_to_numerate"> | ||
<div class="row"> | ||
<div class="col-xs-12"> | ||
<a type="object" name="action_checks_to_numerate"> | ||
<t t-esc="dashboard.num_checks_to_numerate"/> | ||
<t t-if="dashboard.num_checks_to_numerate == 1">Check to print and numerate</t> | ||
<t t-if="dashboard.num_checks_to_numerate != 1">Checks to print and numerate</t> | ||
</a> | ||
</div> | ||
</div> | ||
</xpath> | ||
</field> | ||
</record> | ||
</data> | ||
</div> | ||
</xpath> | ||
</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<data> | ||
<record id="view_account_check_journal_form" model="ir.ui.view"> | ||
<field name="name">account_check.account.journal.form</field> | ||
<field name="model">account.journal</field> | ||
<field name="inherit_id" ref="account.view_account_journal_form"/> | ||
<field name="arch" type="xml"> | ||
<page name="bank_account"> | ||
<label for="checkbook_ids"/> | ||
<field name="checkbook_ids" attrs="{'invisible': [('type', '!=', 'bank')]}" context="{'company_id':company_id}"/> | ||
</page> | ||
</field> | ||
</record> | ||
</data> | ||
<record id="view_account_check_journal_form" model="ir.ui.view"> | ||
<field name="name">account_check.account.journal.form</field> | ||
<field name="model">account.journal</field> | ||
<field name="inherit_id" ref="account.view_account_journal_form"/> | ||
<field name="arch" type="xml"> | ||
<page name="bank_account"> | ||
<label for="checkbook_ids"/> | ||
<field name="checkbook_ids" attrs="{'invisible': [('type', '!=', 'bank')]}" context="{'company_id':company_id}"/> | ||
</page> | ||
</field> | ||
</record> | ||
</odoo> |
Oops, something went wrong.