Skip to Content
Menu
This question has been flagged
3 Replies
1531 Views

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!

Avatar
Discard
Best Answer

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.



Avatar
Discard

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!

Best Answer

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.

Avatar
Discard
Author Best Answer

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"?

Avatar
Discard
Related Posts Replies Views Activity
2
May 25
1487
0
Nov 23
1268
1
Aug 24
1660
2
Jun 24
1298
2
Jun 24
2772