Community mailing list archives
Fwd: Get records using Save & Create buttonby
Omar OUHARI, Omar OUHARI
I need to retrieve the number of records created on a one2many object when I pass through creation wizard and clicked Save & Create button.
I need this information to increment the number and assign it to another field on the same object. Somthing like that : my_field = len(line_ids) + 1 in default methode of sale.order.
I know there is the sequence but I will not use it because it does not meet my needs.
I can got this information if I pass throught Save & Close or if I set tree editable = bottom but not in form view creation.
Any help please.
Lambda Networks AS, Levent Karakaş