mirror of
https://github.com/bringout/oca-ocb-accounting.git
synced 2026-04-24 06:01:59 +02:00
Initial commit: Accounting packages
This commit is contained in:
commit
4ef34c2317
2661 changed files with 1709616 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
from odoo import models, api
|
||||
|
||||
|
||||
class AccountUnreconcile(models.TransientModel):
|
||||
_name = "account.unreconcile"
|
||||
_description = "Account Unreconcile"
|
||||
|
||||
def trans_unrec(self):
|
||||
context = dict(self._context or {})
|
||||
if context.get('active_ids', False):
|
||||
self.env['account.move.line'].browse(context.get('active_ids')).remove_move_reconcile()
|
||||
return {'type': 'ir.actions.act_window_close'}
|
||||
Loading…
Add table
Add a link
Reference in a new issue