Saturday, November 12, 2022
1 change · master
Miscellaneous changes
Steps to reproduce: - install sale_management and industry_fsm_stock; - create a service which create a task in an existing project; - create a sale order with this service; - confirm the quotation to automatically create a related task; - make sure the stage of the sale order is in draft or sent (cancel -> set to quotation); - change the person assigned to the created task; - confirm the new quotation. Issues: The saleperson of the sale order is also changed even if the project is no
Original PR description
Steps to reproduce: - install sale_management and industry_fsm_stock; - create a service which create a task in an existing project; - create a sale order with this service; - confirm the quotation to automatically create a related task; - make sure the stage of the sale order is in draft or sent (cancel -> set to quotation); - change the person assigned to the created task; - confirm the new quotation. Issues: The saleperson of the sale order is also changed even if the project is not a "fsm project". Causes: the field service application (and more precisely the industry_fsm_stock module) wants the salesperson to be the person assigned to the task (for example, to track a stock) Solutions: Check the type of the project which should be a "fsm project" to change the salesperson. opw-2963865 Forward-Port-Of: odoo/enterprise#33833 Forward-Port-Of: odoo/enterprise#32809