Skip to Content
Menú
This question has been flagged
3 Respostes
1376 Vistes

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
Descartar
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
Descartar

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
Descartar
Autor 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
Descartar
Related Posts Respostes Vistes Activitat
2
de maig 25
1270
0
de nov. 23
1123
1
d’ag. 24
1490
2
de juny 24
1126
2
de juny 24
2528