opt 2020 account

This commit is contained in:
ivan deng
2019-11-13 21:05:41 +08:00
parent 245ac0575a
commit 0f80a3c380
34 changed files with 2727 additions and 3 deletions

View File

@@ -33,7 +33,7 @@
{
'name': "Partner set customer vendor",
'version': '13.19.10.28',
'version': '13.19.11.13',
'author': 'Sunpop.cn',
'category': 'Base',
'website': 'https://www.sunpop.cn',

View File

@@ -29,6 +29,7 @@ def post_init_hook(cr, registry):
cr.execute(sql)
sql = "UPDATE res_partner SET supplier = TRUE WHERE supplier_rank >= 1"
cr.execute(sql)
cr.commit()
except Exception as e:
pass
pass