[IMP] product_quick_bom: black, isort

This commit is contained in:
ps-tubtim
2020-03-12 15:47:16 +07:00
parent 6866495e21
commit aaf95c4cb4
3 changed files with 5 additions and 9 deletions

View File

@@ -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(