Odoo Help

1

Vendor Bills Validation Skips To Paid

By
Holden Rehg
on 1/7/16, 5:35 PM 1,815 views

Hello,


I'm working with the accounting module and when I create draft vendor bills and click "Validate" it always moves the bill directly to Paid. I have a blank database with only the Accounting and Finance module installed and it works correctly. It moves the invoice from Draft to Open after validation.


I also have no problem with invoices created from sales orders. It only occurs with vendor bills. 


Has anyone experienced a similar problem? I am assuming it must be a configuration setting or a specific addon that is causing the issue. We have no third party addons installed outside of what ships with Odoo 9 Enterprise.


Thanks,

Holden

UPDATE January 13th, 2016 Testing with the workflows has seemed to narrow it down slightly. The project is using the default Odoo 9 Account / Invoice workflow. The "open" node will fire the following python commands: action_date_assign() action_move_create() invoice_validate() Both the action_date_assign and invoice_validate function cause the vendor bill to move directly to Paid. If I only include the action_move_create function in the workflow then the vendor bill will remain in Draft after validation. Neither one of these functions point to anything obvious that would cause the state to change to Paid.

Holden Rehg
on 1/13/16, 4:43 PM
1
Morten Schou
On 5/24/16, 6:42 AM

Had the same problem

Be sure to set type to payable on 'vendor payable account', any other type will have 'Vendor bill' to behave wrong.


I am having the same issue. All the account is set correctly. issue is more recent.

HyperThink Systems Limited, Jayanthi Venugopal
on 1/27/17, 2:49 AM
1
Ian THOMPSON
On 5/9/17, 12:05 AM

Hello,

Just dealt with this same issue. The problem I had was that I created the invoice line product with a "Receivables" Account and not an "Income" Account. Once I changed the COA account from Receivable to Income, everything worked. It is definitely an issue that needs to be fixed. If the Product Line Item can only have an Income Account listed to it, it shouldn't allow you to create or select a receivable account.

I created the account when I was setting up the Product, so when I errantly set up the account as a receivable instead of an Income Account. BLAMO! No workie. The Validate process should double check that the account listed is an income account. If not, it should display an error.

IAN.

0

It's probably linked to one of your custom modules, since it works fine on standard implementations. You can test on https://odoo.com/start or https://demo.odoo.com

Unfortunately, there are no custom / third party modules installed on the instances I'm testing with. The only modules installed shipped with Odoo Enterprise. I tracked it down to the fact that the residual amount on my vendor bills is always zero when validating.

Holden Rehg
on 1/13/16, 9:37 PM

The same thing happens to normal outgoing invoices too. And it's really caused by the residual being zero. I'm still wondering WHY.

Aron Lorinc
on 6/22/16, 4:42 AM

I've investigated the problem. It was that the invoice lines had incorrect "account" fields. The correct value depends on your country and the partner's fiscal position among other things.

Aron Lorinc
on 6/22/16, 12:34 PM

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 1/7/16, 5:35 PM
Seen: 1815 times
Last updated: 5/9/17, 12:05 AM