Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6245 มุมมอง

Team,

I need to create several taxes some are percent and some are group...

I have created percent taxes as below and it works properly..
One of the tax is below


<record id="tax_12" model="account.tax">
<field name="name"> Tax1 @12%</field>
<field name="type_tax_use">sale</field>
<field name="amount_type">percent</field>
<field name="amount">12</field>
</record>
<record id="tax_18" model="account.tax">
<field name="name">Tax2 @18%</field>
<field name="type_tax_use">sale</field>
<field name="amount_type">percent</field>
<field name="amount">18</field>
</record>

However, I now want to create another tax which is group of above 2 taxes...
Please help.. Not getting any help around.. :(




อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Does the following help?

The tag with name "children_tax_ids" points to xml IDs of the other taxes to be grouped.

อวตาร
ละทิ้ง
ผู้เขียน

Thanks a lot Patrik.. It worked perfectly.. Another thing, can I create Tax account also and assign to every tax from same file ??? Appreciate your support on the same to assign tax account to every tax ( create tax account and assign to corresponding tax)

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.ย. 17
4006
4
ม.ค. 16
10514
1
ส.ค. 19
21894
0
เม.ย. 24
1304
2
มิ.ย. 16
4989