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.

1

account_id: You can not create move line on view account.

By
ahmed
on 3/15/13, 6:41 AM 1,254 views

after having calculate payroll slips, when I click on the button "confirm", I have this warning: An error occurred falling on validation / field (s) account_id: You can not create move line on view account.

is that someone who has had the same warning?? and how I should do to solve it.   thank you in advance

1

Andreas Brueckl

--Andreas Brueckl--
5056
| 7 8 7
Vienna, Austria
--Andreas Brueckl--
OpenERP Consulting and Development
Andreas Brueckl
On 3/15/13, 7:29 AM

When you click onto confirm, then OpenERP tries to create an entry in the corresponding account. The problem is that the field Internal Type of the account is set to View.

Accounts of type View must not have any entries, they are just for aggregation for reporting purposes.

Either you change the account for the payroll or the Internal Type of the account.

Have you installed a country specific payroll module? Which hr and payroll modules do you have installed and which configurations did you take?

Andreas Brueckl
on 3/15/13, 12:20 PM

yes, I install the Moroccan payroll

ahmed
on 3/15/13, 12:26 PM

I am not familiar with this module. If you mean module syst_hr_payroll_ma then this was last updated in 2011. It is a module for version 6.0.

Andreas Brueckl
on 3/15/13, 1:24 PM

Go inside hr module configuration >> Payroll >> salary rule >>>and change account inside accounting tab (select account type which's internal type is not VIEW)

Abhishek
on 3/15/13, 2:38 PM

thanks for help :)

ahmed
on 3/16/13, 8:45 AM
0
ettayeb
On 5/22/14, 11:22 AM

yes I understood the source of the problem, but I do not know how to edit the payroll account or the internal type of the account.

then I will be very grateful if you show me how to make this change??

0
ahmed
On 3/16/13, 6:39 AM

thank you very much guys it solved my problem :)

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

0 follower(s)

Stats

Asked: 3/15/13, 6:41 AM
Seen: 1254 times
Last updated: 3/16/15, 8:10 AM