[NEW] Addons creation - product_rental_delay_management
This commit is contained in:
@@ -14,6 +14,9 @@ class StockPicking(models.Model):
|
||||
"product.delayed.lines", "product_delay_id", string="Delayed Hours "
|
||||
)
|
||||
is_delayed = fields.Boolean(string="Is Delayed")
|
||||
total_amount = fields.Float(
|
||||
string="Total Amount", compute="_compute_total", store=True
|
||||
)
|
||||
|
||||
@api.depends("product_delay_line_ids")
|
||||
def _compute_total(self):
|
||||
|
Reference in New Issue
Block a user