Skip to Content
Menu
This question has been flagged
1 Atsakyti
4419 Rodiniai

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,

Portretas
Atmesti
Best Answer

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
kov. 16
4214
1
liep. 25
1427
2
liep. 25
1735
1
liep. 25
2733
3
bal. 25
2674