Browse Source

Nov 04: [FIX] Bug Fixed 'pos_kitchen_screen_odoo'

pull/347/head
Cybrosys Technologies 7 months ago
parent
commit
6f68c00ca7
  1. 2
      pos_kitchen_screen_odoo/__manifest__.py
  2. 5
      pos_kitchen_screen_odoo/doc/RELEASE_NOTES.md
  3. 5
      pos_kitchen_screen_odoo/models/pos_orders.py

2
pos_kitchen_screen_odoo/__manifest__.py

@ -21,7 +21,7 @@
#############################################################################
{
'name': 'POS Kitchen Screen',
'version': '17.0.1.0.2',
'version': '17.0.1.0.3',
'category': 'Point Of Sale',
'summary': 'POS Kitchen Screen facilitates sending certain orders '
'automatically to the kitchen.The POS Kitchen Screen allows for'

5
pos_kitchen_screen_odoo/doc/RELEASE_NOTES.md

@ -11,3 +11,8 @@
- Fix the issue where the total amount changes to the amount without tax after
refreshing the page.
- Fix the issue of creating two records in the backend for a single order.
#### 01.11.2024
#### Version 17.0.1.0.3
#### BUG FIX
- Fix the issue with returning the product from the POS backend.

5
pos_kitchen_screen_odoo/models/pos_orders.py

@ -74,11 +74,6 @@ class PosOrder(models.Model):
pos_orders = self.search(
[("pos_reference", "=", vals["pos_reference"])])
if pos_orders:
for rec in pos_orders.lines:
for lin in vals_list[0]["lines"]:
if lin[2]["product_id"] == rec.product_id.id:
lin[2]["order_status"] = rec.order_status
vals_list[0]["order_status"] = pos_orders.order_status
return super().create(vals_list)
else:

Loading…
Cancel
Save