odoo / o-spreadsheet

Other
193 stars 44 forks source link

[IMP] functions: add SEQUENCE function #4877

Closed LucasLefevre closed 1 month ago

LucasLefevre commented 1 month ago

Task:

Description:

This commit adds the SEQUENCE function to generate a sequence of numbers.

It can useful, among other things, to create array versions (vectorized) of ODOO.LIST or positional (#) pivot 

=ODOO.LIST(1,SEQUENCE(15),"email_from") =PIVOT.VALUE(1,"expected_revenue:sum","#team_id",SEQUENCE(10))

Vectorized formulas are best for performance because it requires way less cells to achieve the same thing.

Task: : 4129396

review checklist

robodoo commented 1 month ago

Pull request status dashboard

rrahir commented 1 month ago

@robodoo r+