Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3150 มุมมอง

Need help to disable adding more line to Customer Invoice (account.move) using inheritance.

I've tried using these methods;

  1. Use create=0 on the tree but it disables not only Customer Invoice, but other account.move move_type as well (example: Vendor Bill).
  2. Tried to put options - no_create = [('move_type') , '=', 'out_invoice)] but it also failed.

Logically, i need to use create=[('move_type') , '=', 'out_invoice)] to solve the method 1 problem but it failed because i think the 'create' attribute is not accepting domain. Any other idea how to disable it? 


Thankyou in advance!

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Unlink account.move.line from code แก้ไขแล้ว
1
มี.ค. 24
2398
2
มี.ค. 22
7234
0
ส.ค. 20
4065
0
มิ.ย. 24
3401
2
พ.ย. 23
3981