Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
5055 Переглядів

Is there a method in odoo Online to create an invoice from an action?

Аватар
Відмінити
Найкраща відповідь

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


Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
бер. 23
2198
1
лист. 22
3369
1
лист. 22
3184
1
вер. 20
3517
1
лип. 20
4813