| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 843 |
| Technical Name |
scale_widget_ok |
| License | OPL-1 |
| Website | https://linkedin.com/in/okky-permana-sihipo |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 843 |
| Technical Name |
scale_widget_ok |
| License | OPL-1 |
| Website | https://linkedin.com/in/okky-permana-sihipo |
⚖️ Scale Widget OK
Real-Time Scale Reading Widget for Odoo
✨ Key Features
⚖️ Real-Time Reading
Read weight directly from digital scales in real-time. Live weight updates as items are placed on the scale.
🎯 Custom Float Widget
Enhanced float field widget with scale integration. One-click capture of weight readings.
🔌 USB/Serial Support
Connect to scales via USB or serial port. Compatible with most digital scales.
⚙️ Easy Configuration
Simple setup through Odoo settings interface. Configure scale server URL and connection parameters.
🔧 How It Works
- Install and run the scale server on your local machine
- Connect your digital scale via USB or serial port
- Configure the scale server URL in Odoo settings
- Add the scale widget to any float field in your forms
- Click the scale button to capture real-time weight readings
🎨 Widget Features
Interactive Dialog
- Live weight display with auto-update
- Visual indicators for connection status
- Capture button to save current weight
- Error handling and user feedback
- Responsive and modern UI design
Field Integration
- Scale icon button next to float fields
- Automatic field population on capture
- Works with any float field
- Compatible with form views
- No code changes required
💡 Use Cases
📦 Warehouse & Logistics
Weigh packages for shipping calculations. Capture weights for inventory management and stock moves.
🏪 Retail & POS
Weigh products sold by weight (fruits, vegetables, bulk items). Automatic price calculation based on weight.
🏭 Manufacturing
Record raw material weights for production. Quality control and batch tracking.
🍽️ Food & Beverage
Portion control and recipe management. Ingredient weighing for food preparation.
⚙️ Configuration
Configure in Settings > Technical > Scale Widget or via System Parameters
Scale Server URL
Set the URL of your local scale server. Example: http://localhost:8080/weight
Polling Interval
Configure how frequently to read from the scale. Default: 1000ms (1 second).
Widget Usage
Add widget="scale_float" to any float field. Instant scale integration!
🔌 Supported Scales
Compatible with most digital scales via the Scale Server bridge
Tested Scales
- Mettler Toledo scales
- Avery Weigh-Tronix scales
- Ohaus scales
- Sartorius scales
- Generic RS232/USB scales
Communication Protocols
- RS232 serial communication (via Scale Server)
- USB virtual COM port (via Scale Server)
- Standard weight output format
- Configurable baud rates (on Scale Server)
🎯 Benefits
- Accuracy: Eliminate manual weight entry errors
- Speed: Instant weight capture with one click
- Efficiency: Streamline weighing workflows
- Integration: Seamless Odoo integration
- Flexibility: Works with any float field
- Real-Time: Live weight updates
- User-Friendly: Intuitive interface
- Reliable: Stable connection handling
📝 Example Usage
Add the widget to any model's float field:
<field name="weight" widget="scale_float"/>
That's it! The scale icon will appear next to the field, ready to capture weights.
Ready to Automate Your Weighing Process?
Perfect for businesses that need accurate, fast, and automated weight capture.
📞 Support & Information
Author: okkype@gmail.com
Website: linkedin.com/in/okky-permana-sihipo
License: OPL-1 (Odoo Proprietary License)
Version: 18.0.1.0.0
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