Account Payment Term Cutoff Day

account_payment_term_cutoff_day
REPOSITORY
REPOSITORYOCA/l10n-japan
GIT
GIThttps://github.com/OCA/l10n-japan.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-japan/tree/19.0/account_payment_term_cutoff_day
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
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, Aungkokolin1997, yostashiro
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-japan
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:51
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
支払条件に「締日」の概念を追加します。

支払条件の明細行に「締日あり」「月数」「締日」のフィールドを追加し、
締日を基準とした支払期日の計算を可能にします。

請求書の日付が締日を過ぎている場合、支払期日が自動的に翌月に繰り越されます。
「月数」フィールドで、締日から何ヶ月後の月末を基準とするかを指定できます。

また、請求書(account.move)に「締日」フィールドを追加します。

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_account_invoice_filter account.invoice.select account.move xpath Inherits account.view_account_invoice_filter
view_invoice_tree account.invoice.tree account.move xpath Inherits account.view_invoice_tree
view_move_form account.move.form account.move xpath Inherits account.view_move_form
view_payment_term_form account.payment.term.form account.payment.term xpath Inherits account.view_payment_term_form
Models touched (2)

New fields (1)
  • cutoff_date Date
    compute='_compute_cutoff_date' store=True
Public methods (0)

No public methods.

New fields (3)
  • cutoff_day Integer
    help='Specify the cutoff day of the month for adjusting invoice due dates.For example, if you set this field to 20, any invoice dated on the 21st or later will have its due date moved to the following month.Setting 0 is treated the same as having no cutoff day'
  • has_cutoff_day Boolean
    help='Indicates if the payment term line has a cutoff day.'
  • months Integer
    default=0 required=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-japan
GIT
GIThttps://github.com/OCA/l10n-japan.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-japan/tree/18.0/account_payment_term_cutoff_day
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Quartile
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Quartile
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Aungkokolin1997
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-japan
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES 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 the Account Payment Terms functionality by introducing the 
fields: *has_cutoff_day*, *months*, and *cutoff_day* in `account.payment.term.line`.

With this feature, users can define a specific cutoff day for payment terms. If an 
invoice is dated after this cutoff day, the system will automatically shift the due 
date by one additional month.

The *months* field allows users to specify how many months should be added to the 
invoice date when calculating the due date.

It also adds the cutoff_date field in account.move.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_account_invoice_filter account.invoice.select account.move xpath Inherits account.view_account_invoice_filter
view_invoice_tree account.invoice.tree account.move xpath Inherits account.view_invoice_tree
view_move_form account.move.form account.move xpath Inherits account.view_move_form
view_payment_term_form account.payment.term.form account.payment.term xpath Inherits account.view_payment_term_form
Models touched (2)

New fields (1)
  • cutoff_date Date
    compute='_compute_cutoff_date' store=True
Public methods (0)

No public methods.

New fields (3)
  • cutoff_day Integer
    help='Specify the cutoff day of the month for adjusting invoice due dates.For example, if you set this field to 20, any invoice dated on the 21st or later will have its due date moved to the following month.Setting 0 is treated the same as having no cutoff day'
  • has_cutoff_day Boolean
    help='Indicates if the payment term line has a cutoff day.'
  • months Integer
    default=0 required=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-japan
GIT
GIThttps://github.com/OCA/l10n-japan.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-japan/tree/17.0/account_payment_term_cutoff_day
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Quartile
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Quartile
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Aungkokolin1997
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-japan
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - 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 the Account Payment Terms functionality by introducing the 
fields: *has_cutoff_day*, *months*, and *cutoff_day* in `account.payment.term.line`.

With this feature, users can define a specific cutoff day for payment terms. If an 
invoice is dated after this cutoff day, the system will automatically shift the due 
date by one additional month.

It also adds the cutoff_date field in account.move.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_account_invoice_filter account.invoice.select account.move xpath Inherits account.view_account_invoice_filter
view_invoice_tree account.invoice.tree account.move xpath Inherits account.view_invoice_tree
view_move_form account.move.form account.move xpath Inherits account.view_move_form
view_payment_term_form account.payment.term.form account.payment.term xpath Inherits account.view_payment_term_form
Models touched (2)

New fields (1)
  • cutoff_date Date
    compute='_compute_cutoff_date' store=True
Public methods (0)

No public methods.

New fields (3)
  • cutoff_day Integer
    help='Specify the cutoff day of the month for adjusting invoice due dates.For example, if you set this field to 20, any invoice dated on the 21st or later will have its due date moved to the following month.Setting 0 is treated the same as having no cutoff day'
  • has_cutoff_day Boolean
    help='Indicates if the payment term line has a cutoff day.'
  • months Integer
    default=0 required=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-japan
GIT
GIThttps://github.com/OCA/l10n-japan.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-japan/tree/16.0/account_payment_term_cutoff_day
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Quartile
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Quartile
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Aungkokolin1997
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-japan
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:12:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - 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 the Account Payment Terms functionality 
by introducing a cutoff day field (cutoff_day) in account.payment.term.line.
With this feature, user can define a specific cutoff day for payment terms. 
If an invoice is dated after this cutoff day, 
the system will automatically shift the due date by one additional month.

It also adds the cutoff_date field in account.move.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_account_invoice_filter account.invoice.select account.move xpath Inherits account.view_account_invoice_filter
view_invoice_tree account.invoice.tree account.move xpath Inherits account.view_invoice_tree
view_move_form account.move.form account.move xpath Inherits account.view_move_form
view_payment_term_form account.payment.term.form account.payment.term xpath Inherits account.view_payment_term_form
Models touched (2)

New fields (1)
  • cutoff_date Date
    compute='_compute_cutoff_date' store=True
Public methods (0)

No public methods.

New fields (1)
  • cutoff_day Integer
    help='Specify the cutoff day of the month for adjusting invoice due dates.For example, if you set this field to 20, any invoice dated on the 21st or later will have its due date moved to the following month.Setting 0 is treated the same as having no cutoff day'
Public methods (0)

No public methods.