diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-11-11 10:03:16 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-11-11 10:03:16 +0700 |
| commit | 22bead3f48c8f98968ec4ce559fe492245e21ff1 (patch) | |
| tree | 02048b633d052a280d05b5c449e7850a5458ba11 | |
| parent | bab632a223a0c8809c7629756f895732d288c6ff (diff) | |
remove mandatory real delivery address in stock picking (do or receipt)
| -rw-r--r-- | indoteknik_custom/models/stock_picking.py | 2 |
1 files changed, 1 insertions, 1 deletions
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") |
