Skip to content

Commit

Permalink
Merge 3c43d25 into 2f71702
Browse files Browse the repository at this point in the history
  • Loading branch information
nmadhoc committed Jan 28, 2021
2 parents 2f71702 + 3c43d25 commit f1c0d8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion stock_voucher/models/stock_picking.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ class StockPicking(models.Model):
)
vouchers = fields.Char(
compute='_compute_vouchers',
string='Vouchers (string)'
string='Vouchers (string)',
store=True,
)
voucher_ids = fields.One2many(
'stock.picking.voucher',
Expand Down
2 changes: 1 addition & 1 deletion stock_voucher/views/stock_picking_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<field name="inherit_id" ref="stock.vpicktree"/>
<field name="arch" type="xml">
<field name="name" position="after">
<field name="voucher_ids" widget="many2many_tags"/>
<field name="vouchers"/>
</field>
</field>
</record>
Expand Down

0 comments on commit f1c0d8a

Please sign in to comment.