Repository
OCA/l10n-japan · module folder · Try on Runboat
Module version
1.0.0
Category
Japanese Localization
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-japan
Last tracking update
2026-08-07 08:43:07
Authors
Odoo Community Association (OCA), Quartile
Maintainers
Odoo Community Association (OCA), Quartile
Committers
OCA-git-bot, oca-ci, yostashiro
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module extends Japan Summary Invoice to support carryover amount tracking
for recurring billing cycles.

It adds the following fields to billings:

- **Previous Billed Amount**: Total from the previous billing period
- **Payment Amount**: Payments received against the previous billing
- **Carryover Amount**: Outstanding balance carried forward
- **Total Billed Amount**: Carryover plus current purchases

Manual override fields are available to adjust values when needed.

The visibility of carryover amounts in the report can be controlled at
company, partner, and billing levels.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
report_summary_invoice_document_carryover report_summary_invoice_document_carryover ir.ui.view qweb Inherits l10n_jp_summary_invoice.report_summary_invoice_document
res_config_settings_view_form res.config.settings.view.form - l10n_jp_summary_invoice_carryover res.config.settings form Inherits l10n_jp_summary_invoice.res_config_settings_view_form
view_account_billing_form_carryover account.billing.form.carryover account.billing form Inherits account_billing.view_account_billing_form
view_partner_form_carryover res.partner.form.carryover res.partner form Inherits base.view_partner_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (11)
  • carryover_amount Monetary
    compute='_compute_carryover_amounts' help='Previous billing amount minus payments.' store=True
  • payment_amount Monetary
    compute='_compute_carryover_amounts' help='Payments received on previous billing invoices.' store=True
  • payment_amount_manual Monetary
    copy=False help='Manual override for payment amount.' string='Payment Amount (Manual)' tracking=True
  • prev_billed_amount Monetary
    compute='_compute_carryover_amounts' help='Total billed amount from the previous billing.' store=True string='Previous Billed Amount'
  • prev_billed_amount_manual Monetary
    copy=False help='Manual override for previous billed amount.' string='Previous Billed Amount (Manual)' tracking=True
  • prev_billing_candidate_ids Many2many → account.billing
    compute='_compute_prev_billing_candidate_ids' string='Previous Billing Candidates' args: 'account.billing'
  • prev_billing_id Many2one → account.billing
    compute='_compute_prev_billing_id' domain="[('id', 'in', prev_billing_candidate_ids)]" readonly=False store=True string='Previous Billing' tracking=True args: 'account.billing'
  • show_carryover_amounts Boolean
    compute='_compute_show_carryover_amounts' help='Whether to show carryover amounts in the summary invoice report.' readonly=False store=True
  • total_billed_amount Monetary
    compute='_compute_carryover_amounts' help='Carryover plus current billed amount.' recursive=True store=True
  • use_payment_amount_manual Boolean
    copy=False string='Use Manual Payment Amount' tracking=True
  • use_prev_billed_amount_manual Boolean
    copy=False string='Use Manual Previous Billed Amount' tracking=True
Public methods (1)
  • validate_billing(self)

New fields (1)
  • show_carryover_amounts Boolean
    default=True help='If enabled, carryover amount fields will be displayed in the summary invoice report.'
Public methods (0)

No public methods.

New fields (1)
  • show_carryover_amounts Boolean
    readonly=False related='company_id.show_carryover_amounts'
Public methods (0)

No public methods.

New fields (1)
  • show_carryover_amounts Selection
    default='default' help="Whether to show carryover amounts in the summary invoice report. If set to 'Use Company Default', the company setting will be used." selection=[('default', 'Use Company Default'), ('yes', 'Yes'), ('no', 'No')]
Public methods (0)

No public methods.

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
66 days ago
Last activity
36 days ago
Repository
OCA/l10n-japan
Pull request
[19.0][MIG] l10n_jp_summary_invoice_carryover: Migration to 19.0 (#133)