account invoice - save as attachment

Bug #594653 reported by Ferdinand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

./addons/account/account_report.xml: attachment="(object.state in ('open','paid')) and ('INV'+(object.number or '').replace('/',''))"

IMHO this will store ONLY invoices generated from stock moves.

AFAICS "INV" prefix is only used in
./addons/stock/stock.py: 'name': 'INV:' + str(line.inventory_id.id) + ':' + line.inventory_id.name,

The correct behavior would be to store ALL generated invoices

may be I miss something

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Dr. Ferdinand,

Reports with the mentioned states are only to be saved as attachment.
INV is the prefix for just the name of the attachment/report.

Let us know if there is something wrong.
Thanks.

Changed in openobject-addons:
milestone: none → 5.0.12
status: New → Invalid
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.