Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4390 Tampilan

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,

Avatar
Buang
Jawaban Terbai

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"/>

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Mar 16
4193
1
Jul 25
1381
2
Jul 25
1660
1
Jul 25
2669
3
Apr 25
2598