Skip to content

Commit

Permalink
[IMP] stock_picking_invoicing: Included Price Unit in the View(option…
Browse files Browse the repository at this point in the history
…al=Hide), to allow users view or, if necessary, change the value.
  • Loading branch information
mbcosta committed Aug 24, 2023
1 parent 8c28821 commit 9675abd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions stock_picking_invoicing/views/stock_picking_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@
position="after"
>
<field name="invoice_state" groups="account.group_account_invoice" />
<field name="invoice_state" invisible="1" />
<field
name="price_unit"
attrs="{'invisible':[('invoice_state', '=', 'none')], 'readonly':[('invoice_state', '=', 'invoiced')]}"
optional="hide"
/>
</xpath>
<button name="%(stock.act_stock_return_picking)d" position="after">
<button
Expand Down

0 comments on commit 9675abd

Please sign in to comment.