File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
account_compensate_advance_unlock_reconcile Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 55 "name" : "Account Compensate Advance - Unlock Reconcile in compensate" ,
66 "summary" : """
77 This module allowing reconciliation in lock accounting periods""" ,
8- "version" : "14 .0.1.0.0" ,
8+ "version" : "16 .0.1.0.0" ,
99 "license" : "AGPL-3" ,
1010 "author" : "Escodoo" ,
1111 "website" : "https://github.com/Escodoo/account-addons" ,
1212 "depends" : [
13- "account_compensate_advance " ,
13+ "account_invoice_advance_compensation " ,
1414 "account_lock_to_date" ,
1515 ],
1616}
Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ def _check_lock_to_dates(self):
1717 return
1818
1919 # Call the parent method to enforce lock checks if no bypass
20- super ()._check_lock_to_dates ()
20+ return super ()._check_lock_to_dates ()
Original file line number Diff line number Diff line change 1- from . import account_compensate_advance_journal
1+ from . import compensation_wizard
Original file line number Diff line number Diff line change 55from odoo import models
66
77
8- class AccountCompensateAdvanceJournal (models .TransientModel ):
9- _inherit = "account.compensate .advance.journal "
8+ class AccountInvoiceAdvanceCompensationWizard (models .TransientModel ):
9+ _inherit = "account.invoice .advance.compensation.wizard "
1010
11- def _create_compensate_advance_account (self ):
11+ def _create_compensation_move (self ):
1212 self = self .with_context (bypass_account_lock_to_date = True )
13- super ()._create_compensate_advance_account ()
13+ return super ()._create_compensation_move ()
You can’t perform that action at this time.
0 commit comments