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

Unable to create invoice from sales order - Odoo 9

By
Jayanthi
on 9/26/16, 7:00 AM 268 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.

Jayanthi
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

Jayanthi
on 9/28/16, 3:05 AM
2

Hello,

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.

Regards,

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: 9/26/16, 7:00 AM
Seen: 268 times
Last updated: 9/28/16, 5:04 AM