[Update 2023] Installation d’Odoo 8 sur Ubuntu 20.04 ou Debian 11 avec et sans myVesta

Mise à jour du système sudo apt update && sudo apt dist-upgrade Création de l’utilisateur odoo8, le domaine et l’arboresence Avec myVesta Créer simplement un utilisateur odoo8. Ceci créera l’arborescence /home/odoo8. Créer le nom de domaine associé à l’utilisateur, ici ce sera nom_de_domaine_odoo8.com Choisissez PHP-FPM-7.4 pour le nom de domaine Lire la suite…

Delete an invoice after validation? (Odoo 8)

Install the account_cancel module. Go to file: sudo nano <odoo>/addons/account/account_invoice.py  Comment the function unlink like: &nbsp; &nbsp; @api.multi def unlink(self): #for invoice in self: #if invoice.state not in (‘draft’, ‘cancel’): #raise UserError(_(‘You cannot delete an invoice which is not draft or cancelled. You should refund it instead.’)) #elif invoice.move_name: #raise Lire la suite…