Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
2139 Widoki

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




Awatar
Odrzuć
Najlepsza odpowiedź

Set default tax

or

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


Awatar
Odrzuć
Autor

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

Autor Najlepsza odpowiedź

i try it but the problem is the same

i tried :

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

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


Awatar
Odrzuć
Najlepsza odpowiedź

Try

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

Awatar
Odrzuć

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

Autor

i try it but the problem is the same

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

Powiązane posty Odpowiedzi Widoki Czynność
2
sty 24
2401
2
cze 25
2607
1
paź 24
1316
2
wrz 24
1356
0
wrz 24
1510