odoo method
classReportSaleDetails(models.AbstractModel):
_name = 'report.point_of_sale.report_saledetails'_description = 'Point of Sale Details'
@api.model
defget_sale_details(self, date_start=False, date_stop=False, config_ids=False, session_ids=False):
my method
classReportSaleDetails(models.AbstractModel):
_inherit = 'report.point_of_sale.report_saledetails'
@api.model
defget_sale_details(self, date_start=False, date_stop=False, config_ids=False, session_ids=False):
in my case i copied the whole method and changed one line of code but its only the original method that is called.. What am i doing wrong
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
2210
أدوات العرض
turns out there was an error in the new method so instead of giving me an error message, it reverted back to the original method.
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
4
فبراير 25
|
2294 | ||
|
1
نوفمبر 24
|
1505 | ||
|
0
أغسطس 24
|
1554 | ||
|
1
أغسطس 24
|
1956 | ||
|
2
نوفمبر 24
|
3124 |