Repository
OCA/l10n-japan · module folder · Try on Runboat
Module version
1.0.0
Category
Reporting
Folder size
0.06 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, sanami
Odoo dependencies
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
None
Description
このモジュールは、QWeb 帳票向けに代替レイアウトを追加し、既存の外部レイアウトに
対して以下の変更を行います。

- 取引先の住所を左側に、その後に会社住所を右側に表示します。
- 帳票ヘッダーに帳票番号と日付を表示します。
- 取引先住所の代わりに、商業取引先(親)の住所を使用できます。

現在、これらの調整は標準の外部レイアウト
(`external_layout_standard`) にのみ対応しています。

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
external_layout external_layout ir.ui.view qweb Inherits web.external_layout
external_layout_standard external_layout_standard ir.ui.view qweb Inherits web.external_layout_standard
paperformat_view_form paperformat_view_form report.paperformat form Inherits base.paperformat_view_form
report_custom_address_layout report_custom_address_layout ir.ui.view qweb New
view_act_report_form ir.actions.report ir.actions.report form Inherits base.act_report_xml_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (6)
  • apply_alternative_layout Boolean
    related='paperformat_id.apply_alternative_layout'
  • date_field_id Many2one → ir.model.fields
    domain="[('model','=', model), ('ttype', 'in', ('date', 'datetime'))]" help='If set, the report will show the value of this field in the header as the date of the document.' string='Date Field to Show in Header' args: 'ir.model.fields'
  • date_field_label Char
    help="Label for the date field in the report header. If not set, the field's description will be used." translate=True
  • show_commercial_partner Boolean
    help='If selected, the commercial partner of the document partner will show in the report output (instead of the document partner).'
  • show_document_number Boolean
    help='If selected, the document number will show in the report header.' args: 'Show Document Number in Header'
  • show_remit_to_bank Boolean
    help='If selected, remit-to bank account will show in the report output.' args: 'Show Remit-to Bank'
Public methods (0)

No public methods.

New fields (2)
  • apply_alternative_layout Boolean
    help='If selected, the alternative layout will be applied in the printed report.'
  • show_address_in_header Boolean
    compute='_compute_show_address_in_header' help='If selected, the report header will be shown on every page of the report output.' readonly=False store=True
Public methods (0)

No public methods.

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
372 days ago
Last activity
52 days ago
Repository
OCA/l10n-japan
Pull request
[17.0][MIG] report_alternative_layout: Migration to 17.0 (#74)