[IMP] base: make the module technical name visible in debug

Since the kanban module refactoring, the module technical name is most of  the
time not visible in debug mode. Only module with a very short name leave enough
space for the technical name to be shown (completely).

We can now correctly see the technical name in debug. It will replace the
description (which is not really mandatory in such a mode).

Adding it in top of the description would've break the cell 'height pixel
perfect' looking, thus breaking the layout.

closes odoo/odoo#33374

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
This commit is contained in:
Romain Derie
2019-05-15 07:13:26 +00:00
parent 6f7d23f397
commit 565a2be9a6
+2 -2
View File
@@ -179,10 +179,10 @@
<div class="oe_module_desc" t-att-title="record.shortdesc.value">
<h4 class="o_kanban_record_title">
<field name="shortdesc"/>&amp;nbsp;
<code groups="base.group_no_one"><field name="name"/></code>
</h4>
<p class="oe_module_name">
<field name="summary"/>
<field groups="!base.group_no_one" name="summary"/>
<code groups="base.group_no_one"><field name="name"/></code>
</p>
<div class="oe_module_action">
<a t-att-href="record.website.raw_value" target="_blank" attrs="{'invisible':[('website', '=', '')]}" class="btn btn-sm btn-secondary float-right" role="button">Learn More</a>