Odoo Help

Welcome!

This community 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.

0

How to add an existing child tax to a tax?

By
Pascal Tremblay
on 8/12/16, 10:56 AM 250 views

Hello there,

In accounting -> Configuration -> Taxes -> Taxes, I edit a tax.

I click to add a Children/Sub Taxe to this edited taxe. A new window appears :


At this place, we have to imperatively create a new tax. Impossible to select an already existing taxe in the Tax Name textbox... 


The only way I have found to add an existing child taxe to a taxe is directly in the database (pgadmin), in the model account.tax. There, I modify the column parent_id manually.

Thanks to help.




1
Asmita Chavan
On 8/17/16, 5:57 AM

Child/Sub Taxes is one2many field, hence we follow to keep many2one field hidden related to main form where this one2many relation is defined.

You can either add parent_id at database level, or If you wish to add parent_id through front end, you can make parent_id field visible in form view. So selecting parent_id through front end will solve your problem.

Great! Thanks!

Pascal Tremblay
on 8/17/16, 8:06 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 8/12/16, 10:56 AM
Seen: 250 times
Last updated: 8/17/16, 8:06 AM