Skip to Content
Menu
v 17.0 Third Party
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 550
Technical Name web_numeric_keypad
LicenseOPL-1
Websitehttp://www.geninit.cn
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 550
Technical Name web_numeric_keypad
LicenseOPL-1
Websitehttp://www.geninit.cn

数字键盘组件 | Numeric Keypad Widget

专为触摸屏设备设计的虚拟数字键盘
Virtual numeric keypad designed for touch screen devices

Numeric Keypad Widget demo

核心功能 | Key Features

触摸友好界面 | Touch-Friendly Interface

专为触摸屏设备优化,支持可配置的按钮尺寸
Optimized for touch devices with configurable button sizes

预设数字 | Preset Numbers

支持常用数字快捷按钮,如10、20、50、100等
Support preset number buttons like 10, 20, 50, 100 for quick input

计算器屏幕 | Calculator Display

大屏幕显示区域,实时显示计算表达式和结果
Large display area showing calculation expressions and results in real-time

基础运算 | Basic Calculations

内置四则运算功能,支持简单的数学计算
Built-in arithmetic operations for basic mathematical calculations

高级特性 | Advanced Features

灵活配置 | Flexible Configuration

通过options属性配置按钮尺寸、预设数字等
Configure button sizes, preset numbers via options attribute

智能运算 | Smart Calculation

支持运算符切换和连续计算,遵循标准计算器逻辑
Support operator switching and continuous calculation following standard calculator logic

响应式设计 | Responsive Design

自适应不同屏幕尺寸,支持手机、平板、工业触摸屏
Adaptive to different screen sizes, supports phones, tablets, industrial touch screens

即插即用 | Plug and Play

简单的widget属性即可启用,支持所有视图类型
Easy to enable with widget attribute, supports all view types

应用场景 | Use Cases

零售POS系统 | Retail POS Systems

在POS终端快速输入商品数量和价格,提高收银效率
Quick input of product quantities and prices in POS terminals for improved checkout efficiency

仓库管理 | Warehouse Management

在移动设备上快速录入库存数量,适合盘点和出入库操作
Quick inventory quantity input on mobile devices for stock counting and warehouse operations

工业生产 | Industrial Production

在生产线触摸屏上输入生产数量和参数
Input production quantities and parameters on production line touch screens

财务会计 | Financial Accounting

在平板设备上快速输入金额和数量,支持简单计算
Quick amount and quantity input on tablets with basic calculation support

如何使用 | How to Use

安装步骤 | Installation Steps

  1. 安装模块:在 Odoo 应用商店中搜索"Numeric Keypad Widget"并安装
    Install the module: Search for "Numeric Keypad Widget" in Odoo App Store and install
  2. 重启服务:安装完成后重启 Odoo 服务以加载新组件
    Restart service: Restart Odoo service after installation to load new components
  3. 开始使用:在表单视图中为数字字段添加 widget 属性
    Start using: Add widget attribute to numeric fields in form views

基础用法 | Basic Usage

在表单视图中使用 | Use in Form View

<field name="quantity" widget="numeric_keypad"/>  
<field name="price" widget="numeric_keypad"/>

在列表视图中使用 | Use in List View

<list editable="bottom">  
    <field name="quantity" widget="numeric_keypad"/>  
    <field name="price" widget="numeric_keypad"/>  
</list>

高级配置 | Advanced Configuration

配置按钮尺寸 | Configure Button Size

<!-- 小尺寸按钮 Small buttons -->  
<field name="quantity" widget="numeric_keypad"   
       options="{'button_size': 'small'}"/>  
  
<!-- 大尺寸按钮 Large buttons -->  
<field name="price" widget="numeric_keypad"   
       options="{'button_size': 'large'}"/>

自定义预设数字 | Custom Preset Numbers

<field name="quantity" widget="numeric_keypad"   
       options="{'presets': [5, 10, 25, 50, 100]}"/>

启用/禁用计算功能 | Enable/Disable Calculation

<!-- 禁用计算功能 Disable calculation -->  
<field name="quantity" widget="numeric_keypad"   
       options="{'allow_calculation': false}"/>

完整配置示例 | Complete Configuration Example

<record id="view_product_form_keypad" model="ir.ui.view">  
    <field name="name">product.form.keypad</field>  
    <field name="model">product.product</field>  
    <field name="inherit_id" ref="product.product_normal_form_view"/>  
    <field name="arch" type="xml">  
        <field name="list_price" position="attributes">  
            <attribute name="widget">numeric_keypad</attribute>  
            <attribute name="options">{  
                'button_size': 'large',  
                'presets': [10, 50, 100, 500],  
                'allow_calculation': true  
            }</attribute>  
        </field>  
    </field>  
</record>

配置选项说明 | Configuration Options

选项 | Option 类型 | Type 默认值 | Default 说明 | Description
button_size String 'medium' 按钮尺寸:'small', 'medium', 'large', 'extra-large', 'pda-optimized'
Button size options including PDA-optimized
presets Array [10, 20, 50, 100] 预设数字按钮
Preset number buttons
allow_calculation Boolean true 是否启用计算功能
Enable calculation features

技术支持 | Technical Support

亘盈信息技术 Logo

亘盈信息技术 | Geninit Technology

联系我们 | Contact Us

info@geninit.cn

geninit.cn

如需定制开发或技术支持,请联系我们
Please contact us for customization or technical support

技术要求 | Technical Requirements:
Odoo 17.0+ 版本,支持触摸屏设备
Odoo 17.0+ version, touch screen device support

访问官网 | Visit Website 技术支持 | Support
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.