Files
odoo_source/addons/analytic
Habib (ayh) 346a75d5ef [FIX] analytic: distribution widget plans
There are a few issues solved in this commit
1. Fetch plans is called too many times (Journal items List view). This is not necessary as plans are only required if editing
2. Plans are not fetched again if the product/account changes. This is because the record referenced by props and nextProps is the same, hence a change is not detected.
3. In list views - analytic account data is retrieved for each instance of the widget. To reduce the calls, a batched read is used instead

Improve test

closes odoo/odoo#101803

X-original-commit: 01d7579cfc8bf441f03d4467ef34a2d3bae015a4
Signed-off-by: William André (wan) <wan@odoo.com>
2022-10-01 13:01:52 +02:00
..
2022-09-20 12:36:01 +02:00
2022-09-30 09:31:52 +02:00
2022-09-20 12:36:01 +02:00
2022-09-20 12:36:01 +02:00
2022-09-20 12:36:01 +02:00
2022-09-20 12:36:01 +02:00