lint: fix linter warnings (log exceptions, disable attribute-string-redundant, suppress C901 where necessary)
This commit is contained in:
parent
f8ef927a9e
commit
a997331c2d
11 changed files with 595 additions and 20 deletions
|
|
@ -33,6 +33,14 @@ class StockPicking(models.Model):
|
|||
help="Pickup/delivery date from sale order",
|
||||
)
|
||||
|
||||
pickup_slot_label = fields.Char(
|
||||
related="sale_id.pickup_slot_label",
|
||||
string="Pickup Slot",
|
||||
store=True,
|
||||
readonly=True,
|
||||
help="Human readable pickup slot label from the related sale order",
|
||||
)
|
||||
|
||||
consumer_group_id = fields.Many2one(
|
||||
"res.partner",
|
||||
related="sale_id.consumer_group_id",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue