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

Hi,

For now in PO form i have 'Receive Products' button visible... but when i create a sample-data loaded database, it has both of the buttons: Receive Products, Receive Invoice.

How can i enable this button in PO form ?!

Thanks,

アバター
破棄
最善の回答

Have a look at:

<button name="view_picking" string="Receive Products" type="object" attrs="{'invisible': ['|', ('shipped','=',True), ('state','!=', 'approved')]}" class="oe_highlight"/>
<button name="view_invoice" string="Receive Invoice" type="object" attrs="{'invisible': ['|', ('invoice_method','in', ['picking', 'manual']), '|', ('state','!=', 'approved'), ('invoiced','=',True) ]}" class="oe_highlight"/>

アバター
破棄
関連投稿 返信 ビュー 活動
0
3月 16
4192
1
7月 25
1371
2
7月 25
1655
1
7月 25
2656
3
4月 25
2593