Is there a method in odoo Online to create an invoice from an action?
لقد تم الإبلاغ عن هذا السؤال
1
الرد
6976
أدوات العرض
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
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل| المنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
|---|---|---|---|---|
|
|
1
مارس 23
|
4164 | ||
|
|
1
نوفمبر 22
|
5152 | ||
|
Create invoice via xmlrpc
تم الحل
|
|
1
نوفمبر 22
|
5282 | |
|
|
1
سبتمبر 20
|
5235 | ||
|
|
1
يوليو 20
|
6472 |