mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-27 02:12:05 +02:00
19.0 vanilla
This commit is contained in:
parent
79f83631d5
commit
73afc09215
6267 changed files with 1534193 additions and 1130106 deletions
|
|
@ -1,10 +1,15 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class WebsiteBaseUnit(models.Model):
|
||||
_name = "website.base.unit"
|
||||
_name = 'website.base.unit'
|
||||
_description = "Unit of Measure for price per unit on eCommerce products."
|
||||
_order = "name"
|
||||
_order = 'name'
|
||||
|
||||
name = fields.Char(help="Define a custom unit to display in the price per unit of measure field.",
|
||||
required=True, translate=True)
|
||||
name = fields.Char(
|
||||
help="Define a custom unit to display in the price per unit of measure field.",
|
||||
required=True,
|
||||
translate=True,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue