Browse Source
add company_id in period. in queries add the usable field name. add tooltip on the result (to display val_c). add from to. right align for column header and values. update preview form to have better display. define security
pull/90/head
add company_id in period. in queries add the usable field name. add tooltip on the result (to display val_c). add from to. right align for column header and values. update preview form to have better display. define security
pull/90/head
laetitia.gangloff@acsone.eu
10 years ago
committed by
Stéphane Bidoul
12 changed files with 112 additions and 64 deletions
-
1mis_builder/__openerp__.py
-
98mis_builder/models/mis_builder.py
-
10mis_builder/security/ir.model.access.csv
-
3mis_builder/static/src/css/custom.css
-
9mis_builder/static/src/xml/mis_widget.xml
-
1mis_builder/tests/mis.report.csv
-
5mis_builder/tests/mis.report.instance.csv
-
13mis_builder/tests/mis.report.instance.period.csv
-
1mis_builder/tests/mis.report.kpi.csv
-
1mis_builder/tests/mis.report.query.csv
-
11mis_builder/tests/mis_builder_test.py
-
21mis_builder/views/mis_builder.xml
@ -1 +1,11 @@ |
|||||
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" |
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" |
||||
|
manage_mis_report_kpi,manage_mis_report_kpi,model_mis_report_kpi,account.group_account_manager,1,1,1,1 |
||||
|
access_mis_report_kpi,access_mis_report_kpi,model_mis_report_kpi,account.group_account_invoice,1,0,0,0 |
||||
|
manage_mis_report_query,manage_mis_report_query,model_mis_report_query,account.group_account_manager,1,1,1,1 |
||||
|
access_mis_report_query,access_mis_report_query,model_mis_report_query,account.group_account_invoice,1,0,0,0 |
||||
|
manage_mis_report,manage_mis_report,model_mis_report,account.group_account_manager,1,1,1,1 |
||||
|
access_mis_report,access_mis_report,model_mis_report,account.group_account_invoice,1,0,0,0 |
||||
|
manage_mis_report_instance_period,manage_mis_report_instance_period,model_mis_report_instance_period,account.group_account_manager,1,1,1,1 |
||||
|
access_mis_report_instance_period,access_mis_report_instance_period,model_mis_report_instance_period,account.group_account_invoice,1,0,0,0 |
||||
|
manage_mis_report_instance,manage_mis_report_instance,model_mis_report_instance,account.group_account_manager,1,1,1,1 |
||||
|
access_mis_report_instance,access_mis_report_instance,model_mis_report_instance,account.group_account_invoice,1,0,0,0 |
@ -0,0 +1,3 @@ |
|||||
|
.openerp .rallign { |
||||
|
text-align: right; |
||||
|
} |
@ -1,2 +1,3 @@ |
|||||
"id","description","kpi_ids/id","name","query_ids/id" |
"id","description","kpi_ids/id","name","query_ids/id" |
||||
"mis_report","","mis_report_kpi_1,mis_report_kpi_2,mis_report_kpi_3,mis_report_kpi_4,mis_report_kpi_5,mis_report_kpi_6","Test","mis_report_query" |
"mis_report","","mis_report_kpi_1,mis_report_kpi_2,mis_report_kpi_3,mis_report_kpi_4,mis_report_kpi_5,mis_report_kpi_6","Test","mis_report_query" |
||||
|
"mis_report_test","","mis_report_kpi_test","Test report","mis_report_query_test" |
@ -1,2 +1,3 @@ |
|||||
"id","date","description","name","period_ids/id","report_id/id" |
|
||||
"mis_report_instance","2014-07-18","","Test-report-instance","mis_report_instance_period_1,mis_report_instance_period_2,mis_report_instance_period_3,mis_report_instance_period_4,mis_report_instance_period_5","mis_report" |
|
||||
|
"id","description","name","period_ids/id","report_id/id" |
||||
|
"mis_report_instance","","Test-report-instance","mis_report_instance_period_1,mis_report_instance_period_2,mis_report_instance_period_3,mis_report_instance_period_4,mis_report_instance_period_5","mis_report" |
||||
|
"mis_report_instance_test","","Test-report-instance without company","mis_report_instance_period_test","mis_report_test" |
@ -1,6 +1,7 @@ |
|||||
"id","duration","name","offset","type","sequence" |
|
||||
"mis_report_instance_period_1","1","today","","Day","" |
|
||||
"mis_report_instance_period_2","1","yesterday","-1","Day","" |
|
||||
"mis_report_instance_period_3","1","last week","-1","Week","2" |
|
||||
"mis_report_instance_period_4","2","last 2 period","-2","Fiscal Period","3" |
|
||||
"mis_report_instance_period_5","2","last 2 week","-2","Week","4" |
|
||||
|
"id","duration","name","offset","type","sequence","company_id/id" |
||||
|
"mis_report_instance_period_1","1","today","","Day","","base.main_company" |
||||
|
"mis_report_instance_period_2","1","yesterday","-1","Day","","base.main_company" |
||||
|
"mis_report_instance_period_3","1","last week","-1","Week","2","base.main_company" |
||||
|
"mis_report_instance_period_4","2","last 2 period","-2","Fiscal Period","3","base.main_company" |
||||
|
"mis_report_instance_period_5","2","last 2 week","-2","Week","4","base.main_company" |
||||
|
"mis_report_instance_period_test","1","today","","Day","","base.main_company" |
@ -1,2 +1,3 @@ |
|||||
"id","date_field/id","domain","field_ids/id","model_id/id","name" |
"id","date_field/id","domain","field_ids/id","model_id/id","name" |
||||
"mis_report_query","account.field_account_invoice_date_invoice","","account.field_account_invoice_amount_untaxed","account.model_account_invoice","inv" |
"mis_report_query","account.field_account_invoice_date_invoice","","account.field_account_invoice_amount_untaxed","account.model_account_invoice","inv" |
||||
|
"mis_report_query_test","account.field_account_analytic_balance_date1","","account.field_account_analytic_balance_empty_acc","account.model_account_analytic_balance","test" |
Write
Preview
Loading…
Cancel
Save
Reference in new issue