Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
2198 Tampilan

Dear community,


I have created a new line before saves the sale.order, the all parts of the line is correcte but the taxes is not inclued, could you help me please?



vals_list.append((0, 0,  {            'product_id': product.id,            'product_uom_qty': 1,            'sequence': 999,            'order_id': self.id,            'price_unit': -amount,            'tax_id': taxes.ids,            'type_disc': type_disc,        }  ))


self.order_line = vals_list




Avatar
Buang
Jawaban Terbai

Set default tax

or

Please map customer taxes under the product master. Then, whenever you create a sales order, the tax will load automatically.


Avatar
Buang
Penulis

Dear Midhun,

I want to copy the taxes about the other line, your option is for incluide a default taxes in all lines or item.

Kind regard

Penulis Jawaban Terbai

i try it but the problem is the same

i tried :

- 'tax_id': [(6,0,taxes.ids)]

- 'tax_id':[Command.set(taxes.ids)]


Avatar
Buang
Jawaban Terbai

Try

'tax_id'= [(6,0,taxes.ids)]

Avatar
Buang

'tax_id':[(6,0,taxes.ids)]

Penulis

i try it but the problem is the same

i tried :
- 'tax_id'= [(6,0,taxes.ids)]
- 'tax_id'=[Command.set(taxes.ids)]

Post Terkait Replies Tampilan Aktivitas
2
Jan 24
2481
2
Jun 25
2738
1
Okt 24
1378
2
Sep 24
1413
0
Sep 24
1617