diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-04 14:57:23 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-04 14:57:23 +0700 |
| commit | 01679990c3e6d125c94b8ac40b35cf768a439c84 (patch) | |
| tree | 2c20de7eea43dd6e0eaaa2f71d493a29c596309e | |
| parent | a2c7bb058471cf7420ad70a578181dbe0d2884ac (diff) | |
push
| -rw-r--r-- | fixco_custom/models/shipment_group.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fixco_custom/models/shipment_group.py b/fixco_custom/models/shipment_group.py index 4832dd5..5853365 100644 --- a/fixco_custom/models/shipment_group.py +++ b/fixco_custom/models/shipment_group.py @@ -43,7 +43,7 @@ class ShipmentGroup(models.Model): for rec in self: carriers = rec.picking_lines.mapped('carrier') carriers = [c for c in carriers if c] - rec.shipment_method = ', '.join(sorted(set(carriers))) if carriers else '-' + rec.shipment_methods = ', '.join(sorted(set(carriers))) if carriers else '-' @api.onchange('picking_lines') |
