Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Construction
  3. CBM Converter v 19.0
  4. Sales Conditions FAQ

CBM Converter

by Anmol Patil https://github.com/anmol6213
Odoo
v 19.0 Third Party
Download for v 19.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Inventory (stock)
• Invoicing (account)
• Sales (sale_management)
• Discuss (mail)
Lines of code 226
Technical Name cbm_converter
LicenseLGPL-3
Websitehttps://github.com/anmol6213
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Inventory (stock)
• Invoicing (account)
• Sales (sale_management)
• Discuss (mail)
Lines of code 226
Technical Name cbm_converter
LicenseLGPL-3
Websitehttps://github.com/anmol6213
  • Description
  • Documentation

📦 CBM Converter

Your browser does not support the video tag.

📢 Available for Hire!

Looking for a skilled and reliable Odoo Developer to build, fix or customize your Odoo system?

Let's build something great together! I specialize in custom module development, ERP implementation, integrations, and performance optimization.


📬 Hire Me wa.me/+91 82082 45035 /anmolpatil83

Overview

CBM Converter automatically calculates the number of pieces from CBM (Cubic Meter) quantity for construction materials like AAC Blocks. It extracts dimensions directly from the product name (e.g. 600x200x225) and computes the correct piece count — no manual entry needed.

Works seamlessly across Sale Orders, Customer Invoices, and Stock Deliveries. Bidirectional: enter CBM to get Pieces, or enter Pieces to get CBM.

grain
grain-two

Key Features

CBM to Pieces Pieces to CBM Smart Rounding No Loop
CBM to Pieces

Enter quantity in CBM — pieces are calculated automatically from product dimensions.

  • Dimensions parsed from product name (e.g. 600x200x225)
  • Works on Sale Orders, Invoices, and Deliveries
  • Ceiling rounding — never under-order
  • Example: 7.67 CBM → 285 pieces
Pieces to CBM

Enter pieces directly — CBM quantity updates automatically. Perfect for ordering by piece count.

  • Enter 285 pieces → get 7.695 CBM
  • Exact calculation, no rounding on reverse
  • Works in all 3 models
Smart Rounding

Pieces are always rounded up (ceiling) to ensure you never order fewer blocks than needed. Floating point errors handled with 4-decimal precision.

  • 7.67 / 0.027 = 284.07 → ceil → 285 ✅
  • 10.80 / 0.018 = 600.0 → 600 (not 601) ✅
No Infinite Loop

Smart onchange logic prevents quantity from overwriting itself. Uses expected vs current pieces comparison to detect manual edits only.

  • Quantity change → pieces update (compute)
  • Pieces change → quantity update (onchange, UI only)
  • No recursive triggers, no DB corruption

How to Use

  • Enter Quantity (CBM) on Sale Order — Pcs auto-calculated:
  • Pieces appear on Customer Invoice too:
  • Works on Delivery Orders:

Screenshots

Found any issue? Raise here -> https://github.com/anmol6213/OdoosApps/issues/new

CBM Converter | Compatible with Odoo 19 Community, Enterprise, and Odoo.sh


Contact Details

📬 Email wa.me/+91 82082 45035 /anmolpatil83 Explore Other Apps

Slack Attendance Integration

Track employee attendance directly from Slack — no separate app, no browser required. Employees use simple slash commands to check in, check out, and manage breaks, all synced automatically with Odoo's HR Attendance module.

  • Features
  • Installation
  • Slack App Configuration
  • AI Summary Setup (optional)
  • Configuration Reference
  • Security
  • Changelog
  • Support

Features

Slack Slash Commands

Command Action
/login Check in — records attendance in Odoo
/logout Check out — closes attendance record
/break Start a break
/resume End a break and return to work

Smart Login Grace Time

Configure a grace window (e.g. 5 minutes) so that an employee who types /login at 10:00 AM is recorded as checking in at 9:55 AM. This removes the pressure of racing the clock.

Break Threshold

Short interruptions (bathroom, coffee) that fall below the configured minimum break duration are saved but not deducted from working hours. Only meaningful breaks count.

Net Working Hours

Every attendance record shows:

Net Working Hours = Total Hours − Counted Break Time

AI-Powered Daily Summary (optional)

When enabled with an Anthropic API key, each employee receives a personalised Slack DM at end-of-day. The message references their actual hours, streak, and target — not a generic template.

Daily Attendance Alert

Employees who forgot to /logout receive an automatic reminder DM.

Installation

Requirements

  • Odoo 17.0 or 18.0
  • Python packages: certifi, pytz (both included in standard Odoo)
  • A Slack workspace with a configured App (slash commands + bot token)

Steps

  1. Copy the slack_attendance_integration folder into your Odoo addons path.

  2. Restart the Odoo server.

  3. In Odoo, go to Apps → search for Slack Attendance → click Install.

  4. Navigate to Attendances → Configuration → Slack Settings.

  5. Fill in:

    • Slack Signing Secret — from your Slack app's Basic Information page
    • Bot Token — starts with xoxb-
    • Incoming Webhook URL — from Incoming Webhooks in your Slack app
  6. Set the Webhook URL in your Slack app's slash commands to:

    https://<your-odoo-domain>/slack/attendance
    
  7. For each employee, open their HR record and add their Slack User ID (found in Slack → profile → Copy member ID).

Slack App Configuration

Create a new Slack app at https://api.slack.com/apps and configure:

Slash Commands

Create four commands, all pointing to the same URL:

Command Usage hint
/login Check in to office
/logout Check out from office
/break Start a break
/resume Resume work after a break

Required Bot Token Scopes

  • chat:write — to send DMs to employees
  • commands — to respond to slash commands

AI Summary Setup (optional)

  1. Get an API key from https://console.anthropic.com
  2. In Slack Settings, enable AI Summaries and paste the key.
  3. The daily cron job will now send personalised messages instead of the default template.

Note

The API key is visible only to Odoo System Administrators. Summaries are generated once per day and cached on the attendance record.

Configuration Reference

Field Description
Login Grace Minutes Subtract N minutes from actual login time
Minimum Break Minutes Breaks shorter than this are not counted
Minimum Working Hours Target hours for daily summary comparison
Send Daily Summary Enable end-of-day Slack DM
Summary Time Hour (24h format) when the cron fires
Enable AI Summaries Use Claude AI for personalised messages
Anthropic API Key Your sk-ant- key (admin-only)

Security

  • Every request from Slack is verified using HMAC-SHA256 with your Signing Secret before any database action is performed.
  • Replay attacks are blocked — requests older than 5 minutes are rejected.
  • SSL connections use the certifi CA bundle (no certificate verification bypass).
  • The Anthropic API key is stored in an admin-only field group.

Changelog

17.0.1.0.0 (2024)

  • Initial release
  • Login / logout / break / resume slash commands
  • Grace minutes and minimum break threshold
  • Net working hours computation
  • Daily Slack summary via cron
  • AI-powered personalised summaries (Claude)
  • HMAC-SHA256 Slack signature verification
  • certifi-based SSL — no CERT_NONE
  • Employee timezone support (no hardcoded IST)

Support

  • GitHub: https://github.com/anmol6213/slack_attendance_integration
  • Issues: https://github.com/anmol6213/slack_attendance_integration/issues

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, please use the developer contact information. They can usually be found in the description.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with