Skip to Content
Menu
This question has been flagged
2 Replies
3755 Views

Hello,

We made a migration from V8 to V10 few months ago.

On the new database (V10), we removed the accounting Apps and reinstall them to start from scratch about accounting.

Now when i'm creating a new invoice (supplier or customer) a very old attachement is automatically attached the new created invoice.

When i'm searching in the model ir.attachement with res_model  = "account.invoice", i can't find any attachement which are not yet linked to an account.invoice.id.

When i'll create a new invoice, the old attachement will automatically appear in ir.attachement model (with date of creation in 2014 for example).

Do you know how i can show and delete ir.attachement not linked yet to an invoice ?

Thanks

Morgan

Avatar
Discard
Author Best Answer

Thanks Ermin but "Settings/Technical/Database Structure/Attachments" show model ir.attachement and as i told in my message:

- I see old attachement linked to an existing invoice - id 104 here https://i.imgur.com/79J2gUw.png

- but I can't see there old attachement not yet linked to invoices

- if i create a new invoice i will have automatically have a new attachement created 4 years ago

Any idea how to show and delete ir.attachment linked to an id_ressource that do not exist ... ?

Thanks

Avatar
Discard
Best Answer

You can check the attachments stored by browsing them under "Settings/Technical/Database Structure/Attachments".

Avatar
Discard
Related Posts Replies Views Activity
0
Dec 24
707
1
Mar 23
5789
2
Apr 22
3331
0
Oct 21
2165
2
May 20
11583