تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
4790 أدوات العرض

Hi all,

I'm using Odoo 10 community, I want to customize the default pos ticket report, I want to add 1 more table that shows order line product with standard_price and code. But by default I can not find standard_price of product object.

Please point me the way to get standard_price or any other fields. Thank you so much


الصورة الرمزية
إهمال

standard_price is the cost price right ?

To customize pos ticket you can check this -> https://www.odoo.com/forum/help-1/question/how-to-customize-ticket-on-pos-119177

الكاتب

Yep, That's cost

الكاتب

I made a custom table after the default, but I dont know how to get product cost, May I create a python function and implement it in qweb

الكاتب

This is my current report looks like: http://imgur.com/a/eiG9P

You can check the the original code , so that you can know how the product and product price are displayed in the pos ticket, you can do the same in your case also.

الكاتب

OK, Thank pro

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 23
1987
1
مارس 15
7037
2
فبراير 25
6133
1
أغسطس 21
10185
0
أكتوبر 18
3461