Odoo Help


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

on 3/15/13, 6:41 AM 1,895 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


Andreas Brueckl

--Andreas Brueckl--

| 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

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)

on 3/15/13, 2:38 PM

thanks for help :)

on 3/16/13, 8:45 AM
On 3/16/13, 6:39 AM

thank you very much guys it solved my problem :)

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

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

0 follower(s)


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