1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/website_sale_stock/models/stock_picking.py
2024-12-10 09:04:09 +07:00

13 lines
457 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class StockPicking(models.Model):
_inherit = 'stock.picking'
website_id = fields.Many2one('website', related='sale_id.website_id', string='Website',
help='Website where this order has been placed, for eCommerce orders.',
store=True, readonly=True)