Repository
OCA/l10n-japan · module folder · Try on Runboat
Module version
1.0.0
Category
Accounting
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-japan
Last tracking update
2026-08-07 09:06:36
Authors
Odoo Community Association (OCA), Quartile
Maintainers
Odoo Community Association (OCA), Quartile
Committers
Aungkokolin1997, OCA-git-bot, oca-ci, yostashiro
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
支払条件に「締日」の概念を追加します。

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

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

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

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_account_invoice_filter account.invoice.select account.move Inherits account.view_account_invoice_filter
view_invoice_tree account.invoice.tree account.move tree Inherits account.view_invoice_tree
view_move_form account.move.form account.move form Inherits account.view_move_form
view_payment_term_form account.payment.term.form account.payment.term form Inherits account.view_payment_term_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.

Loading…

Loading…

Loading…