mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
13 lines
300 B
Python
13 lines
300 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
import logging
|
|
|
|
from odoo import api, fields, models, _
|
|
|
|
_logger = logging.getLogger(__name__)
|
|
|
|
class Location(models.Model):
|
|
_inherit = "stock.location"
|
|
|
|
complete_name = fields.Char("Full Location Name", compute='_compute_complete_name', store=True, translate=True)
|