Merge PR #755 into 13.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2020-12-04 19:38:23 +00:00

View File

@@ -21,7 +21,8 @@ class AccountMove(models.Model):
)
def post(self):
self.line_ids.mandate_id = self.mandate_id
for record in self:
record.line_ids.write({"mandate_id": record.mandate_id})
return super(AccountMove, self).post()
@api.model