このモジュールは、QWeb 帳票向けに代替レイアウトを追加し、既存の外部レイアウトに 対して以下の変更を行います。
- 取引先の住所を左側に、その後に会社住所を右側に表示します。
- 帳票ヘッダーに帳票番号と日付を表示します。
- 取引先住所の代わりに、商業取引先(親)の住所を使用できます。
現在、これらの調整は標準の外部レイアウト (external_layout_standard) にのみ対応しています。
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Adds an alternative layout for printed reports: partner address on the left, company address on the right, plus optional document number, date and remit-to bank details in the header or body.
This module gives you a second way to lay out the printed PDF of any report, aimed at Japanese-style documents. You switch it on per paper format: on the paper format form you tick "apply_alternative_layout", and optionally "show_address_in_header" to repeat the addresses at the top of every page. Two ready-made A4 paper formats are installed, one without addresses in the header and one with them.
When the alternative layout is active on a report, the standard header block is replaced. The customer address appears on the left and the company address on the right, instead of the usual stacked layout. The company address block is hidden from the header and shown in the body of the document.
On the report configuration screen a new "Alternative Layout Settings" page appears, where you can: - show the document number in the header; - pick a date or datetime field of the report's model to print in the header, with an optional custom label; - show a remit-to bank account, taken from the record's bank field or, if none, from the company's first bank account; - print the commercial (parent) partner's address instead of the document partner's address.
These settings only affect reports whose paper format uses the alternative layout; other reports keep the standard Odoo layout.
Depends on
Required by other modules
Models and fields (2)
- ir.actions.report · extends an existing modeldate_field_id (Date Field to Show in Header), date_field_label, show_remit_to_bank (Show Remit-to Bank), show_document_number (Show Document Number in Header), show_commercial_partner, apply_alternative_layout
- report.paperformat · extends an existing modelshow_address_in_header, apply_alternative_layout
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 17.0
Confirmed on 2026-11-03 in branch 17.0 of OCA/l10n-japan.
terminal Installation and usage
OCA documentation · Odoo 19.0Configuration
Source · Odoo 19.0設定 > 技術設定 > レポーティング > 用紙 に移動し、任意の用紙フォーマットを開いて、必要に応じて以下の項目を設定します。
- 代替レイアウトを適用: 有効にすると、その用紙フォーマットを使用する帳票に代替レイアウトが適用されます。
- アドレスをヘッダに表示: 有効にすると、帳票の各ページのヘッダーに取引先住所を表示します (代替レイアウト使用時のみ有効)。
次に、設定 > 技術設定 > レポーティング > レポート に移動し、任意のレポートを開いて、必要に応じて以下の項目を設定します。
- 用紙: 代替レイアウトを使用する場合は、
代替レイアウトを適用を有効にした 用紙フォーマットを選択します。 - 商業取引先(親)を表示: 有効にすると、印刷帳票に取引先ではなく、その商業取引先(親)が表示されます。
- 振込先を表示: 有効にすると、印刷帳票に振込先が表示されます。
- 伝票番号をヘッダに表示: 有効にすると、印刷帳票のヘッダーに伝票番号が表示されます。
- ヘッダに表示する日付項目: 設定すると、この項目の値が印刷帳票のヘッダに日付として表示されます。
- 日付項目ラベル: 印刷帳票の日付項目に表示するラベルです。設定されていない場合、日付項目がその まま表示されます。
No verified information in OCA: Installation, Usage.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.