Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Auto Load Customer Invoice Address

By
Sansal Birbas
on 6/4/15, 10:39 AM 444 views

Hi Friends,

I succesfully added a field named as "Invoicing Address" to account.invoice form. Now when i try to create a direct invoice from Accounting/Customer Invoices, i can select an invoice address from res.partner dropdown list . As you can understand , my custom field is related with res.partner so i can choose one of partners as invoice address. As we know, we can assign invoice addresses to companies in Sales/Customers menu. So, basically what i need to do is that if the company has such an assigned invoicing address , automatically load it into my "invoicing address" field. I tried context parameters on custom field.

<field name="address_invoicing_id" groups="sale.group_delivery_invoice_address"

options='{"always_reload": True}' context="{'default_type':'invoice', 'show_address': 1}"/>


But it seemed not working. So any other suggestions from you? I would be appreciating that much. Thank you in advance.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/4/15, 10:39 AM
Seen: 444 times
Last updated: 6/4/15, 10:39 AM