mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
[FIX] crm_claim_rma: Fixed raise Warning. Changed to raise exceptions.Warning
This commit is contained in:
committed by
Cyril Gaudin
parent
543fce6228
commit
805fd715fa
@@ -218,7 +218,7 @@ class ClaimMakePicking(models.TransientModel):
|
||||
common_dest_location = self._get_common_dest_location_from_line(
|
||||
claim_lines)
|
||||
if not common_dest_location:
|
||||
raise Warning(
|
||||
raise exceptions.Warning(
|
||||
_('Error'),
|
||||
_('A product return cannot be created for various '
|
||||
'destination locations, please choose line with a '
|
||||
|
||||
Reference in New Issue
Block a user