Commit 7a773e1 1 parent 387d4a9 commit 7a773e1 Copy full SHA for 7a773e1
File tree 4 files changed +74
-0
lines changed
mrp_production_stencil_product
4 files changed +74
-0
lines changed Original file line number Diff line number Diff line change 15
15
],
16
16
"data" : [
17
17
"security/ir.model.access.csv" ,
18
+ "report/mrp_production_report.xml" ,
18
19
"views/mrp_bom_views.xml" ,
19
20
"views/mrp_production_views.xml" ,
20
21
"views/mrp_workorder_views.xml" ,
Original file line number Diff line number Diff line change @@ -145,3 +145,24 @@ msgstr "Unidad de medida"
145
145
#: model:ir.model,name: mrp_production_stencil_product.model_mrp_workorder
146
146
msgid "Work Order"
147
147
msgstr "Orden de trabajo"
148
+
149
+ #. module: mrp_production_stencil_product
150
+ #: model_terms:ir.ui.view,arch_db: mrp_production_stencil_product.report_mrporder
151
+ msgid "<span>Stencil Products</span>"
152
+ msgstr "<span>Utillaje</span>"
153
+
154
+ #. module: mrp_production_stencil_product
155
+ #: model_terms:ir.ui.view,arch_db: mrp_production_stencil_product.report_mrporder
156
+ msgid "<strong>Location</strong>"
157
+ msgstr "<strong>Ubicación</strong>"
158
+
159
+ #. module: mrp_production_stencil_product
160
+ #: model_terms:ir.ui.view,arch_db: mrp_production_stencil_product.report_mrporder
161
+ msgid "<strong>Product</strong>"
162
+ msgstr "<strong>Producto</strong>"
163
+
164
+ #. module: mrp_production_stencil_product
165
+ #: model_terms:ir.ui.view,arch_db: mrp_production_stencil_product.report_mrporder
166
+ msgid "<strong>Quantity</strong>"
167
+ msgstr "<strong>Cantidad</strong>"
168
+
Original file line number Diff line number Diff line change @@ -145,3 +145,24 @@ msgstr ""
145
145
#: model:ir.model,name: mrp_production_stencil_product.model_mrp_workorder
146
146
msgid "Work Order"
147
147
msgstr ""
148
+
149
+ #. module: mrp_production_stencil_product
150
+ #: model_terms:ir.ui.view,arch_db: mrp_production_stencil_product.report_mrporder
151
+ msgid "<span>Stencil Products</span>"
152
+ msgstr ""
153
+
154
+ #. module: mrp_production_stencil_product
155
+ #: model_terms:ir.ui.view,arch_db: mrp_production_stencil_product.report_mrporder
156
+ msgid "<strong>Location</strong>"
157
+ msgstr ""
158
+
159
+ #. module: mrp_production_stencil_product
160
+ #: model_terms:ir.ui.view,arch_db: mrp_production_stencil_product.report_mrporder
161
+ msgid "<strong>Product</strong>"
162
+ msgstr ""
163
+
164
+ #. module: mrp_production_stencil_product
165
+ #: model_terms:ir.ui.view,arch_db: mrp_production_stencil_product.report_mrporder
166
+ msgid "<strong>Quantity</strong>"
167
+ msgstr ""
168
+
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <odoo >
3
+ <template id =" report_mrporder" inherit_id =" mrp.report_mrporder" >
4
+ <t t-if =" o.move_raw_ids" position =" after" >
5
+ <div t-if =" o.stencil_product_ids" >
6
+ <h3 >
7
+ <span >Stencil Products</span >
8
+ </h3 >
9
+ <table class =" table table-sm" >
10
+ <tr >
11
+ <th class =" text-start" ><strong >Product</strong ></th >
12
+ <th class =" text-start" ><strong >Location</strong ></th >
13
+ <th class =" text-end" ><strong >Quantity</strong ></th >
14
+ </tr >
15
+ <tr t-foreach =" o.stencil_product_ids" t-as =" line" >
16
+ <td class =" text-start" ><span
17
+ t-field =" line.product_id.name"
18
+ /></td >
19
+ <td class =" text-start" ><span
20
+ t-field =" line.location_id.name"
21
+ /></td >
22
+ <td class =" text-end" >
23
+ <span t-field =" line.product_uom_qty" />
24
+ <span t-field =" line.product_uom_id" />
25
+ </td >
26
+ </tr >
27
+ </table >
28
+ </div >
29
+ </t >
30
+ </template >
31
+ </odoo >
You can’t perform that action at this time.
0 commit comments