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

Hi,

how can I modify the 'duplicate' function for invoices in a custom module ? in some case, I don't want to duplicate the field 'origin', I want to make it empty.

eg :  when I duplicate an invoice generated from a sale order, I don't want to duplicate the field 'Origin' which contains the sale order number.

thank for help,


Laurent33

アバター
破棄
最善の回答

Hello, 
First you need to inherit the field and after add copy=False in the field.
In that case you're field will be empty in case of duplicate.

アバター
破棄
関連投稿 返信 ビュー 活動
1
11月 16
7553
3
12月 22
5859
2
6月 20
3952
5
1月 20
8251
1
11月 17
3849