reference instead supplier invoice number in voucher line

Bug #1286483 reported by Andrea Cometa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned
OpenERP Community Backports (Addons)
Status tracked in 7.0
7.0
Fix Committed
Undecided
Andrea Cometa

Bug Description

when paying a supplier invoice, with voucher, may be useful to show supplier invoice number instead of ref, only for supplier invoice.

I think this could be done in action_move_create in account.py

row 1024

                'ref': (inv.supplier_invoice_number and
                        inv.supplier_invoice_number or
                        (inv.reference and inv.reference or inv.name)),

Related branches

Revision history for this message
Andrea Cometa (scigghia) wrote :

sotty, this is the correct patch file

Revision history for this message
Andrea Cometa (scigghia) wrote :

account_invoice.reference is usefull?
patch may be

'ref': (inv.supplier_invoice_number and inv.supplier_invoice_number or inv.number)

Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Hi Andrea,

I don't see explicitely referenced in your report that this behaviour is specific to OCB-addons. Therefore I will link this bug to OpenERP addons instead.

affects: ocb-addons → openobject-addons
Revision history for this message
Andrea Cometa (scigghia) wrote :

hi Stefan, it is for ocb

affects: openobject-addons → ocb-addons
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Hi Andrea,

thanks for confirming this. The only bug type that can be valid for only OCB is a regression caused by an OCB specific change. Can you tell us more clearly what the behaviour is in standard OpenERP, and what the behaviour of OCB is, and what the regression consists of?

Thanks,
Stefan.

Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

More info here, in the original proposal for the OCB-project: https://lists.launchpad.net/openerp-community/msg02197.html

Revision history for this message
Andrea Cometa (scigghia) wrote :

Stefan,
no regression,
I just think that this feature is more likely to be considered in ocb

thanks

Changed in ocb-addons:
status: New → Incomplete
Revision history for this message
Andrea Cometa (scigghia) wrote :

patch file for openobject-addons

affects: ocb-addons → openobject-addons
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Hi Andrea, thanks. We'd be happy to discuss the change for OCB but you would have to propose a bzr branch with your patch committed.

Changed in openobject-addons:
status: Incomplete → New
Revision history for this message
Andrea Cometa (scigghia) wrote :

Hi Stefan, i'll make a merge proposal of that ok?

Revision history for this message
Andrea Cometa (scigghia) wrote :
Revision history for this message
Carlo - Didotech.com (iw3hxn) wrote :

scigghia +1

Revision history for this message
andrea_cg (a-gallina) wrote :

scigghia +1

Revision history for this message
Francesco Apruzzese (opencode) wrote :

+1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.