File tree Expand file tree Collapse file tree 3 files changed +36
-0
lines changed
Expand file tree Collapse file tree 3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -15,3 +15,9 @@ class ResConfigSettings(models.TransientModel):
1515 "invoiced to a final customer."
1616 ),
1717 )
18+ fiscalyear_last_day = fields .Integer (
19+ related = "company_id.fiscalyear_last_day" , readonly = False
20+ )
21+ fiscalyear_last_month = fields .Selection (
22+ related = "company_id.fiscalyear_last_month" , readonly = False
23+ )
Original file line number Diff line number Diff line change @@ -24,3 +24,6 @@ that are hidden and available only on EE version.
2424 to fit with the EE terms.
2525
26264) Rename the main menu 'Billing' into 'Accounting' to fit with EE naming.
27+
28+ 5) Allow to configure ``fiscalyear_last_day `` and ``fiscalyear_last_month ``
29+ fields on accounting configuration page.
Original file line number Diff line number Diff line change 2828 </div >
2929 </div >
3030 </div >
31+ <div id =" accounting_reports" position =" after" >
32+ <div
33+ class =" row mt16 o_settings_container"
34+ id =" fiscalyear_last_day_month"
35+ >
36+ <div class =" o_setting_left_pane" />
37+ <div class =" o_setting_right_pane" >
38+ <label
39+ string =" Fiscal Year Last Day"
40+ for =" fiscalyear_last_day"
41+ />
42+ <div >
43+ <field
44+ name =" fiscalyear_last_day"
45+ class =" oe_inline"
46+ />
47+ <field
48+ name =" fiscalyear_last_month"
49+ class =" oe_inline"
50+ />
51+ </div >
52+ <div class =" text-muted" >
53+ Type the day and select the month of the last day of the company's fiscal year.
54+ </div >
55+ </div >
56+ </div >
57+ </div >
3158 </field >
3259 </record >
3360</odoo >
You can’t perform that action at this time.
0 commit comments