Commit 7f7eeed7 by François C.

Merge branch '3001-display-last-product-added-date' into 'dev_cooperatic'

add field for last product added date

See merge request !40
parents 4faed833 bd727ab6
......@@ -15,6 +15,7 @@ class productShelfs(models.Model):
last_inventory_id = fields.Integer(string="Last inventory ID", default=0)
last_inv_delta_percentage = fields.Float(string="Last Inventory Quantity Delta Percentage", digits=(10,2))
last_inv_losses_percentage = fields.Float(string="Last Inventory Losses Percentage", digits=(10,2))
date_last_product_added = fields.Date(string="Date of last product added to shelf", default="0001-01-01")
_sql_constraints = [
('unique_name', 'unique(name)', 'Name must be unique !'),
('unique_order', 'unique(sort_order)', 'Num must be unique !')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment