[IMP] stock_picking_batch_custom: add home_delivery indicator to move line view
Add related field home_delivery on stock.move.line from picking_id, and expose it in the batch move line list view as an optional boolean toggle.
This commit is contained in:
parent
8f7eca45b8
commit
5bb5d20244
2 changed files with 6 additions and 0 deletions
|
|
@ -23,6 +23,11 @@ class StockMoveLine(models.Model):
|
|||
copy=False,
|
||||
)
|
||||
|
||||
home_delivery = fields.Boolean(
|
||||
related="picking_id.home_delivery",
|
||||
readonly=True,
|
||||
)
|
||||
|
||||
consumer_group_id = fields.Many2one(
|
||||
comodel_name="res.partner",
|
||||
compute="_compute_consumer_group_id",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue