Andrea Cometa has proposed merging lp:~scigghia/ocb-addons/7.0_prop_supplier_invoice_number into lp:ocb-addons.
Requested reviews: Stefan Rijnhart (Therp) (stefan-therp) giudalo (g-dalo) Carlo - Didotech.com (iw3hxn) Andrea Cometa (scigghia) Related bugs: Bug #1286483 in OpenERP Community Backports (Addons): "reference instead supplier invoice number in voucher line" https://bugs.launchpad.net/ocb-addons/+bug/1286483 For more details, see: https://code.launchpad.net/~scigghia/ocb-addons/7.0_prop_supplier_invoice_number/+merge/208934 when paying a supplier invoice, with voucher, may be useful to show supplier invoice number instead of ref for supplier invoice, and invoice_number instead of ref or name for out invoice I think this could be done in action_move_create in account.py done by this mp -- https://code.launchpad.net/~scigghia/ocb-addons/7.0_prop_supplier_invoice_number/+merge/208934 Your team OpenERP Community Backports Team is subscribed to branch lp:ocb-addons.
=== modified file 'account/account_invoice.py' --- account/account_invoice.py 2014-03-03 09:25:24 +0000 +++ account/account_invoice.py 2014-03-03 19:25:49 +0000 @@ -1022,7 +1022,7 @@ line = self.finalize_invoice_move_lines(cr, uid, inv, line) move = { - 'ref': inv.reference and inv.reference or inv.name, + 'ref': inv.reference or inv.supplier_invoice_number or inv.name, 'line_id': line, 'journal_id': journal_id, 'date': date,
-- Mailing list: https://launchpad.net/~openerp-community-reviewer Post to : openerp-community-reviewer@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community-reviewer More help : https://help.launchpad.net/ListHelp