Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
2444 Lượt xem

Hello, 

I have to configure the product label to show the price per unit including VAT and the cost per litre for example, if we always consider a bottle of cocacola as an example.


I've seen various tutorials but they explain how to activate something for online ecommerce but I'm interested in using odoo as a physical shop manager for now

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Hello yes thank you very much!!! 

And any help about how to set the cost per liter or per chilogram in products?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,


To display the price per unit including VAT and the cost per unit of measure on the product label template, follow these steps:


1. Go to Settings --> Technical --> Views.


2. Search for the template format you want to modify, such as 'report_simple_label2x7', 'report_simple_label4x7', 'report_simple_label4x12', or 'report_simple_label_dymo'.


3. Add the following code to the appropriate position within the template. For example:


<t t-esc="'Cost per ' + product.uom_name + ': ' + '%.2f' % product.standard_price + ' per ' + product.uom_name"/>

<t t-esc="'Price per Unit (incl. VAT): ' + '%.2f' % (product.list_price * (1 + (product.taxes_id.amount / 100)))"/>



Hope it helps

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 24
1137
1
thg 5 25
1573
0
thg 5 25
748
2
thg 5 25
1627
UK VAT accounts Đã xử lý
1
thg 4 25
2046