While I creating a quotation I got this issue.. Uncaught Error: [_.sprintf] expecting number but found string...
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
This is a very generic question, but there is a very specific case where this error occurs.
- If you have 2 or fields that are declared as calculated (doc.openerp.com/6.0/developer/2_5_Objects_Fields_Methods/field_type)
- If you declare them as multi (i.e. you are using a single function to calculate them.
- In the return value, you forget to return one of these multi fields.
Basically what happens here is that some underlying functions expects a argument in the result and it is missing.
What does this mean to you? First uninstall any non standard modules that you may have installed and the gradually add them back until you hit the problem. Report back a more specific problem.
This issue can occur when a field of type integer gets a value of type string, typically generated from a _defaults property of a model.
If this error occurs when you first open the create form for a model, make sure your _defaults are returning appropriate value types for their fields.
Did you install any additional modules, or did you create (and use) your own module?
A stack-trace (the popup) is useful as well.
Sorry I am unable to fix it directly.
no I didnt install anything,.
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
1
มี.ค. 15
|
3295 | ||
|
1
มี.ค. 15
|
6599 | ||
|
1
ก.ค. 18
|
3616 | ||
|
0
ก.ย. 15
|
3533 | ||
|
6
เม.ย. 15
|
6892 |