Odoo Help


Invoice duplicate as attachment

on 10/12/16, 4:45 PM 866 views

How to save and get invoice duplicate from attachments?  Any ideas?

In my country date of duplicate is very important!

Mai Ecarde
On 10/12/16, 6:30 PM

Install "attachments list and document indexation" and an attachments menu will show above all forms.

Module on app store at link below.


I know that. One small problem, I need store attachment with current date (date of duplicates) in attachment name (or similar solution).

on 10/13/16, 4:52 AM

Oh ok. You could try changing the attachment prefix of the report to include the current date?

(In developer mode)

Settings > Technical > Reports > Reports > Duplicates -> "Save as Attachment Prefix" = time.ctime()

Note: This will be in UTC

Mai Ecarde
on 10/13/16, 7:38 AM

Thanks. In fact, the time.ctime() works in generation attachments name. For me, the better is time.strftime(%Y-%m-%d). Problem remains - the timezone.

on 10/13/16, 10:50 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 10/12/16, 4:45 PM
Seen: 866 times
Last updated: 10/13/16, 10:50 AM