Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
2680 Widoki

Is there a way to place the product related BoMs in Sales Quotation, with Studio?

I'm trying but i get an error like the one below, no matter what field i try to add about the BoM.


ValueError: Element '<xpath expr="//field[@name='order_line']/tree/tree[1]/widget[1]">' cannot be located in parent view

Awatar
Odrzuć

Do you want to add the BOM to the view or the PDF document?

I want to add a link to open the BoM in the quote.

Najlepsza odpowiedź

Yes, there seems to be a bug.  You should be able to report that to Odoo.

As a workaround, you can try adding the BOM to the Form View for the line and then once the field has been added there you can add it to the List View.  

Screenshot here: https://odootricks.tips/odoo-studio-adding-a-one2many-field

Awatar
Odrzuć
Autor

Thanks Chris, however, when i try to open form view, i get only a blank screen, like the link below.

https://ibb.co/NNbwXP7

So i can't add anything to it. Think this is a bug?

I was trying to add this to the View rather than the pdf report, but I got exactly the same error message. So I think this is a bug!

Autor

I opened a support ticket. I'll keep you posted.

Powiązane posty Odpowiedzi Widoki Czynność
0
sie 25
312
2
lip 24
41
1
lut 24
2722
3
gru 23
2082
1
maj 23
4546