mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-17 10:19:09 +02:00
add new fields
This commit is contained in:
17
tra_backend_Product/models/product.py
Normal file
17
tra_backend_Product/models/product.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
import logging
|
||||
from psycopg2 import sql, extras
|
||||
from datetime import datetime, timedelta, date
|
||||
|
||||
from odoo import api, fields, models, tools, SUPERUSER_ID
|
||||
|
||||
|
||||
class ProductProduct(models.Model):
|
||||
_inherit = "product.template"
|
||||
|
||||
width = fields.Float('Width', digits='Stock Weight')
|
||||
length = fields.Float('Length', digits='Stock Weight')
|
||||
height = fields.Float('Height', digits='Stock Weight')
|
||||
model_grade = fields.Char('Model/Grade')
|
||||
Reference in New Issue
Block a user