Japan Summary Invoice - Carryover

l10n_jp_summary_invoice_carryover
REPOSITORY
REPOSITORYOCA/l10n-japan
GIT
GIThttps://github.com/OCA/l10n-japan.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-japan/tree/18.0/l10n_jp_summary_invoice_carryover
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYJapanese Localization
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Quartile
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Quartile
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, yostashiro
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-japan
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-invoicing:
    - account_billing
OCA/l10n-japan:
    - l10n_jp_summary_invoice
    - report_alternative_layout
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 block Inherits l10n_jp_summary_invoice.res_config_settings_view_form
view_account_billing_form_carryover account.billing.form.carryover account.billing xpath Inherits account_billing.view_account_billing_form
view_partner_form_carryover res.partner.form.carryover res.partner xpath Inherits base.view_partner_form
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
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/l10n-japan
PULL REQUEST
PULL REQUEST[19.0][MIG] l10n_jp_summary_invoice_carryover: Migration to 19.0 (#133)