Skip to content

Commit

Permalink
[16.0][IMP] mrp_production_report: Print lot/Serial number.
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredoavanzosc authored and anajuaristi committed Nov 20, 2024
1 parent a2c217c commit 7f27b76
Show file tree
Hide file tree
Showing 6 changed files with 177 additions and 4 deletions.
51 changes: 51 additions & 0 deletions mrp_production_report/i18n/ca_ES.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_production_report
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-14 11:26+0000\n"
"PO-Revision-Date: 2024-11-14 11:26+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: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrporder
msgid "<strong>BoM:</strong><br/>"
msgstr ""

#. module: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrporder
msgid "<strong>Date Start</strong>"
msgstr ""

#. module: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrporder
msgid "<strong>Lot/Serial Number:</strong><br/>"
msgstr ""

#. module: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrporder
msgid "<strong>Scheduled Date:</strong><br/>"
msgstr ""

#. module: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrp_production_components
msgid "Location"
msgstr ""

#. module: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrp_production_components
msgid "Lots"
msgstr ""

#. module: mrp_production_report
#: model:ir.model,name:mrp_production_report.model_stock_move
msgid "Stock Move"
msgstr "Moviment d'estoc"
51 changes: 51 additions & 0 deletions mrp_production_report/i18n/en_GB.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_production_report
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-14 11:26+0000\n"
"PO-Revision-Date: 2024-11-14 11:26+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: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrporder
msgid "<strong>BoM:</strong><br/>"
msgstr ""

#. module: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrporder
msgid "<strong>Date Start</strong>"
msgstr ""

#. module: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrporder
msgid "<strong>Lot/Serial Number:</strong><br/>"
msgstr ""

#. module: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrporder
msgid "<strong>Scheduled Date:</strong><br/>"
msgstr ""

#. module: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrp_production_components
msgid "Location"
msgstr ""

#. module: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrp_production_components
msgid "Lots"
msgstr ""

#. module: mrp_production_report
#: model:ir.model,name:mrp_production_report.model_stock_move
msgid "Stock Move"
msgstr ""
9 changes: 7 additions & 2 deletions mrp_production_report/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-10 06:55+0000\n"
"PO-Revision-Date: 2024-06-10 06:55+0000\n"
"POT-Creation-Date: 2024-11-14 11:27+0000\n"
"PO-Revision-Date: 2024-11-14 11:27+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
Expand All @@ -25,6 +25,11 @@ msgstr "<strong>LdM:</strong><br/>"
msgid "<strong>Date Start</strong>"
msgstr "<strong>Fecha inicio</strong>"

#. module: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrporder
msgid "<strong>Lot/Serial Number:</strong><br/>"
msgstr "<strong>Lote/Num.Serie:</strong><br/>"

#. module: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrporder
msgid "<strong>Scheduled Date:</strong><br/>"
Expand Down
51 changes: 51 additions & 0 deletions mrp_production_report/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_production_report
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-14 11:27+0000\n"
"PO-Revision-Date: 2024-11-14 11:27+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: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrporder
msgid "<strong>BoM:</strong><br/>"
msgstr ""

#. module: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrporder
msgid "<strong>Date Start</strong>"
msgstr ""

#. module: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrporder
msgid "<strong>Lot/Serial Number:</strong><br/>"
msgstr ""

#. module: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrporder
msgid "<strong>Scheduled Date:</strong><br/>"
msgstr ""

#. module: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrp_production_components
msgid "Location"
msgstr ""

#. module: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrp_production_components
msgid "Lots"
msgstr ""

#. module: mrp_production_report
#: model:ir.model,name:mrp_production_report.model_stock_move
msgid "Stock Move"
msgstr "Mouvement de stock"
9 changes: 7 additions & 2 deletions mrp_production_report/i18n/mrp_production_report.pot
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-10 06:55+0000\n"
"PO-Revision-Date: 2024-06-10 06:55+0000\n"
"POT-Creation-Date: 2024-11-14 11:26+0000\n"
"PO-Revision-Date: 2024-11-14 11:26+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
Expand All @@ -25,6 +25,11 @@ msgstr ""
msgid "<strong>Date Start</strong>"
msgstr ""

#. module: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrporder
msgid "<strong>Lot/Serial Number:</strong><br/>"
msgstr ""

#. module: mrp_production_report
#: model_terms:ir.ui.view,arch_db:mrp_production_report.report_mrporder
msgid "<strong>Scheduled Date:</strong><br/>"
Expand Down
10 changes: 10 additions & 0 deletions mrp_production_report/report/mrp_production_report.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template id="report_mrporder" inherit_id="mrp.report_mrporder">
<xpath expr="//span[@t-field='o.product_qty']/.." position="after">
<div
t-if="o.lot_producing_id"
class="col-auto col-3 mw-100 mb-2"
name="lot-serial-number"
>
<strong>Lot/Serial Number:</strong><br />
<span t-field="o.lot_producing_id.name" />
</div>
</xpath>
<xpath
expr="//div[@t-if='o.product_description_variants']/.."
position="attributes"
Expand Down

0 comments on commit 7f27b76

Please sign in to comment.