[IMP] pre-commit: first run on whole repo
This commit is contained in:
@@ -6,12 +6,14 @@ from odoo import fields, models
|
||||
|
||||
|
||||
class StockQuant(models.Model):
|
||||
_inherit = 'stock.quant'
|
||||
_inherit = "stock.quant"
|
||||
|
||||
product_barcode = fields.Char(related='product_id.barcode', string="Product Barcode")
|
||||
product_barcode = fields.Char(
|
||||
related="product_id.barcode", string="Product Barcode"
|
||||
)
|
||||
|
||||
def action_stock_move_lines_reserved(self):
|
||||
self.ensure_one()
|
||||
action = self.action_view_stock_moves()
|
||||
action['context'] = {'search_default_todo': True}
|
||||
action["context"] = {"search_default_todo": True}
|
||||
return action
|
||||
|
||||
Reference in New Issue
Block a user