- Introduced a new product details layout in `product_details_page.xml` with styled elements and hidden original Odoo components for a premium look. - Enhanced the product form view in `product_views.xml` to include a new field for marking popular deals. - Updated the configuration settings view in `res_config_settings_views.xml` to add a delivery option toggle during checkout. - Reorganized the shop page layout in `shop_page.xml` to include dynamic categories and attributes, along with a new arrivals section. - Created a new snippets file `snippets.xml` for potential future custom drag-and-drop blocks. - Added a script in `parse_content.py` for parsing specific content from a markdown file.
22 lines
747 B
XML
22 lines
747 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
<record id="product_template_form_view_inherit_deals" model="ir.ui.view">
|
|
<field name="name">product.template.form.inherit.deals</field>
|
|
<field name="model">product.template</field>
|
|
<field name="inherit_id" ref="product.product_template_only_form_view"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//div[@name='options']" position="inside">
|
|
<span class="d-inline-block">
|
|
<field name="is_popular_deal"/>
|
|
<label for="is_popular_deal"/>
|
|
</span>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</odoo>
|
|
|
|
|
|
|