add website_decimal_quantity

This commit is contained in:
Luis 2026-10-02 10:05:22 +02:00
parent 0323b6672e
commit 9d69e5f095
67 changed files with 1858 additions and 0 deletions

View file

@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
from odoo import fields, models
class UomCategory(models.Model):
_inherit = "uom.category"
allow_decimal_quantity = fields.Boolean(
string="Allow Decimal Quantity",
default=False,
help="If checked, products with this unit of measure category will allow decimal quantities in the website shop.",
)