pip install s6r-odoo
from s6r_odoo import OdooConnection
odoo = OdooConnection(url='http://odoo.localhost',
dbname='odoo',
user='admin',
password='admin')
res_partner = odoo.model('res.partner')
partner_ids = res_partner.search([], fields=['name', 'email'])
for partner_id in partner_ids:
print(f'{partner_id.name} : {partner_id.email}')
This project is licensed under the GNU Lesser General Public License (LGPL) Version 3.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
- GitHub Repository: ScalizerOrg/s6r-odoo
This software is maintained by Scalizer.