first push message
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<!-- custom_template_khmer/templates/debug_config.xml -->
|
||||
<odoo>
|
||||
<template id="debug_config" name="Debug Config">
|
||||
<t t-set="config" t-value="env['custom.template.config'].sudo().search([], limit=1)"/>
|
||||
<div style="position: fixed; top: 100px; right: 10px; background: red; color: white; padding: 10px; z-index: 9999;">
|
||||
<strong>DEBUG:</strong><br/>
|
||||
Config ID: <t t-esc="config.id if config else 'None'"/><br/>
|
||||
Color: <t t-esc="config.menu_bg_color if config else 'None'"/><br/>
|
||||
Font: <t t-esc="config.font_name if config else 'None'"/>
|
||||
</div>
|
||||
</template>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user