mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-25 13:52:04 +02:00
10 lines
360 B
Python
10 lines
360 B
Python
from odoo import fields, models
|
|
|
|
|
|
class WebsiteBaseUnit(models.Model):
|
|
_name = "website.base.unit"
|
|
_description = "Unit of Measure for price per unit on eCommerce products."
|
|
_order = "name"
|
|
|
|
name = fields.Char(help="Define a custom unit to display in the price per unit of measure field.",
|
|
required=True, translate=True)
|