Odoo Help


Unable to create invoice from sales order - Odoo 9

on 9/26/16, 7:00 AM 412 views

I have a user who is Financial Manager in Accounting , Manager in Sales. She is not able to create invoice from Sales to Invoice. It comes with an error message. 

document type:ir.values , operation :unlink

Also, from the error log I have the following

openerp.models: Access Denied by record rules for operation: unlink on record ids: [102], uid: 9, model: ir.values

This error comes when creating invoice with Down Payment(percentage and Fixed amount both). But she is able to create invoice using Invoiceable lines options.

on 9/28/16, 2:45 AM

I have disabled the Record Rule ir.values , which seems to solve this problem in my test database. But I would like to understand what this rule does before doing this in live database. Please help. Thanks

on 9/28/16, 3:05 AM


Normally this warning doesn't come. The user indeed doesn't have enough access, might be possible that you are on Multi Company and the user is accessing record of other company.

Advance Invoice process uses a service product "Down Payment", so may be you have a multi company setup, and this product is configured with another company.

It is also good to check your ir.values, that's actually, User Defined Defaults menu, which you can find from Settings > Technical > Actions. You can check this rule where there is value set [102], and check related model of this record. That would give some idea.


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


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)


Asked: 9/26/16, 7:00 AM
Seen: 412 times
Last updated: 9/28/16, 5:04 AM