OCA / fleet

Odoo fleet management modules
GNU Affero General Public License v3.0
29 stars 79 forks source link

[16.0][FIX] Avoid setting the value of the "vehicle service" field when creating … #146

Closed extrememicro closed 5 months ago

extrememicro commented 5 months ago

…a meeting from models other than "fleet.vehicle.log.services"

reformatted

Fix calendar_event.py to check res model before setting "Vehicule service"

This will avoid setting the value of the "vehicle service" field when creating a meeting from models other than "fleet.vehicle.log.services"

Cherry-picked from #120 Without this fix we can not create meeting activities to any model except fleet

@Jordi-Buitrago

OCA-git-bot commented 5 months ago

Hi @mamcode, @ivantodorovich, some modules you are maintaining are being modified, check this out!

ivantodorovich commented 5 months ago

thanks!

/ocabot merge patch

OCA-git-bot commented 5 months ago

This PR looks fantastic, let's merge it! Prepared branch 16.0-ocabot-merge-pr-146-by-ivantodorovich-bump-patch, awaiting test results.

OCA-git-bot commented 5 months ago

Congratulations, your PR was merged at 31bf61f5519aa1fced7a5fdcba47278303290231. Thanks a lot for contributing to OCA. ❤️