19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:32:12 +01:00
parent 79f83631d5
commit 73afc09215
6267 changed files with 1534193 additions and 1130106 deletions

View file

@ -4,8 +4,6 @@
<field name="name">Product: send email regarding products availability</field>
<field name="interval_number">1</field>
<field name="interval_type">hours</field>
<field name="numbercall">-1</field>
<field name="doall" eval="False"/>
<field name="model_id" ref="model_product_product"/>
<field name="code">model._send_availability_email()</field>
<field name="state">code</field>

View file

@ -10,19 +10,17 @@
</a>
</div>
<div style="display: flex; flex-direction: row; align-items: center; justify-content: center; width: 100%;">
<p t-esc="product.name"/>
<p t-out="product.name"/>
<p t-if="product.product_template_attribute_value_ids"
style="margin-left: 0.5em;">
(<t
t-out="', '.join(product.product_template_attribute_value_ids.mapped('name'))"
/>)
</p>
<p style="margin-left: 0.5em; margin-right: 0.5em">-</p>
<p t-esc="product.list_price" t-options="{'widget': 'monetary', 'display_currency': product.currency_id}"/>
</div>
<p t-esc="product.description_sale"/>
<p t-out="product.description_sale"/>
<div style="display: flex; justify-content: center; width: 100%;">
<a t-attf-href="#{product.website_url}" style="background-color: #875A7B; padding: 8px 16px 8px 16px; text-decoration: none; color: #fff; border-radius: 5px; font-size:13px;">
<a t-attf-href="#{product.website_url}" t-attf-style="background-color: {{product.website_id.get_current_website().company_id.email_secondary_color or '#875A7B'}}; padding: 8px 16px 8px 16px; text-decoration: none; color: {{product.website_id.get_current_website().company_id.email_primary_color or '#FFFFFF'}}; border-radius: 5px; font-size:13px;">
Order Now
</a>
</div>

View file

@ -6,4 +6,7 @@
<record id="stock.product_cable_management_box_product_template" model="product.template">
<field name="public_categ_ids" eval="[(6,0,[ref('website_sale.public_category_boxes')])]"/>
</record>
<record id="website_sale.out_of_stock_ribbon" model="product.ribbon">
<field name="assign">out_of_stock</field>
</record>
</odoo>