hi,
i am using odoo Ev15,
in POS > Reporting > Order report
i want to remove cashier name from Order analysis report
which is showing Employee name with POS name on below report
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
hi,
i am using odoo Ev15,
in POS > Reporting > Order report
i want to remove cashier name from Order analysis report
which is showing Employee name with POS name on below report
Hello Muhammad Usman Anwar,
Default odoo has name_get method written in pos.config model which display name of record by concate of name of pos.config and last session user name.
we can override name_get method to display only name of config instead of combination with last session user name as follow.
class PosConfig(models.Model):
_inherit = 'pos.config'
def name_get(self):
result = []
for config in self:
result.append((config.id, "%s" % (config.name)))
return result
Thanks & Regards,
Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 5 24
|
1124 | ||
|
0
thg 7 24
|
1270 | ||
|
0
thg 5 24
|
31 | ||
POS Daily Sales & Profit Report
Đã xử lý
|
|
5
thg 1 18
|
9729 | |
|
1
thg 6 21
|
18074 |