Initial commit

This commit is contained in:
gsinghpal
2026-02-22 01:22:18 -05:00
commit 5200d5baf0
2394 changed files with 386834 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
# Fusion Accounting - Fiscal Year Opening Wizard
# Extends the base fiscal year opening wizard with
# tax periodicity configuration fields.
from odoo import api, fields, models, _
class FinancialYearOpeningWizard(models.TransientModel):
"""Extension of the fiscal year opening balance wizard that
exposes tax periodicity settings for the current company."""
_inherit = 'account.financial.year.op'
_description = 'Opening Balance of Financial Year'
# --- Tax Periodicity Configuration ---
account_tax_periodicity = fields.Selection(
related='company_id.account_tax_periodicity',
string='Periodicity in month',
readonly=False,
required=True,
)
account_tax_periodicity_reminder_day = fields.Integer(
related='company_id.account_tax_periodicity_reminder_day',
string='Reminder',
readonly=False,
required=True,
)
account_tax_periodicity_journal_id = fields.Many2one(
related='company_id.account_tax_periodicity_journal_id',
string='Journal',
readonly=False,
)