mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-26 01:31:59 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
from . import account_move_reversal
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
# Copyright 2020 ACSONE SA/NV
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import models
|
||||
|
||||
|
||||
class AccountMoveReversal(models.TransientModel):
|
||||
_inherit = "account.move.reversal"
|
||||
|
||||
def _prepare_default_reversal(self, move):
|
||||
res = super()._prepare_default_reversal(move)
|
||||
res["brand_id"] = move.brand_id.id
|
||||
return res
|
||||
Loading…
Add table
Add a link
Reference in a new issue