-
-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
account_cutoff_start_end_dates: small code improvements
- Loading branch information
1 parent
f835c41
commit 363ab49
Showing
4 changed files
with
46 additions
and
37 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
36 changes: 36 additions & 0 deletions
36
account_cutoff_start_end_dates/views/account_cutoff_line.xml
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,36 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- | ||
Copyright 2013-2022 Akretion France (http://www.akretion.com/) | ||
@author: Alexis de Lattre <[email protected]> | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
--> | ||
<odoo> | ||
<record id="account_cutoff_line_form" model="ir.ui.view"> | ||
<field name="name">account.cutoff.line.prepaid.form</field> | ||
<field name="model">account.cutoff.line</field> | ||
<field name="inherit_id" ref="account_cutoff_base.account_cutoff_line_form" /> | ||
<field name="arch" type="xml"> | ||
<field name="name" position="after"> | ||
<field name="start_date" /> | ||
<field name="end_date" /> | ||
</field> | ||
<field name="cutoff_amount" position="before"> | ||
<field name="total_days" /> | ||
<field name="cutoff_days" /> | ||
</field> | ||
</field> | ||
</record> | ||
<record id="account_cutoff_line_tree" model="ir.ui.view"> | ||
<field name="name">account.cutoff.line.prepaid.tree</field> | ||
<field name="model">account.cutoff.line</field> | ||
<field name="inherit_id" ref="account_cutoff_base.account_cutoff_line_tree" /> | ||
<field name="arch" type="xml"> | ||
<field name="analytic_distribution" position="after"> | ||
<field name="start_date" optional="show" /> | ||
<field name="end_date" optional="show" /> | ||
<field name="total_days" optional="show" /> | ||
<field name="cutoff_days" optional="show" /> | ||
</field> | ||
</field> | ||
</record> | ||
</odoo> |