Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd

Hi, I am using odoo14ce.  I want to choose multiple products when creating the manufacture order, and  by products don't work the same as the product.

I have already inherited  the  the manufacture model, how can I edit the code to be able to do that ?

class ManufactureInherit(models.Model):
_inherit = 'mrp.production'
 
Avatar
Annuleer

I'd suggest you to build your code around creating multiple MOs and also graphically managing these MOs.
If you still want to select multiple products in 'mrp.production', override the product_id as an Many2many field, and trace down all the methods when a MO is finished to make sure they are recorded in stock correctly.

Gerelateerde posts Antwoorden Weergaven Activiteit
1
jul. 23
6187
0
mei 21
2099
1
jan. 22
2322
1
mrt. 25
1728
1
feb. 25
3194