#84 product_print_category_supermarket: option to show product ref
This commit is contained in:
parent
b2ab92f103
commit
d33ff7d772
4 changed files with 8 additions and 6 deletions
|
|
@ -17,6 +17,7 @@
|
||||||
],
|
],
|
||||||
"data": [
|
"data": [
|
||||||
"views/report_pricetag_normal.xml",
|
"views/report_pricetag_normal.xml",
|
||||||
|
"views/product_print_category.xml",
|
||||||
"views/product_template_tag.xml",
|
"views/product_template_tag.xml",
|
||||||
"views/product_template.xml",
|
"views/product_template.xml",
|
||||||
"views/res_config.xml",
|
"views/res_config.xml",
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
from . import product_print_category
|
||||||
from . import product_template
|
from . import product_template
|
||||||
from . import product_template_tag
|
from . import product_template_tag
|
||||||
from . import res_config
|
from . import res_config
|
||||||
|
|
|
||||||
|
|
@ -21,10 +21,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.product_code {
|
.product_code {
|
||||||
font-size: 0.8em;
|
font-size: 0.7em;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
margin-top: 1.2cm;
|
margin-top: 0.8cm;
|
||||||
margin-left: 5.3cm;
|
margin-left: 4.8cm;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
font-size: 0.7em;
|
font-size: 0.7em;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
margin-top: 1.2cm;
|
margin-top: 1.2cm;
|
||||||
right: 0.3cm;
|
right: 0.1cm;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,11 +8,11 @@
|
||||||
<div class="product_name" >
|
<div class="product_name" >
|
||||||
<span t-field="product.name"/>
|
<span t-field="product.name"/>
|
||||||
</div>
|
</div>
|
||||||
<!-- <t t-if="product.default_code">
|
<t t-if="product.default_code and category_data['print_category'].show_ref">
|
||||||
<div class="product_code" >
|
<div class="product_code" >
|
||||||
ref.<span t-field="product.default_code"/>
|
ref.<span t-field="product.default_code"/>
|
||||||
</div>
|
</div>
|
||||||
</t> -->
|
</t>
|
||||||
<t t-if="product.origin">
|
<t t-if="product.origin">
|
||||||
<div class="product_state" >
|
<div class="product_state" >
|
||||||
<span t-field="product.origin"/>
|
<span t-field="product.origin"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue