mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
opt 2020 account
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user