Public bug reported:

The code in the two wizards sale.order.line.make.invoice and
purchase.order.line.invoice needs fixing:

* 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_invoice_line methods of sale order and purchase 
orders

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)

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1229750

Title:
  [trunk] sale.order.line.make.invoice and purchase.order.line.invoice
  are impossible to extend

Status in OpenERP Addons (modules):
  New

Bug description:
  The code in the two wizards sale.order.line.make.invoice and
  purchase.order.line.invoice needs fixing:

  * 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_invoice_line methods of sale order and purchase 
orders

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1229750/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help   : https://help.launchpad.net/ListHelp

Reply via email to