This question has been flagged

Hi,

I have inherited "view_invoice_line_form" in my custom module to create invoice line. but while saving it gives me warning "Missing required account on accountable invoice line" odoo12.

I checked in base code so sql_constraint is getting fail from account.invoice, I am getting what are necessary changes I have to make to save inovice_line.

Thanks in advance!

Avatar
Discard
Best Answer

Install Fiscal localization package from Accounting configuration.

Avatar
Discard
Best Answer

is it possible to fix this problem without installing COA? 

Avatar
Discard
Best Answer

Hello Pallavi,

Make sure you have installed Chart of accounts in the system. And if you have multi company scenario then you need to check COA for all company. 

In odoo 12 , On invoice it fetch account from Partner and on Invoice Line account is fetch from Journal. 

Let me know if you need further help

Regards,




Email:   odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

   

Avatar
Discard

I have got the same error while posting bills in subscription.