Thursday, November 29, 2018
3 changes · master
Enhancements to existing features
This change improves the efficiency of record filtering by allowing operations to stop once the needed result is found. It can reduce unnecessary processing in common internal workflows, helping the system respond faster without changing user-facing behavior.
Original PR description
Hi guys
This commit is to improve speed in some filtered operations.
- when you need to select only one record, it is better to stop the loop when you have find one. Replace `self.filtered(func)[:1]` by `self.filtered(func, limit=1)`.
- when you use filtered to get a boolean :
```
if self.filtered(func):
return ....
```
you don't need to compute the condition for all records, you can add `limit=1` and `count=True`
what do you think ?
@odony
@alnslang
@Yenthe666
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prPurchase orders will now show the billing status as "Fully Billed" instead of "No Bill to Receive" when invoicing is complete. This makes the status easier for users to understand and better reflects the actual business state of the order.
Original PR description
Task: https://www.odoo.com/web#id=1857963&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.227bf37c690c32e1719a8eb87ceb27ee Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Quality Control Points form has been reorganized so its tabs appear in a more logical order. This makes the screen easier to navigate for users setting up or reviewing quality checks, reducing friction in day-to-day quality management.
Original PR description
Task: https://www.odoo.com/web?#id=1895297&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.ebc07031e83dbc5b5da71f06c14506e1