summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/stock_picking.py
diff options
context:
space:
mode:
authorIndoteknik . <andrifebriyadiputra@gmail.com>2025-05-02 16:06:46 +0700
committerIndoteknik . <andrifebriyadiputra@gmail.com>2025-05-02 16:06:46 +0700
commit9bc2b6612c81844dbbee40a8678862a241dafb11 (patch)
tree8cae3b26feb6f184a53af3ccd2d7aff361fffc31 /indoteknik_custom/models/stock_picking.py
parentbb8a5981bdfd8a8d60db7fe509a989c29b2a4e5e (diff)
parentf050f06b6f057e20ecc99427850c9c43c7f02224 (diff)
resolve merge
Diffstat (limited to 'indoteknik_custom/models/stock_picking.py')
-rw-r--r--indoteknik_custom/models/stock_picking.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py
index e178ad1c..a017a090 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -158,13 +158,13 @@ class StockPicking(models.Model):
linked_manual_bu_out = fields.Many2one('stock.picking', string='BU Out', copy=False)
area_name = fields.Char(string="Area", compute="_compute_area_name")
-
@api.depends('real_shipping_id.kecamatan_id', 'real_shipping_id.kota_id')
def _compute_area_name(self):
for record in self:
district = record.real_shipping_id.kecamatan_id or ''
city = record.real_shipping_id.kota_id or ''
record.area_name = f"{district}, {city}".strip(', ')
+
# def write(self, vals):
# if 'linked_manual_bu_out' in vals: