Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
mrt. 24
1873
2
mrt. 22
6392
0
aug. 20
3571
0
jun. 24
2319
2
nov. 23
3084