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

Hi,

I uploaded an app ("Animal") that allows you to create a pet and link it with its owner name. In order to link both, I first have to create the customer into the accounting module and then I can select it in the app.

When I create the invoice (accounting module), I would like to be able to choose the customer or by its name or by its pets name.

Does anybody had this case? Or anyone who would be able to help me knowing I'm a total beginner in coding! The database is running on Odoo 17.


Many thanks for your help!

Have a great week-end!

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

Hello,

This can be accomplished by using the "Reference" field on the customer record, under the "Sales & Purchase" tab. If you enter the pets name in that reference field, you will be able to select the customer by their name or by the reference.



Ảnh đại diện
Huỷ bỏ

thanks chlu, looking for another "reference" based solution that could be solved with your input.
keep it simple!

A customer can have multiple pets, is the suggestion to add all in the reference field of the customer?

@jaideep You can add multiple names in the reference field and comma separate them, and it will work all the same.

Simple yet sleek solution!

Câu trả lời hay nhất

I would create each pet as individual contact and then link to a customer as other contact.


This would ensure you can invoice the customer even if you search by pet name (believe as default the name appears as customer name, pet name). Furthermore you would have the ability to keep pet specific notes if any.

It is possible to import contacts from spreadsheets, you would however need to create contacts and then link them.

Don’t believe you need any specific app for this.

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

Wahou!

That's great! Many many thanks! It works perfectly!

Do you believe there is a way to automatise this process? There are more than 700 pets on the database...(considering some owners have multiple pets)? Or maybe I should not use the app "animal" anymore and consider the pets as "products/subproducts"?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 5 25
1237
0
thg 11 23
1107
1
thg 8 24
1463
2
thg 6 24
1069
2
thg 6 24
2470