Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
2210 Представления

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




Аватар
Отменить
Лучший ответ

Set default tax

or

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


Аватар
Отменить
Автор

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

Автор Лучший ответ

i try it but the problem is the same

i tried :

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

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


Аватар
Отменить
Лучший ответ

Try

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

Аватар
Отменить

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

Автор

i try it but the problem is the same

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

Related Posts Ответы Просмотры Активность
2
янв. 24
2503
2
июн. 25
2770
1
окт. 24
1402
2
сент. 24
1423
0
сент. 24
1637