mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-26 15:52:03 +02:00
11 lines
315 B
Python
11 lines
315 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class WebsiteTrack(models.Model):
|
|
_inherit = 'website.track'
|
|
|
|
product_id = fields.Many2one(
|
|
comodel_name='product.product', ondelete='cascade', readonly=True, index='btree_not_null',
|
|
)
|