[15.0] [FIX] helpdesk_mgmt: company_id should come from team
Otherwise, creating tickets from fetchmail would always set odoobot's company in new tickets, potentially in contrast to team's company
@eLBati , the company would be undefined in case it is created manually without adding any team
@ByteMeAsap why do you think this would be a problem?
Record rule helpdesk_ticket_comp_rule expects tickets without company.
Anyway, I also added _default_team_id , please review
Thanks
/ocabot merge patch
On my way to merge this fine PR! Prepared branch 15.0-ocabot-merge-pr-553-by-rvalyi-bump-patch, awaiting test results.
Congratulations, your PR was merged at 1bff1120899d78fe93725243030b1785f9e1f3d1. Thanks a lot for contributing to OCA. ❤️
Reverted in #619
See https://github.com/OCA/helpdesk/pull/618#pullrequestreview-2281927887
@rvalyi you merged just after I request the review of my colleague, which has been working on this question a lot. It's true that the PR has been here a lot of time, but we didn't see it, sorry. But this is breaking some flows that were designed to work that way. @victoralmau maybe you can add some tests for that flows.
Replacing with https://github.com/OCA/helpdesk/pull/622