Skip to Content
Menu
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
Zrušiť
Best Answer

Install Fiscal localization package from Accounting configuration.

Avatar
Zrušiť
Best Answer

is it possible to fix this problem without installing COA? 

Avatar
Zrušiť
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
Zrušiť

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

Related Posts Replies Zobrazenia Aktivita
1
júl 21
8015
3
aug 22
13733
1
dec 19
6718
3
nov 19
4970
0
mar 25
958