Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4263 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 12 24
1376
1
thg 3 23
6592
2
thg 4 22
4045
0
thg 10 21
2600
2
thg 5 20
12153