@ -1,2 +1,3 @@ |
|||||
# -*- coding: utf-8 -*- |
# -*- coding: utf-8 -*- |
||||
|
from . import wizard |
||||
from . import report |
from . import report |
@ -0,0 +1,3 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
from . import due_report |
||||
|
|
@ -0,0 +1,14 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8" ?> |
||||
|
<odoo> |
||||
|
<data> |
||||
|
<report |
||||
|
id="report_customer_due_xlsx" |
||||
|
model="res.partner" |
||||
|
report_type="xlsx" |
||||
|
string="Customer Due Analysis" |
||||
|
name="customer_due_days.report_customer_due_xlsx" |
||||
|
file="customer_due_days.report_customer_due_xlsx" |
||||
|
menu="False" |
||||
|
/> |
||||
|
</data> |
||||
|
</odoo> |
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 130 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
@ -0,0 +1,13 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
|
||||
|
from odoo import models, fields, api, _ |
||||
|
|
||||
|
|
||||
|
class CreditDueExceedReportWizard(models.TransientModel): |
||||
|
_name = 'customer.due.report' |
||||
|
|
||||
|
@api.model |
||||
|
def xlsx_credit_due_report(self,data): |
||||
|
data = {} |
||||
|
return self.env.ref('customer_due_days.report_customer_due_xlsx').report_action(self, data=data) |
||||
|
|
@ -1,6 +1,7 @@ |
|||||
<?xml version="1.0" encoding="utf-8" ?> |
<?xml version="1.0" encoding="utf-8" ?> |
||||
<odoo> |
<odoo> |
||||
<data> |
<data> |
||||
|
|
||||
<record id="credit_due_days_view" model="ir.ui.view"> |
<record id="credit_due_days_view" model="ir.ui.view"> |
||||
<field name="name">Customer Due Analysis</field> |
<field name="name">Customer Due Analysis</field> |
||||
<field name="model">customer.due.report</field> |
<field name="model">customer.due.report</field> |