'name':self.env['ir.sequence'].with_context(ir_sequence_date=str(fields.Date.today())[:10]).next_by_code('warehouse.purchase')
Heya newbie in learning odoo backend, i have a question to ask what is the use of with_context in this case? i mean how do i read the code above me? what is the function of with context in this case and next by code in this case