- Added new snippet for hr_skills to show skill type ID in employee skill level view tree - Updated account snippets to show active status in account list and improve invoice document formatting - Enhanced base snippets to show company ID in company tree view - Added editable top functionality to timesheet view tree user - Introduced new sale order document styling for Allnet - Updated web address layout with Allnet styling and improved positioning - Added website header brand logo URL for Korporation - Added options to hide state and street2 fields in website sale address form - Updated modules.md with new and updated modules across various OCA repositories - Added hr_skills.md to snippets documentation - Updated sidebar.js to include hr_skills snippet
65 KiB
65 KiB
Web
Address Layout
Colclass Value
ID: mint_system.web.address_layout.colclass_value
<data inherit_id="web.address_layout" priority="50">
<xpath expr="//t[@t-set='colclass']" position="replace">
<t t-set="colclass" t-value="'col-sm-5' if report_type == 'html' else 'col-5'"/>
</xpath>
</data>
Edit: snippets/mint_system.web.address_layout.colclass_value.xml
Source: snippets/mint_system.web.address_layout.colclass_value.xml
Format Address Block
ID: mint_system.web.address_layout.format_address_block
<data inherit_id="web.address_layout" priority="50">
<xpath expr="//t[@t-if='address']" position="replace">
<t t-if="address">
<div class="address row">
<t t-if="information_block">
<t t-set="colclass" t-value="'col-5 offset-1'"/>
<div name="information_block" class="col-5 offset-1">
<t t-raw="information_block"/>
</div>
</t>
</div>
<div class="row">
<div name="address" t-att-class="'col-5 offset-1'">
<t t-raw="address"/>
</div>
</div>
</t>
</xpath>
</data>
Edit: snippets/mint_system.web.address_layout.format_address_block.xml