It's a complicated group.
Pallenis maritima does not occur in Portugal (only Pallenis spinosa, which is considerably different).
In my opinion this is genus Calendula, apparently Calendula arvensis (I think the English name is Field Marigold). The other option is Calendula suffruticosa, but I think C. arvensis is a better fit.
See here:
https://flora-on.pt/#/1Calendula+arvensis
NOTE: Pallenis maritima is now Asteriscus maritimus, which does occur in SW Portugal, but still not a fit.