mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[IMP] product_quick_bom: black, isort
This commit is contained in:
@@ -26,10 +26,7 @@ class ProductTemplate(models.Model):
|
||||
# we just add a button to create one
|
||||
def button_create_bom(self):
|
||||
self.ensure_one()
|
||||
vals = {
|
||||
"product_tmpl_id": self.id,
|
||||
"type": "normal",
|
||||
}
|
||||
vals = {"product_tmpl_id": self.id, "type": "normal"}
|
||||
self.env["mrp.bom"].create(vals)
|
||||
|
||||
specific_bom_line_ids = fields.One2many(
|
||||
|
||||
Reference in New Issue
Block a user