Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
1607 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit

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!

Nejlepší odpověď

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
Zrušit
Autor Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
kvě 25
1586
0
lis 23
1372
1
srp 24
1729
2
čvn 24
1441
2
čvn 24
2889