i understood that there is a ::from a ::TO and a carrier.
si we chose fr → fr car1
fr->it car2
but if we want a fr → (not fr nor it) car 3 if we just leave blank it is chosen by default for all
how could we indicate a fallback ?
i understood that there is a ::from a ::TO and a carrier.
si we chose fr → fr car1
fr->it car2
but if we want a fr → (not fr nor it) car 3 if we just leave blank it is chosen by default for all
how could we indicate a fallback ?
Hi, Yes, if you leave From or To blank it will match all.
it seems to be a bad choice that a blank one will take precedence on all. One could think that it is a fall back .
the solution is to add one carrier for each of the 197 country if you have a special carrier for only 1 country.
Maybe there is a method to provide a fallback ?
The items that you want to match first should be on top if the list.
The Carrier selection can be sorted by drag and drop, or by changing the sequence.
You should have the most specific Carrier selection records first in the list, as they are the most likely to not match. If they do not match then you will get to the fallback selection without To: country set.
In your case fr-> should be last in the list.
The issue that I think is bothering you is that this will also match fr->fr. But at least it will be last in the list and not selected by default.
it does not work, i tried this way, i’ll look again and again
I think what you want is:
From Country | To Country | Carrier |
---|---|---|
FR | FR | Car1 |
FR | IT | Car2 |
FR | Car3 |
This way, if you have Fr->Fr Car1 will be matched first.
If you have Fr->It, Car2 will be matched first.
If you have Fr->Es (for example), this will not match the first two, and only Car3 will be selectable.
The caveat is that in the case of Fr->Fr and Fr->It, Car3 will also be seletable, but it will not be the default.
Please do write exactly what you have done and you expect.
Do note: the entries have to be in the order above!
I tested on my tryton instance and the behavior matches the one I explain above.