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.