Is there a method in odoo Online to create an invoice from an action?
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
            
                1
                
                    Répondre
                
            
        
        
            
                5708
                
                    Vues
                
            
        
    Hello,
I don't really know the purpose but if you want to create an empty customer invoice.
In python you can do a method like:
    def create_empty_invoice(self):
     self.env['account.move'].create({'move_type': 'out_invoice'})
Then you can add a button in form view for example calling the method
Hope it will help you
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|  | 1 mars 23  | 2939 | ||
|  | 1 nov. 22  | 4092 | ||
| 
            
                Create invoice via xmlrpc
            
            
                    Résolu
            
         |  | 1 nov. 22  | 4010 | |
|  | 1 sept. 20  | 4160 | ||
|  | 1 juil. 20  | 5455 | 
