Skip to content

Commit 0c1ff36

Browse files
committed
[IMP] lighting_reporting_vanguard_product: Split "acabado" into specific finishes and RAL
1 parent 37474be commit 0c1ff36

6 files changed

Lines changed: 35 additions & 34 deletions

File tree

lighting_reporting_vanguard_product/README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Contributors
5454

5555
* Frank Cespedes <[email protected]>
5656
* Eric Antones <[email protected]>
57+
* Bijaya Kumal <[email protected]>
5758

5859
Maintainers
5960
~~~~~~~~~~~
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
from . import res_config_settings
22
from . import lighting_product_source_line
3-
from . import lighting_product

lighting_reporting_vanguard_product/models/lighting_product.py

Lines changed: 0 additions & 30 deletions
This file was deleted.

lighting_reporting_vanguard_product/readme/CONTRIBUTORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22

33
* Frank Cespedes <[email protected]>
44
* Eric Antones <[email protected]>
5+
* Bijaya Kumal <[email protected]>

lighting_reporting_vanguard_product/static/description/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,7 @@ <h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
405405
<li><a class="reference external" href="https://www.nuobit.com">NuoBiT</a>:<ul>
406406
<li>Frank Cespedes &lt;<a class="reference external" href="mailto:fcespedes&#64;nuobit.com">fcespedes&#64;nuobit.com</a>&gt;</li>
407407
<li>Eric Antones &lt;<a class="reference external" href="mailto:eantones&#64;nuobit.com">eantones&#64;nuobit.com</a>&gt;</li>
408+
<li>Bijaya Kumal &lt;<a class="reference external" href="mailto:bkumal&#64;nuobit.com">bkumal&#64;nuobit.com</a>&gt;</li>
408409
</ul>
409410
</li>
410411
</ul>

lighting_reporting_vanguard_product/views/report_vanguard.xml

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<!-- Copyright NuoBiT Solutions - Eric Antones <[email protected]>
3+
Copyright NuoBiT Solutions 2025 - Bijaya Kumal <[email protected]>
34
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) -->
45
<odoo>
56
<template id="external_layout_lighting_vanguard">
@@ -167,12 +168,40 @@
167168
/>
168169
</td>
169170
</tr>
170-
<tr t-if="doc.finish_id or doc.finish2_id">
171+
<tr t-if="doc.finish_id">
171172
<td>
172-
Finish
173+
<t
174+
t-if="doc.finish_type_id"
175+
t-out="doc.finish_type_id.name"
176+
/>
177+
<t t-else="">
178+
Finish 1
179+
</t>
180+
</td>
181+
<td>
182+
<span t-out="doc.finish_id.display_name" />
183+
</td>
184+
</tr>
185+
<tr t-if="doc.finish2_id">
186+
<td>
187+
<t
188+
t-if="doc.finish2_type_id"
189+
t-out="doc.finish2_type_id.name"
190+
/>
191+
<t t-else="">
192+
Finish 2
193+
</t>
194+
</td>
195+
<td>
196+
<span t-out="doc.finish2_id.display_name" />
197+
</td>
198+
</tr>
199+
<tr t-if="doc.ral_id">
200+
<td>
201+
RAL
173202
</td>
174203
<td>
175-
<span t-out="doc.get_finish_display()" />
204+
<span t-out="doc.ral_id.display_name" />
176205
</td>
177206
</tr>
178207
<tr t-if="doc.location_ids">

0 commit comments

Comments
 (0)