Monday, November 27, 2023
28 changes · master
Miscellaneous changes
If mrp_workorder_expiry module is installed a skip_expired context key is defined on the two buttons "Mark as Done" and "Mark as Done and Close MO". However, the context key was not transmitted properly to the backend because params.context is a string, whereas this.props.context is an Object, resulting in a new context were only the key/values from this.props.context were consistent, while the string in params.context was exploded in multiple characters. Forward-Port-Of: odoo/enterprise#48988
Original PR description
If mrp_workorder_expiry module is installed a skip_expired context key is defined on the two buttons "Mark as Done" and "Mark as Done and Close MO". However, the context key was not transmitted properly to the backend because params.context is a string, whereas this.props.context is an Object, resulting in a new context were only the key/values from this.props.context were consistent, while the string in params.context was exploded in multiple characters. Forward-Port-Of: odoo/enterprise#48988
When using 'resource_time' without pictures, the name of the variable within the resource loop in the select is 'resource', which is also the name of the resource described in the details right column. Therefore, the last resource was always shown. It should not be shown at all. Templates are updated to have unique names. Also, when selecting a user in operator screen (when website is installed and pictures are enabled), their info is not showing on the right column on time selection s
Original PR description
When using 'resource_time' without pictures, the name of the variable within the resource loop in the select is 'resource', which is also the name of the resource described in the details right column. Therefore, the last resource was always shown. It should not be shown at all. Templates are updated to have unique names. Also, when selecting a user in operator screen (when website is installed and pictures are enabled), their info is not showing on the right column on time selection screen. We also remove isOperator as not strcitly useful but instead explicitely set resource to False in appointment_select_operator in order to make sure it is not used as a selected resource in other templates. This is necessary because of the loop on available resources using t-as="resource". This solution avoids renaming all instances in that template. Task-3588251 Forward-Port-Of: odoo/enterprise#50826
Issue: ------ The purpose of the `signature_count` field is to count the number of signature requests. However, it counts signatures that have been archived. For example, in the recruitment application, when we want to see the number of requests sent to a job application. Solution: --------- Modify the domain to take status into account and display only signatures that are `sent` and `completed`. opw-3550893 Forward-Port-Of: odoo/enterprise#51372 Forward-Port-Of: odoo/enterprise#509
Original PR description
Issue: ------ The purpose of the `signature_count` field is to count the number of signature requests. However, it counts signatures that have been archived. For example, in the recruitment application, when we want to see the number of requests sent to a job application. Solution: --------- Modify the domain to take status into account and display only signatures that are `sent` and `completed`. opw-3550893 Forward-Port-Of: odoo/enterprise#51372 Forward-Port-Of: odoo/enterprise#50907