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

ok i have this scenario if the credit limit of any customer is exceed we got the little notification on the top of sale order i have set this condition on the confirm button using studio
[["partner_credit_warning","!=",False]]
and only sale/Admin can approve this 
here is Screen short 
https://drive.google.com/file/d/1lZ2OCZjz4SrM3hJPQ9TVVifak_pGcpbN/view?usp=sharing
problem is that this thing work fine in the demo odoo + in online 15 days db but this condition is not working in my local db it just let it confirm so no error in logs.
my local db version is odoo16.0 e

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

I have solved this problem by replacing the studio module with the new code and it work fine now

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

Hi 

Try the following code in your custom module 


Regards

Ảnh đại diện
Huỷ bỏ
Tác giả

i didn't created any custom module working on the orginal code all the things in my question is done using studio in demo /local

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 11 22
2940
1
thg 4 24
3260
2
thg 2 24
3512
2
thg 7 23
2134
1
thg 3 24
1658