Community mailing list archives
Re: New API One2Many inside One2Manyby
Maybe it's a question of the used views. Try to nest them.
My problem is that I'm not able to save the second o2m. Every time I put value I do save and close, is not saving the values.
<img src="cid:email@example.com" alt="ALIEN GROUP LDA">
<img src="cid:firstname.lastname@example.org" alt="Código QR">
<img src="cid:email@example.com" style="vertical-align:top;" alt=""> Não imprima este email caso não seja estritamente necessário. A Terra agradece-lhe!On 06/13/2015 07:51 AM, Pedro Manuel Baeza Romero wrote:<blockquote cite="mid:CACSANCC6HtGho4Twkpkw3KPnJoO93R0c2J9AUfHw=X2+bSdR+A@mail.gmail.com" type="cite">
Regards.You might also be interested in https://github.com/odoomrp/odoomrp-wip/tree/8.0/quality_control about the topic you are trying to develop.Hi, Alaney,There's no special problem with that structure. Check for example: https://github.com/OCA/commission/blob/8.0/sale_commission/models/account_invoice.py#L86. What is your problem?
2015-06-13 1:37 GMT+02:00 Alaney Kilson Dória <firstname.lastname@example.org>:
Has anyone worked already with new API with situation where you have o2m inside o2m?
I'm having the following issue, while trying to save information of a o2m inside o2m. I have a inspection model, that can have many areas, each areas can have many inspection lines. I'm able to record the inspection, and the area, but I'm not able to record the inspection inside the area using the new API.
How can I achieve that with new API? This structure is very similar to the survey model where we have survey has o2m pages and pages that has o2m questions
<img src="cid:email@example.com" alt="ALIEN GROUP LDA">
<img src="cid:firstname.lastname@example.org" alt="Código QR">
<img src="cid:email@example.com" style="vertical-align:top;" alt=""> Não imprima este email caso não seja estritamente necessário. A Terra agradece-lhe!