This commit is contained in:
Ivan.x390
2019-07-06 21:24:18 +08:00
parent ac4a5b3f92
commit b4aef620f6
2 changed files with 7 additions and 1 deletions

View File

@@ -23,7 +23,7 @@
{
'name': 'Odoo Customize(Debranding, My Odoo)',
'version': '12.19.06.02',
'version': '12.19.07.06',
'author': 'Sunpop.cn',
'category': 'Productivity',
'website': 'https://www.sunpop.cn',
@@ -69,6 +69,7 @@
25. Add remove expense data
26. Add multi uninstall modules
27. Add odoo 13 support, Just install this app on odoo 13, master branch of odoo github.
28. Fix pos remove data for account close.
This module can help to white label the Odoo.
Also helpful for training and support for your odoo end-user.

View File

@@ -203,6 +203,11 @@ class ResConfigSettings(models.TransientModel):
seq.write({
'number_next': 1,
})
# 更新要关帐的值,因为 store=true 的计算字段要重置
statement = self.env['account.bank.statement'].search([])
for s in statement:
s._end_balance()
except Exception as e:
pass # raise Warning(e)
return True