William Henrotin
William Henrotin
robodoo r+ thank you
@Kosaaaaa Hello, I have this evaluation on a standard database ```python >>> type(self._prefetch_ids) ``` and thus `self._prefetch_ids[-1]` works correctly do you have a specific config or usecase for which I...
@Kosaaaaa the class `PrefetchX2many` is only used for `_prefetch_ids` of `x2many` field. Applied on a recordset, it should always return a tuple. ```python >>> type(self._prefetch_ids) >>> type(self.bom_line_ids._prefetch_ids) ``` In our...
@Kosaaaaa hello. I now see the issue. Thank you for the explanation. robodoo r+
@sagu-odoo you can use `float_compare` on other quantity fields
@sagu-odoo Thank you also could you write a test to secure it ? and it's good to me
robodoo r+ thank you
@sagu-odoo Sorry to miss all your messages. The issue is, before https://github.com/odoo/odoo/pull/152709, `float_round` was not consistent. It could return `xx.99999996` like `yy.0000001` applying `//1` on this result will shift the...
@qung-odoo could you add a test that protect this flow ? thank you