Browse Source

Apr 17 [UPDT] : Bug Fixed 'pos_receipt_extend'

pull/313/head
AjmalCybro 1 year ago
parent
commit
b491c3473e
  1. 2
      pos_receipt_extend/__manifest__.py
  2. 6
      pos_receipt_extend/doc/RELEASE_NOTES.md
  3. 2
      pos_receipt_extend/models/pos_session.py
  4. 1
      pos_receipt_extend/static/src/js/pos_order_receipt.js

2
pos_receipt_extend/__manifest__.py

@ -21,7 +21,7 @@
############################################################################# #############################################################################
{ {
'name': "Advanced POS Receipt", 'name': "Advanced POS Receipt",
"version": "17.0.1.0.0", "version": "17.0.1.0.1",
"category": "Point of Sale", "category": "Point of Sale",
"summary": "Advanced POS Receipt with Customer Details and Invoice Details " "summary": "Advanced POS Receipt with Customer Details and Invoice Details "
"will Allow You to Print The Customer Information in the pos receipt", "will Allow You to Print The Customer Information in the pos receipt",

6
pos_receipt_extend/doc/RELEASE_NOTES.md

@ -5,3 +5,9 @@
#### ADD #### ADD
- Initial commit for Advanced Pos Receipt - Initial commit for Advanced Pos Receipt
#### 16.04.2024
#### Version 17.0.1.0.1
#### BUGFIX
- Added superuser access to res.config.settings

2
pos_receipt_extend/models/pos_session.py

@ -47,5 +47,5 @@ class PosSession(models.Model):
def _get_pos_ui_res_config_settings(self, params): def _get_pos_ui_res_config_settings(self, params):
"""Used to get the parameters""" """Used to get the parameters"""
return self.env['res.config.settings'].search_read( return self.env['res.config.settings'].sudo().search_read(
**params['search_params']) **params['search_params'])

1
pos_receipt_extend/static/src/js/pos_order_receipt.js

@ -1,5 +1,4 @@
/** @odoo-module */ /** @odoo-module */
import { patch } from "@web/core/utils/patch"; import { patch } from "@web/core/utils/patch";
import { Order } from "@point_of_sale/app/store/models"; import { Order } from "@point_of_sale/app/store/models";
import { PosStore } from "@point_of_sale/app/store/pos_store"; import { PosStore } from "@point_of_sale/app/store/pos_store";

Loading…
Cancel
Save