osv_memory classes seem to share their _columns?
Before I put together a more complicated scenario, maybe someone can explain the behaviour I'm seeing if it isn't a bug.
I have two osv_memory wizards in separate classes which create dynamic forms. If I launch WizardA and then launch WizardB, the columns from WizardA are now attributes of WizardB as well. So if I print self._columns when launching WizardB, I'll see all of it's columns plus WizACol1, WizACol2, etc, etc. These don't show up on the form itself, but I believe it's causing a couple of issues elsewhere for me.
So... why is WizardB being instantiated with WizardA's columns? The columns (should) belong to WizardA, not WizardB or their parent class osv_memory. Am I missing something?
Let me know if a test module is required to demonstrate, or if I'm simply missing something obvious. Thanks!
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Olivier Dony (Odoo)
- Solved:
- Last query:
- Last reply:
This question was originally filed as bug #772522.