[WIP] nfu_ecommerce: states and colors
This commit is contained in:
parent
2230bb9488
commit
c9ada5f2df
1 changed files with 2 additions and 1 deletions
|
|
@ -79,11 +79,12 @@
|
|||
</t>
|
||||
</xpath>
|
||||
<xpath expr="//div[contains(@t-attf-class,'css_quantity')]" position="attributes">
|
||||
<!-- Todo: catch if not set -->
|
||||
<attribute
|
||||
t-if="packaging_info"
|
||||
name="t-attf-style"
|
||||
add="background-color: {{packaging_info['state_color']}};"
|
||||
separator=" "
|
||||
t-if="packaging_info"
|
||||
/>
|
||||
|
||||
</xpath>
|
||||
|
|
|
|||
Loading…
Reference in a new issue