Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
3417 Widoki

Hello, i'm ussing odoo 8, and I have an issue with the addresses of my partners. I have installed the address book addon, and I have introduced the federal states for my parterns (the states correponding to Spain). The problem is that the field federal state is not passed to my sales orders, purcharses orders, and invoices, so the format for the address of my partners appears without federal state. How I can solve this? Thanks

Awatar
Odrzuć
Autor Najlepsza odpowiedź

After code diving, finally I could find the way to make the federal state appears on the addresses of orders and invoices. At the sales menu, on address book -> localization -> countries, go to your country. It has and address format easy to personalize. Thanks Ludo for your link, after reading about relational-fields and reading the code of modules, I fell into the real question.

Awatar
Odrzuć
Najlepsza odpowiedź

I'm afraid you will need to write that part yourself. But, fortunately, its not that hard actually. The addresses themselves already exist on the documents you mentioned, so using related fields will quickly get your information on the objects.

When you say these addresses and the format, do you also mean the printed versions? Because they might be considerably more work then just the objects themselves.

For a guide on using related fields (assuming you will create them yourselves that is), see the following link:

https://www.odoo.com/documentation/8.0/howtos/backend.html#relational-fields

Hope this helps!

Awatar
Odrzuć
Autor

Thanks for your answer. I also mean to be printed, so I will try to learn how to do it. I will read the how to for relational fields and then I will try to continue the job for make the printing part working. Thanks!

You're welcome. Remember, if you get stuck, just create another issue/question and it is likely to be answered.