Skip to main content

from PySide2 import QtWidgets# Welcome On Odoo Qt Project

The project intend to get a fully qt ui version for odoo, providing form a search view to be used in non web environment, like Allocation extension.

License Logo

bitbucket

Here's an example of some Python code to show an odoo Login Form:

Login

import sys
from PySide2 import QtWidgets
from OdooQtUi.connector import MainConnector

app = QtWidgets.QApplication(sys.argv)
connectorObj = MainConnector()
connectorObj.loginWithDial()    # Perform show of the login form


app.exec_()

Here's an example of some Python code to show an odoo Form: Selection_115.png

import sys
from PySide2 import QtWidgets
from OdooQtUi.connector import MainConnector

app = QtWidgets.QApplication(sys.argv)
connectorObj = MainConnector()
connectorObj.loginWithDial()    # Perform show of the login form

tmplViewObj = connectorObj.initFormViewObj('product.template')
tmplViewObj.loadIds([10])   # Edit Form on product.teplate with id =10

dialog = QtWidgets.QDialog()
lay = QtWidgets.QVBoxLayout()
lay.addWidget(tmplViewObj)
dialog.setLayout(lay)
dialog.exec_()
app.exec_()

Here's an example of some Python code to show a odoo tree view: Selection_118.png

import sys
from PySide2 import QtWidgets
from OdooQtUi.connector import MainConnector

app = QtWidgets.QApplication(sys.argv)
connectorObj = MainConnector()
connectorObj.loginWithDial()    # Perform show of the login form

tmplViewObj = tryListView('product.template', viewFilter=True)

dialog = QtWidgets.QDialog()
lay = QtWidgets.QVBoxLayout()
lay.addWidget(tmplViewObj)
dialog.setLayout(lay)
dialog.exec_()
app.exec_()

Have fun!

Github-flavored Markdown to write your content.

Metadata

Release files for OdooQtUi 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for OdooQtUi 0.0.5
File Size Uploaded
OdooQtUi-0.0.5.tar.gz 185.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for OdooQtUi 0.0.5
File Interpreter ABI Platform
OdooQtUi-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 392.4 kB

Release files / OdooQtUi-0.0.5.tar.gz

Download URL OdooQtUi-0.0.5.tar.gz
Size 185.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0058f933416608882967add3c52fa5778657ac5a2d9d90e1d50c78cdffd84b5d
BLAKE2b-256 checksum
How to use checksums
2154f61b5c05668816dd4e4f7c5b776b662acaa63e91145a9d688b1dcaadc546
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.2

Release files / OdooQtUi-0.0.5-py3-none-any.whl

Download URL OdooQtUi-0.0.5-py3-none-any.whl
Size 207.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b63f4d175f8991db7d813f2f20f0946f3f6a4d133e16cbd18d3ae8b2a474a195
BLAKE2b-256 checksum
How to use checksums
6795ef58086979b3e17fcadc68e129a94c2066917be8be0d901b18a2aa50f3c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page