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.
Project description
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.
Here's an example of some Python code to show an odoo Login Form:
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:
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:
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file OdooQtUi-0.0.5.tar.gz.
File metadata
- Download URL: OdooQtUi-0.0.5.tar.gz
- Upload date:
- Size: 185.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0058f933416608882967add3c52fa5778657ac5a2d9d90e1d50c78cdffd84b5d
|
|
| MD5 |
c31baec042b096a6467124a945c8e551
|
|
| BLAKE2b-256 |
2154f61b5c05668816dd4e4f7c5b776b662acaa63e91145a9d688b1dcaadc546
|
File details
Details for the file OdooQtUi-0.0.5-py3-none-any.whl.
File metadata
- Download URL: OdooQtUi-0.0.5-py3-none-any.whl
- Upload date:
- Size: 207.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b63f4d175f8991db7d813f2f20f0946f3f6a4d133e16cbd18d3ae8b2a474a195
|
|
| MD5 |
acb99a56d4a442b26901b2128bcc610e
|
|
| BLAKE2b-256 |
6795ef58086979b3e17fcadc68e129a94c2066917be8be0d901b18a2aa50f3c6
|