İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
4772 Görünümler

Hi everyone,

Does someone know how to use the Company default tax instead of the Product default tax when I create some Quotation?

I have multiple Company in different countries , so I need one VAT per company.

Or currently it uses the product default tax, that is the same for all company.

Is it possible?


Maybe in sale.py I can have in default my tax_id = "company.tax_id" or something like this?

If I don't say bullshit, currently the default tax_id is filled by this code line no?

'invoice_line_tax_id': [(6, 0, [x.id for x in line.tax_id])], 

First: What does it mean this 6,0 ? How can I change it to have the company default tax id?


Thank you a lot,


Selverine

Avatar
Vazgeç
En İyi Yanıt

Its better you use fiscal position and defines the source tax as product taxes and destination taxes as company taxes. Only condition is you need to add that fiscal position to all those customer where you want to replace the taxes with company taxes.

Navigation:-

Accounting - setting - taxes - Fiscal position

Avatar
Vazgeç
Üretici

Hi! It is perfect, it is working well ;-).

İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Eyl 22
3703
1
Ağu 15
4494
1
Nis 21
2174
0
Nis 17
3977
2
Tem 25
2176