So, how to add custom field to contacts kanban view by module?
In my module in view.xml I added next code:
<record id="" model="ir.ui.view">
<field name="name">res.partner.kanban.view.inherit.card.number.field</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.res_partner_kanban_view"/>
<field name="arch" type="xml">
<xpath expr="//div[@class='oe_kanban_partner_links']" position="after">
<div t-if="record.card_number.raw_value">Card Number: <field name="card_number"/></div>
</xpath>
</field>
</record>
But card number field not appear in my contacts kanban view (after each modifing I click upgrade button in my module). What I'm doing wrong?