From 22bead3f48c8f98968ec4ce559fe492245e21ff1 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Fri, 11 Nov 2022 10:03:16 +0700 Subject: remove mandatory real delivery address in stock picking (do or receipt) --- indoteknik_custom/models/stock_picking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py index d70cfc4d..d016e241 100644 --- a/indoteknik_custom/models/stock_picking.py +++ b/indoteknik_custom/models/stock_picking.py @@ -15,7 +15,7 @@ class StockPicking(models.Model): count_line_detail = fields.Float('Total Item Detail', compute='_compute_summary_qty') count_line_operation = fields.Float('Total Item Operation', compute='_compute_summary_qty') real_shipping_id = fields.Many2one( - 'res.partner', string='Real Delivery Address', required=True, + 'res.partner', string='Real Delivery Address', domain="['|', ('company_id', '=', False), ('company_id', '=', company_id)]", help="Dipakai untuk alamat tempel") -- cgit v1.2.3