Community mailing list archives

community@mail.odoo.com

Question regarding Kanban inside a form view

by
Alien Group Lda, Alaney Kilson Dória
- 09/19/2015 17:18:48
Hi All,

I'm having a problem with my view. I'm trying to copy the same concept of res.partner view on which we have  a kanban with contacts. My problem is that when I add a new child, it opens the form, in that form I add an image and some data, but when I do save & close the form closes but the kanban doesn't show any data till I do save in the  parent form. Is there any hint that I need look?

What I notice is that when the child form returns from save & close,  It doesn't have any data available to the kanban view and it was poping all the day  errors, so I had to use this
  <t t-if="record.area_type_id">
      <field name="area_type_id" />
  </t>
even only with data it's now showing on kanban as a preview before saving the data.

Best regards.

--
<img src="cid:part1.05070906.03010401@alien-group.com" alt="ALIEN GROUP LDA">

Alaney Dória

CEO

em.alaney.doria@alien-group.com

tm.+244 930 073 397 | +244 913 728 600

<img src="cid:part9.03060708.02040102@alien-group.com" alt="Código QR">

Rua Doutor Agostinho Neto, 156, Bairro Azul, Luanda - Angola, Tel: +244 913 728 600 | +244 913 728 650,
Website: www.alien-group.com, Email: geral@alien-group.com

<img src="cid:part12.04020707.04070602@alien-group.com" style="vertical-align:top;" alt=""> Não imprima este email caso não seja estritamente necessário. A Terra agradece-lhe!