摘要:
import odoorpc # Prepare the connection to the server odoo = odoorpc.ODOO('127.0.0.1', port=8069) # Check available databases print(odoo.db.list()) # 阅读全文
posted @ 2023-05-01 21:44
CrossPython
阅读(66)
评论(0)
推荐(0)
摘要:
import xmlrpc.client # info = xmlrpc.client.ServerProxy('http://127.0.0.1:8069/').start() # url, db, username, password = info['host'], info['database 阅读全文
posted @ 2023-05-01 21:27
CrossPython
阅读(56)
评论(0)
推荐(0)
摘要:
<record id="mypartner_tree_view" model="ir.ui.view"> <field name="name">Mypartner清单</field> <field name="model">mypartner</field> <field name="arch" t 阅读全文
posted @ 2023-05-01 16:30
CrossPython
阅读(21)
评论(0)
推荐(0)
摘要:
odoo标准视图国家省城市三级联动:代码如下 country_bank = fields.Many2one('res.country', '开户行国家', ondelete='restrict') province_bank = fields.Many2one('res.country.state' 阅读全文
posted @ 2023-05-01 15:31
CrossPython
阅读(175)
评论(0)
推荐(0)