Skip to content

Commit

Permalink
adj readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kanda999 committed Sep 17, 2024
1 parent 2d2dd65 commit 8387325
Show file tree
Hide file tree
Showing 8 changed files with 72 additions and 16 deletions.
19 changes: 18 additions & 1 deletion l10n_jp_report_format/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,30 @@ Japan Report Format

|badge1| |badge2| |badge3|

This module adjusts the layout of the delivery Slip.
This module allows you to configure a report layout commonly used in Japan.
By applying this format, you can set up a layout where the customer's name
is displayed on the left side and your company’s name
is displayed on the right side.

Additionally, you can choose to display only
the parent company’s name for the customer.

**Table of contents**

.. contents::
:local:

Configuration
=============

When you want to use the Japanese layout,
go to Settings > General Settings and select external_layout_jp as the template.
Then, choose 'Japan Report Format' from Change Document Layout.

Additionally, if you want to display only the parent company on the report,
open the report record from Technical > Reports
and enable the 'Commercial Partner' option."

Bug Tracker
===========

Expand Down
4 changes: 2 additions & 2 deletions l10n_jp_report_format/data/report_paperformat_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<field name="page_height">0</field>
<field name="page_width">0</field>
<field name="orientation">Portrait</field>
<field name="margin_top">12</field>
<field name="margin_top">15</field>
<field name="margin_bottom">20</field>
<field name="margin_left">7</field>
<field name="margin_right">7</field>
<field name="header_line" eval="False" />
<field name="header_spacing">10</field>
<field name="header_spacing">12</field>
<field name="dpi">100</field>
</record>
</odoo>
7 changes: 7 additions & 0 deletions l10n_jp_report_format/readme/CONFIGURE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
When you want to use the Japanese layout,
go to Settings > General Settings and select external_layout_jp as the template.
Then, choose 'Japan Report Format' from Change Document Layout.

Additionally, if you want to display only the parent company on the report,
open the report record from Technical > Reports
and enable the 'Commercial Partner' option."
8 changes: 7 additions & 1 deletion l10n_jp_report_format/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
This module adjusts the layout of the delivery Slip.
This module allows you to configure a report layout commonly used in Japan.
By applying this format, you can set up a layout where the customer's name
is displayed on the left side and your company’s name
is displayed on the right side.

Additionally, you can choose to display only
the parent company’s name for the customer.
33 changes: 24 additions & 9 deletions l10n_jp_report_format/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -368,36 +368,51 @@ <h1 class="title">Japan Report Format</h1>
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/qrtl/hls-custom/tree/12.0/l10n_jp_report_format"><img alt="qrtl/hls-custom" src="https://img.shields.io/badge/github-qrtl%2Fhls--custom-lightgray.png?logo=github" /></a></p>
<p>This module adjusts the layout of the delivery Slip.</p>
<p>This module allows you to configure a report layout commonly used in Japan.
By applying this format, you can set up a layout where the customer’s name
is displayed on the left side and your company’s name
is displayed on the right side.</p>
<p>Additionally, you can choose to display only
the parent company’s name for the customer.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#bug-tracker" id="id1">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id2">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id3">Authors</a></li>
<li><a class="reference internal" href="#maintainers" id="id4">Maintainers</a></li>
<li><a class="reference internal" href="#configuration" id="id1">Configuration</a></li>
<li><a class="reference internal" href="#bug-tracker" id="id2">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id3">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id4">Authors</a></li>
<li><a class="reference internal" href="#maintainers" id="id5">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="configuration">
<h1><a class="toc-backref" href="#id1">Configuration</a></h1>
<p>When you want to use the Japanese layout,
go to Settings &gt; General Settings and select external_layout_jp as the template.
Then, choose ‘Japan Report Format’ from Change Document Layout.</p>
<p>Additionally, if you want to display only the parent company on the report,
open the report record from Technical &gt; Reports
and enable the ‘Commercial Partner’ option.”</p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#id1">Bug Tracker</a></h1>
<h1><a class="toc-backref" href="#id2">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/qrtl/hls-custom/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/qrtl/hls-custom/issues/new?body=module:%20l10n_jp_report_format%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#id2">Credits</a></h1>
<h1><a class="toc-backref" href="#id3">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#id3">Authors</a></h2>
<h2><a class="toc-backref" href="#id4">Authors</a></h2>
<ul class="simple">
<li>Quartile</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#id4">Maintainers</a></h2>
<h2><a class="toc-backref" href="#id5">Maintainers</a></h2>
<p>This module is part of the <a class="reference external" href="https://github.com/qrtl/hls-custom/tree/12.0/l10n_jp_report_format">qrtl/hls-custom</a> project on GitHub.</p>
<p>You are welcome to contribute.</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Hide the "Carrier", "Shipping Weight", and "Tracking Number" columns from the delivery slip report. -->
<odoo>
<record id="delivery.report_delivery_document2" model="ir.ui.view">
<field name="active" eval="False" />
Expand Down
14 changes: 12 additions & 2 deletions stock_report_deliveryslip_adj/i18n/ja.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,20 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-08-09 10:51+0000\n"
"PO-Revision-Date: 2024-08-09 10:51+0000\n"
"POT-Creation-Date: 2024-09-17 05:40+0000\n"
"PO-Revision-Date: 2024-09-17 05:40+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: stock_report_deliveryslip_adj
#: model_terms:ir.ui.view,arch_db:stock_report_deliveryslip_adj.report_delivery_document
msgid "<span>Delivery Location:</span>"
msgstr "<span>納品場所:</span>"

#. module: stock_report_deliveryslip_adj
#: model_terms:ir.ui.view,arch_db:stock_report_deliveryslip_adj.report_delivery_document
msgid "<strong>Client Order Ref</strong>"
Expand All @@ -30,3 +35,8 @@ msgstr "<strong>数量</strong>"
msgid "Delivery Slip"
msgstr "納品書"

#. module: stock_report_deliveryslip_adj
#: model:ir.model,name:stock_report_deliveryslip_adj.model_ir_actions_report
msgid "Report Action"
msgstr "レポートアクション"

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<xpath expr="//div[@class='page']" position="before">
<div class="row">
<div class="col-12 mt-4">
<span>Delivery location:</span>
<span>Delivery Location:</span>
<span t-field="o.partner_id" t-options='{"widget": "contact", "fields": ["address"], "no_marker": true}'/>
</div>
</div>
Expand Down

0 comments on commit 8387325

Please sign in to comment.