تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4124 أدوات العرض

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

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

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

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
ديسمبر 24
1219
1
مارس 23
6409
2
أبريل 22
3842
0
أكتوبر 21
2492
2
مايو 20
12032