Browse Source

Oct 10: [FIX] Bug fixed 'pos_screen_pane_position'

18.0
Risvana Cybro 4 days ago
parent
commit
9fa827774e
  1. 0
      odoo_dynamic_dashboard/static/description/icon.png
  2. 2
      pos_screen_pane_position/__manifest__.py
  3. 6
      pos_screen_pane_position/doc/RELEASE_NOTES.md
  4. 4
      pos_screen_pane_position/static/src/xml/Screens/ProductScreen/ProductScreen.xml

0
odoo_dynamic_dashboard/static/description/Icon.png → odoo_dynamic_dashboard/static/description/icon.png

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

2
pos_screen_pane_position/__manifest__.py

@ -21,7 +21,7 @@
################################################################################ ################################################################################
{ {
'name': 'Screen Positions in POS', 'name': 'Screen Positions in POS',
'version': '18.0.1.0.0', 'version': '18.0.1.0.1',
'category': 'Point of Sale', 'category': 'Point of Sale',
'summary': """To choose the position of the product screen""", 'summary': """To choose the position of the product screen""",
'description': 'Using this module the cashier can change ' 'description': 'Using this module the cashier can change '

6
pos_screen_pane_position/doc/RELEASE_NOTES.md

@ -5,3 +5,9 @@
#### ADD #### ADD
- Initial commit for Screen Positions in POS - Initial commit for Screen Positions in POS
#### 07.10.2025
#### Version 18.0.1.0.1
#### ADD
- Fixed bug in the Product Screen.

4
pos_screen_pane_position/static/src/xml/Screens/ProductScreen/ProductScreen.xml

@ -49,10 +49,10 @@
class="pos.productViewMode" class="pos.productViewMode"
name="getProductName(product)" name="getProductName(product)"
color="product.pos_categ_ids?.at(-1)?.color" color="product.pos_categ_ids?.at(-1)?.color"
price="this.getProductPrice(product)"
imageUrl="pos.config.show_product_images and this.getProductImage(product)" imageUrl="pos.config.show_product_images and this.getProductImage(product)"
onClick.bind="() => this.addProductToOrder(product)" onClick.bind="() => this.addProductToOrder(product)"
productInfo="true" productInfo="true"
productCartQty="this.state.quantityByProductTmplId[product.raw.product_tmpl_id]"
onProductInfoClick.bind="() => this.onProductInfoClick(product)"/> onProductInfoClick.bind="() => this.onProductInfoClick(product)"/>
</div> </div>
<div t-else="" class="flex-grow-1 text-center mt-5"> <div t-else="" class="flex-grow-1 text-center mt-5">
@ -122,10 +122,10 @@
class="pos.productViewMode" class="pos.productViewMode"
name="getProductName(product)" name="getProductName(product)"
color="product.pos_categ_ids?.at(-1)?.color" color="product.pos_categ_ids?.at(-1)?.color"
price="this.getProductPrice(product)"
imageUrl="pos.config.show_product_images and this.getProductImage(product)" imageUrl="pos.config.show_product_images and this.getProductImage(product)"
onClick.bind="() => this.addProductToOrder(product)" onClick.bind="() => this.addProductToOrder(product)"
productInfo="true" productInfo="true"
productCartQty="this.state.quantityByProductTmplId[product.raw.product_tmpl_id]"
onProductInfoClick.bind="() => this.onProductInfoClick(product)"/> onProductInfoClick.bind="() => this.onProductInfoClick(product)"/>
</div> </div>
<div t-else="" class="flex-grow-1 text-center mt-5"> <div t-else="" class="flex-grow-1 text-center mt-5">

Loading…
Cancel
Save