Odoo Help

0

Create new tax alloting existing Tax Account (1005: Sales Tax receiveable) from new module

Op
abhitechsavy@gmail.com
op 03-01-18 11:57 253 weergaven

Team,

I am trying to create bunch of taxes and was able to create succesfully.

However, How should I add Tax account as "1005 Sales Tax Receivable" to newly taxes which are to be created.

Here is my code where I created taxes succesfully..


<record id="tax_5" model="account.tax">
<field name="name">Tax 5%</field>
<field name="type_tax_use">sale</field>
<field name="amount_type">percent</field>
<field name="amount">5</field>
<field name="account_id">1005</field>
</record>

Account_id is the field name and mentioning 1005 or even "1005 Sales Tax Receivable" or "Sales Tax Receivable" .. nothing works here..

Please advice what I am missing.. ?

This is very urgent for me.. Appreciate your support everyone..

0

Pinakin Nayi (pna)

--Pinakin Nayi (pna)--
1584
| 2 2 5
Ahmedabad, India
--Pinakin Nayi (pna)--

He has good skills in problem identification and implementation of effective solutions. He is working in Odoo India.

Techno-Functional
Skype: pinakinerp

LinkedIn : https://www.linkedin.com/in/pinakin-nayi-2a33103a/

 

Pinakin Nayi (pna)
Op 04-01-18 06:39

You cannot directly assign name !!  You have to give xml_id like : <field name="account_id" ref="p11234"/> . here in ref I have passed xml_id 

Over deze 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

Vraag hulpmiddelen

1 volger(s)

Statistieken

Gevraagd: 03-01-18 11:57
Gezien: 253 tijden
Laatst bijgewerkt: 04-01-18 06:39