Browse Source

Jun 25: [FIX] Bug Fixed 'low_stocks_product_alert'

pull/320/head
RisvanaCybro 10 months ago
parent
commit
8e35891b20
  1. 2
      low_stocks_product_alert/__manifest__.py
  2. 2
      low_stocks_product_alert/models/product_product.py

2
low_stocks_product_alert/__manifest__.py

@ -21,7 +21,7 @@
############################################################################# #############################################################################
{ {
'name': "Product Low Stock Alert", 'name': "Product Low Stock Alert",
'version': '16.0.1.0.0', 'version': '16.0.1.0.1',
'summary': """Product Low Stock Alert Display in Point of Sale and 'summary': """Product Low Stock Alert Display in Point of Sale and
Product Views""", Product Views""",
"category": 'Warehouse,Point of Sale', "category": 'Warehouse,Point of Sale',

2
low_stocks_product_alert/models/product_product.py

@ -36,7 +36,7 @@ class ProductProduct(models.Model):
alert_tag = fields.Char( alert_tag = fields.Char(
string='Product Alert Tag', compute='_compute_alert_tag', string='Product Alert Tag', compute='_compute_alert_tag',
help='This field represents the alert tag of the product.', store=True) help='This field represents the alert tag of the product.')
is_low_stock_alert = fields.Boolean( is_low_stock_alert = fields.Boolean(
string="Low Stock Alert", string="Low Stock Alert",
help='This field determines the minimum stock quantity at which a low ' help='This field determines the minimum stock quantity at which a low '

Loading…
Cancel
Save