Ricardoalso
Ricardoalso
Migration to 16 of https://github.com/OCA/server-auth/pull/602 feature
Code before the PR ``` self.env.cr.execute( "SELECT id FROM auth_saml_provider WHERE id in %s FOR UPDATE", (tuple(providers.ids),), ) ``` This line of code locks the records of the SAML providers...
AccessError to be raised if no employee is found matching the domain, providing a clear error message and avoiding `ValueError: Expected singleton: hr.employee()`
**Issue Description** The previous implementation of _get_move_values(self, picking, lines) relied on data from the transient model "wiz.stock.move.location.line". This approach led to potential inconsistencies between stock_move_location_line_ids.destination_location_id and self.destination_location_id. **Previous Implementation** location_from_id...
Adding the WHERE clause, the query will only update rows where index_content is not NULL, reducing the number of unnecessary updates. If most values are already NULL, the speed execution...
**AS-IS** `untaxed_amount_to_invoice = fields.Monetary("Untaxed Amount To Invoice", compute='_compute_untaxed_amount_to_invoice', store=True)` field is computed by `def _compute_untaxed_amount_to_invoice(self):` in sale addon > https://github.com/odoo/odoo/blob/15.0/addons/sale/models/sale_order_line.py#L472 However, the `untaxed_amount_to_invoice` result will only be based on the...