Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I ve got a place an order with tax provider, we offer my two reception Article reception that I have validated reception invoice when validating vioci message that appears Bad Total! Please verify the price of the invoice! The total encoded Does not match the computed total
please help me
This issue might happens when users import invoice data via CSV files in odoo(OpenERP).
I faced same issue and couldnt find any solution .Hence i modified the script to handle this exception.
U just need to comment out the line in your account_invoice.py file.
Here are the steps:
1. go to account->account_invoice.py and open file in edit mode
2. go to line 926. you will see something like this:
if (inv.type in ('in_invoice', 'in_refund') and abs(inv.check_total - inv.amount_total) >= (inv.currency_id.rounding/2.0)):
raise osv.except_osv(_('Bad Total!'), _('Please verify the price of the invoice!\nThe encoded total does not match the computed total.'))
3. comment out this 2lines. so final code will look like this:
if group_check_total and uid in [x.id for x in group_check_total.users]:
# if (inv.type in ('in_invoice', 'in_refund') and abs(inv.check_total - inv.amount_total) >= (inv.currency_id.rounding/2.0)):
# raise osv.except_osv(_('Bad Total!'), _('Please verify the price of the invoice!\nThe encoded total does not match the computed total.'))
4. restart your server and again validate your invoice. WOW trick worked!!!!
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 8/30/13, 7:24 AM|
|Seen: 2234 times|
|Last updated: 10/19/15, 6:00 AM|