Skip to Content
मेन्यू
This question has been flagged
2 Replies
5927 Views

Hello,

when I create invoice a default journal is set.
How can I remove this value to force user to set the right value ?


I tried to add a default value, with no value (In Settings > Technical > Actions > User-defined Defaults), but with no success. I make a similar test on another filed (Communication type) and it works.

Avatar
Discard
Author Best Answer

Thank you for your response, but I think my problem comes from the onchange on company or from the fields view get.

Avatar
Discard
Best Answer

You must inherit class account_invoice and replace method _default_journal(). Field journal_id set default=_default_journal. Or you redefine this field in your module without default value.

Avatar
Discard
Related Posts Replies Views Activity
1
अग॰ 19
3571
1
जुल॰ 24
11590
8
नव॰ 20
17553
1
मार्च 15
4675
0
अप्रैल 15
3990