[FIX] sale: add team_id in refund
Introduced incorrectly in account by 4cbbbaddd5
This commit is contained in:
@@ -89,6 +89,9 @@ class AccountInvoice(models.Model):
|
||||
self.ensure_one()
|
||||
return self.partner_shipping_id.id or super(AccountInvoice, self).get_delivery_partner_id()
|
||||
|
||||
def _get_refund_common_fields(self):
|
||||
return super(AccountInvoice, self)._get_refund_common_fields() + ['team_id', 'partner_shipping_id']
|
||||
|
||||
class AccountInvoiceLine(models.Model):
|
||||
_inherit = 'account.invoice.line'
|
||||
_order = 'invoice_id, layout_category_id, sequence, id'
|
||||
|
||||
Reference in New Issue
Block a user