コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
5993 ビュー

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.

アバター
破棄
著作者 最善の回答

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

アバター
破棄
最善の回答

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.

アバター
破棄
関連投稿 返信 ビュー 活動
1
8月 19
3616
1
7月 24
11683
8
11月 20
17671
1
3月 15
4731
0
4月 15
4064