I am working on developing a module for Odoo for the company I work for which uses it inhouse, I have some experience with the platform and developing modules however I am new to developing Widgets and using QWeb. I am on a tight schedule and I need someone who has experience with the platform who can provide answers quickly that would otherwise take some time to research.
I am building a module to import data and am using other Odoo source code as references, primarily the base_import mode and the hr_timesheet_sheet module. Both of which implement widgets/functionality which I am aiming for. The idea is that once a file is uploaded to a record it will be validated then display the lines in a CSV file that need to be reviewed before importing.
My question is as follows and is most likely has a very simple answer that I cannot seem to find and answer quickly, how do I pass the active_id to my form widget? That is basically it, I would like a quick answer to that question preferably with an example.
Basically I am looking for an Odoo expert that can answer simple questions like this quickly and/or point me in the right direction to find the answers.