Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet

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!

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
März 24
1952
2
März 22
6478
0
Aug. 20
3640
0
Juni 24
2470
2
Nov. 23
3218