Odoo Help

0

0
3 Answers
0
Silviaa
10.05.17, 01:51

I have checked the journal entry when validate the POS session, the debit is not equal to its credit.

So i created one new journal entry in it. After that i validate Session, it always shows "cannot create unbalanced journal entry" popup.. when i print the values of the debit and credit its equal

eg: print all_lines in the method 

        def insert_data(data_type, values):    

         .......

         insert_data('cc_charge', {

                    'name': 'Credit Card Charges',

                    'account_id': account_id,

                    'credit': credit_card_charge,

                    'debit': 0.0,

                    'partner_id': partner_id

                })

                ..... // this is my new journal entry 

it shows all the entries and also with my new journal entry but it doesn't validate session

what should i do.. i have checked all those entries.. if any other journal entry in POS??

can anyone know about this..

Ask a Question
Writer
Keep Informed
3 follower(s)
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 eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now