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

No invoice button for partial purchase order

By
MortenS
on 5/17/16, 9:59 AM 209 views

Hi I am trying to create an invoice of a partial order, but the create invoice/refund button did not show up.

I then changed the attributes of the button to:

attrs="{'invisible': ['|','|',('state','<>','done'),
    ('invoice_state','=','invoiced'),('invoice_state','=','visible')]}"

So I changed the invoice_state to visible which made the button show up.

The problem is that when I click the button i get an error:

This picking list does not require invoicing.

The invoice control status is: "not applicable" but should be: "To be invoiced" how do I change that?

 

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: 5/17/16, 9:59 AM
Seen: 209 times
Last updated: 5/17/16, 10:03 AM