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

Good day - I was wondering how you can create a custom bom while in quotes? So the user does not need to go back to manufacturing and then create a bom and then back to quotes.


It could be a make up on the sport bom?



Awatar
Odrzuć
Najlepsza odpowiedź

We got this question from many of our customers. That's why we created an add on called Flexible BoM. See: Odoo Flexible BoM

Awatar
Odrzuć
Najlepsza odpowiedź

Hi Paul, May i know the purpose of BOM in quotes?

Awatar
Odrzuć
Najlepsza odpowiedź

Hello , Do you found solution ?

Awatar
Odrzuć
Najlepsza odpowiedź

Hi Paul,

There is no such feature available by default. You can add a custom Many2one field with the relation of mrp.bom model. Using that field you can add/create the bom. 

Otherwise, you can add that field in orderline which directly picks the bom of the product 

Try the following 

Class SaleOrderLine(models.Model):

​_inherit = 'sale.order.line'

bom_id = fields.Many2one("mrp.bom", related='product_id.bom_id', string="Bill Of Material")



Regards

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
maj 23
2500
2
maj 22
2755
1
paź 19
4989
1
mar 15
8589
0
lut 25
1415