如何从ir.actions.act_windowOdoo中删除名称

问题描述

我要删除“销售点”的名称,然后在自定义模块中完成了此操作:

<record id="point_of_sale.action_pos_config_kanban" model="ir.actions.act_window">        
    <field name="name"> </field>
</record>

这是结果:

enter image description here

如何使用自定义模块删除“未命名”?我正在使用odoo 13

更新:更具体地说。如何删除<em class="text-warning">Unnamed</em> 我不需要这个警告-_-

我尝试过:https://www.youtube.com/watch?v=d_cyPsVc7vg设置_rec_name,但是没有运气

示例:

class PosCustomConfig(models.Model):

    _inherit = ['pos.config']

    _rec_name =  fields.Char(' ',size=64)

解决方法

好吧,我这样做是为了替换整个PyAudio Version 0.2.11

breadcrumb

<templates id="template" xml:space="preserve"> <t t-extend="ControlPanel"> <t t-jquery="ol.breadcrumb" t-operation="replace"> <div></div> </t> </t> </templates> 下的custom.xml中添加__manifest__.py