please Help meee!
When I "Enter Promotion or Coupon" has been error "Missing required fields on accountable sale order line"
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
Hello,
The SQL constraint shown is defining a check constraint named "accountable_required_fields" for the sale order line model in Odoo.
The purpose of the constraint is to ensure that any sale order line that is considered "accountable" (i.e. requires certain information to be recorded for proper accounting) has all the necessary fields filled in.
The constraint consists of three parts:
A name for the constraint: 'accountable_required_fields'
The check itself: "CHECK(display_type IS NOT NULL OR (product_id IS NOT NULL AND product_uom IS NOT NULL))". This check specifies that either the "display_type" field must not be null or both the "product_id" and "product_uom" fields must not be null.
An error message to display if the constraint is violated: "Missing required fields on accountable sale order line."
Thanks & Regards,
CandidRoot Solutions Pvt. Ltd.
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
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
1
Nov 21
|
2345 | ||
|
0
Nov 20
|
3319 | ||
Generating custom coupon codes format
Diselesaikan
|
|
1
Des 21
|
3951 | |
|
1
Jun 21
|
2481 | ||
|
0
Mei 21
|
2348 |