[FIX] stock: fix in_date default
coming from aa7061e9bcbf10fa9dbeac4402d704a260644b66 closes odoo/odoo#63387 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
This commit is contained in:
@@ -92,7 +92,7 @@ class StockQuant(models.Model):
|
||||
'Available Quantity',
|
||||
help="On hand quantity which hasn't been reserved on a transfer, in the default unit of measure of the product",
|
||||
compute='_compute_available_quantity')
|
||||
in_date = fields.Datetime('Incoming Date', readonly=True, required=True, default=fields.Datetime.now())
|
||||
in_date = fields.Datetime('Incoming Date', readonly=True, required=True, default=fields.Datetime.now)
|
||||
tracking = fields.Selection(related='product_id.tracking', readonly=True)
|
||||
on_hand = fields.Boolean('On Hand', store=False, search='_search_on_hand')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user