hello community
i have an one2many record which contain 3 field : name and start_date and end_date and i want to set the end_date to start_date of the next row ? how to do this ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
hello community
i have an one2many record which contain 3 field : name and start_date and end_date and i want to set the end_date to start_date of the next row ? how to do this ?
Hello,
you can achieve this by referring the standard code in account.move.line , default_get method
for move_line_dict in move_obj.resolve_2many_commands(cr, uid, 'line_id', context.get('line_id'), context=context):
you can find the above line and follow the steps you can achieve it.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up