Monday, March 18, 2024
2 changes · master
Resolved issues and error corrections
The project sharing list now hides the customer/partner column when it does not apply to the project type. This reduces confusion for users viewing shared field service projects by only showing relevant information.
Original PR description
Before this commit, the `hide_partner` context was passed by the python method returning the main action for project sharing feature to be able to hide the `partner_id` column in the main view when the project is not billable and nor fsm one. This commit overrides the list view to add that condition in `column_invisible` attribute of `partner_id` field. task-3615844
The preparation display tests were reorganized so each screen only loads the test files it actually needs. This prevents unnecessary dependencies from causing errors and helps keep point of sale and preparation display checks stable.
Original PR description
The `pos_preparation_display` launches tours both in the `point_of_sale` and in `pos_preparation_display` interfaces. Previously, it was importing all the tours files from pos, which is not needed and which lead to erros. For example if one of the tours in pos has a dependency in a different folder, than the preparation display would have to bring this dependency too. The solution is to split the test files in the `pos_preparation_display` module into `point_of_sale` and `pos_preparation_display` folders.