[trunk] sale.order.line.make.invoice and purchase.order.line.invoice are impossible to extend
Bug #1229750 reported by
Alexandre Fayolle - camptocamp
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
The code in the two wizards sale.order.
* it uses inner function to create the invoices and invoice lines, which makes it impossible to extend using the standard openerp practices (_inherit + super())
* it bypasses the _prepare_
the net effect is that the customizations need to be written twice, and one of the places is awkward (requires complete rewrite of the wizard implementation, which in turns breaks separation of concern through different modules extending the same object)
Changed in openobject-addons: | |
status: | Expired → Invalid |
Changed in openobject-addons: | |
status: | Invalid → New |
Changed in openobject-addons: | |
status: | New → Confirmed |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Low |
To post a comment you must log in.
Hello Alexandre,
Would you please explain this with complete example. So I can do a test on it.
Thank you