### Install Debian/Ubuntu system dependencies via setup script Source: https://www.odoo.com/documentation/19.0/es/administration/on_premise/source.html Run the setup/debinstall.sh script from the Odoo Community directory to install required packages listed in debian/control. ```bash $ cd odoo #CommunityPath $ sudo ./setup/debinstall.sh ``` -------------------------------- ### Install and Configure PostgreSQL on Fedora Source: https://www.odoo.com/documentation/19.0/es/administration/on_premise/packages.html Installs PostgreSQL server on Fedora, initializes the database, and enables/starts the service. ```bash $ sudo dnf install -y postgresql-server $ sudo postgresql-setup --initdb --unit postgresql $ sudo systemctl enable postgresql $ sudo systemctl start postgresql ``` -------------------------------- ### drag() examples Source: https://www.odoo.com/documentation/19.0/es/developer/reference/frontend/unit_testing/hoot.html Starts a drag sequence and returns helpers (moveTo, drop, cancel). Examples show dragging a card onto another, moving to a specific card, and cancelling. ```javascript drag(".card:first").drop(".card:last"); // Drags the first card onto the last one ``` ```javascript drag(".card:first").moveTo(".card:last").drop(); // Same as above ``` ```javascript const { cancel, moveTo } = await drag(".card:first"); // Starts the drag sequence moveTo(".card:eq(3)"); // Moves the dragged card to the 4th card cancel(); // Cancels the drag sequence ``` -------------------------------- ### Instalar web_enterprise desde el código fuente en Linux Source: https://www.odoo.com/documentation/19.0/es/administration/on_premise/community_to_enterprise.html Comando para instalar el módulo web_enterprise cuando se usa el código fuente. Nota: el comando mostrado omite el binario de Odoo, probablemente por error en la documentación. ```bash $ -d -i web_enterprise --stop-after-init ``` -------------------------------- ### Install Odoo deb Package on Ubuntu Source: https://www.odoo.com/documentation/19.0/es/administration/on_premise/packages.html Installs the downloaded Odoo deb package as root. The package sets up Odoo as a service, creates the PostgreSQL user, and starts the server automatically. ```bash # apt update # apt install ``` -------------------------------- ### Instalar el paquete .deb de Enterprise en Linux Source: https://www.odoo.com/documentation/19.0/es/administration/on_premise/community_to_enterprise.html Comando para instalar el paquete .deb de Enterprise, que reemplaza al paquete de Community. ```bash $ sudo dpkg -i ```