odoo-addon-mis-builder 18.0.1.0.0.11__py3-none-any.whl → 18.0.1.1.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. odoo/addons/mis_builder/README.rst +6 -2
  2. odoo/addons/mis_builder/__manifest__.py +1 -1
  3. odoo/addons/mis_builder/i18n/ca.po +43 -89
  4. odoo/addons/mis_builder/i18n/de.po +14 -83
  5. odoo/addons/mis_builder/i18n/el.po +14 -83
  6. odoo/addons/mis_builder/i18n/el_GR.po +14 -83
  7. odoo/addons/mis_builder/i18n/es.po +43 -89
  8. odoo/addons/mis_builder/i18n/fr.po +42 -89
  9. odoo/addons/mis_builder/i18n/hr.po +14 -83
  10. odoo/addons/mis_builder/i18n/it.po +42 -89
  11. odoo/addons/mis_builder/i18n/mis_builder.pot +5 -0
  12. odoo/addons/mis_builder/i18n/nl.po +44 -89
  13. odoo/addons/mis_builder/i18n/nl_NL.po +44 -89
  14. odoo/addons/mis_builder/i18n/pt.po +14 -83
  15. odoo/addons/mis_builder/i18n/pt_BR.po +43 -89
  16. odoo/addons/mis_builder/i18n/sv.po +42 -89
  17. odoo/addons/mis_builder/i18n/tr.po +14 -83
  18. odoo/addons/mis_builder/i18n/zh_CN.po +141 -163
  19. odoo/addons/mis_builder/models/mis_report_instance.py +4 -0
  20. odoo/addons/mis_builder/static/description/index.html +57 -51
  21. odoo/addons/mis_builder/static/src/components/mis_report_widget.esm.js +26 -1
  22. odoo/addons/mis_builder/static/src/components/mis_report_widget.scss +9 -0
  23. odoo/addons/mis_builder/static/src/components/mis_report_widget.xml +7 -0
  24. odoo/addons/mis_builder/views/mis_report_instance.xml +1 -0
  25. {odoo_addon_mis_builder-18.0.1.0.0.11.dist-info → odoo_addon_mis_builder-18.0.1.1.0.1.dist-info}/METADATA +7 -3
  26. {odoo_addon_mis_builder-18.0.1.0.0.11.dist-info → odoo_addon_mis_builder-18.0.1.1.0.1.dist-info}/RECORD +28 -28
  27. {odoo_addon_mis_builder-18.0.1.0.0.11.dist-info → odoo_addon_mis_builder-18.0.1.1.0.1.dist-info}/WHEEL +0 -0
  28. {odoo_addon_mis_builder-18.0.1.0.0.11.dist-info → odoo_addon_mis_builder-18.0.1.1.0.1.dist-info}/top_level.txt +0 -0
@@ -592,6 +592,10 @@ class MisReportInstance(models.Model):
592
592
  help="Search view to customize the filter box in the report widget.",
593
593
  )
594
594
 
595
+ wide_display_by_default = fields.Boolean(
596
+ string="Open report in wide mode by default",
597
+ )
598
+
595
599
  @api.depends("report_id.move_lines_source")
596
600
  def _compute_widget_search_view_id(self):
597
601
  for rec in self:
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
5
  <meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6
- <title>MIS Builder</title>
6
+ <title>README.rst</title>
7
7
  <style type="text/css">
8
8
 
9
9
  /*
@@ -360,16 +360,21 @@ ul.auto-toc {
360
360
  </style>
361
361
  </head>
362
362
  <body>
363
- <div class="document" id="mis-builder">
364
- <h1 class="title">MIS Builder</h1>
363
+ <div class="document">
365
364
 
365
+
366
+ <a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
367
+ <img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
368
+ </a>
369
+ <div class="section" id="mis-builder">
370
+ <h1>MIS Builder</h1>
366
371
  <!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367
372
  !! This file is generated by oca-gen-addon-readme !!
368
373
  !! changes will be overwritten. !!
369
374
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370
- !! source digest: sha256:4f951807886cf621fb36273acfadb6571fdb553df0d02b7a2574eceb88aa0058
375
+ !! source digest: sha256:c05ba1bbf62201faf2da2110acb172e61430e70cbaaa3c624a599c8f823405e0
371
376
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372
- <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/mis-builder/tree/18.0/mis_builder"><img alt="OCA/mis-builder" src="https://img.shields.io/badge/github-OCA%2Fmis--builder-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/mis-builder-18-0/mis-builder-18-0-mis_builder"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/mis-builder&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
377
+ <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/mis-builder/tree/18.0/mis_builder"><img alt="OCA/mis-builder" src="https://img.shields.io/badge/github-OCA%2Fmis--builder-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/mis-builder-18-0/mis-builder-18-0-mis_builder"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/mis-builder&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373
378
  <p>This module allows you to build Management Information Systems
374
379
  dashboards. Such style of reports presents KPI in rows and time periods
375
380
  in columns. Reports mainly fetch data from account moves, but can also
@@ -433,7 +438,7 @@ to PDF, Excel and they can be added to Odoo dashboards.</p>
433
438
  </ul>
434
439
  </div>
435
440
  <div class="section" id="installation">
436
- <h1><a class="toc-backref" href="#toc-entry-1">Installation</a></h1>
441
+ <h2><a class="toc-backref" href="#toc-entry-1">Installation</a></h2>
437
442
  <p>Your preferred way to install addons will work with MIS Builder.</p>
438
443
  <p>An easy way to install it with all its dependencies is using pip:</p>
439
444
  <ul class="simple">
@@ -443,7 +448,7 @@ install the MIS Builder application.</li>
443
448
  </ul>
444
449
  </div>
445
450
  <div class="section" id="usage">
446
- <h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
451
+ <h2><a class="toc-backref" href="#toc-entry-2">Usage</a></h2>
447
452
  <p>To configure this module, you need to:</p>
448
453
  <ul class="simple">
449
454
  <li>Go to Accounting &gt; Configuration &gt; MIS Reporting &gt; MIS Report
@@ -465,7 +470,7 @@ Odoo dashboard, and export it to PDF or Excel.</li>
465
470
  <p><img alt="image3" src="https://raw.githubusercontent.com/OCA/mis-builder/10.0/mis_builder/static/description/ex_report_preview.png" /></p>
466
471
  </div>
467
472
  <div class="section" id="development">
468
- <h1><a class="toc-backref" href="#toc-entry-3">Development</a></h1>
473
+ <h2><a class="toc-backref" href="#toc-entry-3">Development</a></h2>
469
474
  <p>A typical extension is to provide a mechanism to filter reports on
470
475
  analytic dimensions or operational units. To implement this, you can
471
476
  override _get_additional_move_line_filter and _get_additional_filter
@@ -475,7 +480,7 @@ mis.report.instance, or even on mis.report.instance.period if you want
475
480
  different columns to show different analytic accounts.</p>
476
481
  </div>
477
482
  <div class="section" id="known-issues-roadmap">
478
- <h1><a class="toc-backref" href="#toc-entry-4">Known issues / Roadmap</a></h1>
483
+ <h2><a class="toc-backref" href="#toc-entry-4">Known issues / Roadmap</a></h2>
479
484
  <p>The mis_builder
480
485
  <a class="reference external" href="https://github.com/OCA/mis-builder/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement">roadmap</a>
481
486
  and <a class="reference external" href="https://github.com/OCA/mis-builder/issues?q=is%3Aopen+is%3Aissue+label%3Abug">known
@@ -483,11 +488,11 @@ issues</a>
483
488
  can be found on GitHub.</p>
484
489
  </div>
485
490
  <div class="section" id="changelog">
486
- <h1><a class="toc-backref" href="#toc-entry-5">Changelog</a></h1>
491
+ <h2><a class="toc-backref" href="#toc-entry-5">Changelog</a></h2>
487
492
  <div class="section" id="section-1">
488
- <h2><a class="toc-backref" href="#toc-entry-6">17.0.1.0.2 (2024-11-11)</a></h2>
493
+ <h3><a class="toc-backref" href="#toc-entry-6">17.0.1.0.2 (2024-11-11)</a></h3>
489
494
  <div class="section" id="features">
490
- <h3><a class="toc-backref" href="#toc-entry-7">Features</a></h3>
495
+ <h4><a class="toc-backref" href="#toc-entry-7">Features</a></h4>
491
496
  <ul class="simple">
492
497
  <li>Add support for branch companies.
493
498
  (<a class="reference external" href="https://github.com/OCA/mis-builder/issues/648">#648</a>)</li>
@@ -495,7 +500,7 @@ can be found on GitHub.</p>
495
500
  </div>
496
501
  </div>
497
502
  <div class="section" id="section-2">
498
- <h2><a class="toc-backref" href="#toc-entry-8">16.0.5.1.9 (2024-02-09)</a></h2>
503
+ <h3><a class="toc-backref" href="#toc-entry-8">16.0.5.1.9 (2024-02-09)</a></h3>
499
504
  <p><strong>Bugfixes</strong></p>
500
505
  <ul class="simple">
501
506
  <li>Restore compatibility with python 3.9
@@ -503,7 +508,7 @@ can be found on GitHub.</p>
503
508
  </ul>
504
509
  </div>
505
510
  <div class="section" id="section-3">
506
- <h2><a class="toc-backref" href="#toc-entry-9">16.0.5.1.8 (2024-02-08)</a></h2>
511
+ <h3><a class="toc-backref" href="#toc-entry-9">16.0.5.1.8 (2024-02-08)</a></h3>
507
512
  <p><strong>Bugfixes</strong></p>
508
513
  <ul class="simple">
509
514
  <li>Resolve a permission issue when creating report periods with a user
@@ -512,7 +517,7 @@ without admin rights.
512
517
  </ul>
513
518
  </div>
514
519
  <div class="section" id="section-4">
515
- <h2><a class="toc-backref" href="#toc-entry-10">16.0.5.1.0 (2023-04-04)</a></h2>
520
+ <h3><a class="toc-backref" href="#toc-entry-10">16.0.5.1.0 (2023-04-04)</a></h3>
516
521
  <p><strong>Features</strong></p>
517
522
  <ul class="simple">
518
523
  <li>Improve UX by adding the option to edit the pivot date directly on the
@@ -520,7 +525,7 @@ view.</li>
520
525
  </ul>
521
526
  </div>
522
527
  <div class="section" id="section-5">
523
- <h2><a class="toc-backref" href="#toc-entry-11">16.0.5.0.0 (2023-04-01)</a></h2>
528
+ <h3><a class="toc-backref" href="#toc-entry-11">16.0.5.0.0 (2023-04-01)</a></h3>
524
529
  <p><strong>Features</strong></p>
525
530
  <ul class="simple">
526
531
  <li>Migration to 16.0<ul>
@@ -560,7 +565,7 @@ for the <tt class="docutils literal">account_user</tt> group but this was not fl
560
565
  </ul>
561
566
  </div>
562
567
  <div class="section" id="section-6">
563
- <h2><a class="toc-backref" href="#toc-entry-12">15.0.4.0.5 (2022-07-19)</a></h2>
568
+ <h3><a class="toc-backref" href="#toc-entry-12">15.0.4.0.5 (2022-07-19)</a></h3>
564
569
  <p><strong>Bugfixes</strong></p>
565
570
  <ul class="simple">
566
571
  <li>Support users without timezone.
@@ -568,7 +573,7 @@ for the <tt class="docutils literal">account_user</tt> group but this was not fl
568
573
  </ul>
569
574
  </div>
570
575
  <div class="section" id="section-7">
571
- <h2><a class="toc-backref" href="#toc-entry-13">15.0.4.0.4 (2022-07-19)</a></h2>
576
+ <h3><a class="toc-backref" href="#toc-entry-13">15.0.4.0.4 (2022-07-19)</a></h3>
572
577
  <p><strong>Bugfixes</strong></p>
573
578
  <ul class="simple">
574
579
  <li>Allow deleting a report that has subreports.
@@ -576,7 +581,7 @@ for the <tt class="docutils literal">account_user</tt> group but this was not fl
576
581
  </ul>
577
582
  </div>
578
583
  <div class="section" id="section-8">
579
- <h2><a class="toc-backref" href="#toc-entry-14">15.0.4.0.2 (2022-02-16)</a></h2>
584
+ <h3><a class="toc-backref" href="#toc-entry-14">15.0.4.0.2 (2022-02-16)</a></h3>
580
585
  <p><strong>Bugfixes</strong></p>
581
586
  <ul class="simple">
582
587
  <li>Fix access right issue when clicking the “Save” button on a MIS Report
@@ -585,7 +590,7 @@ Instance form.
585
590
  </ul>
586
591
  </div>
587
592
  <div class="section" id="section-9">
588
- <h2><a class="toc-backref" href="#toc-entry-15">14.0.4.0.0 (2022-01-08)</a></h2>
593
+ <h3><a class="toc-backref" href="#toc-entry-15">14.0.4.0.0 (2022-01-08)</a></h3>
589
594
  <p><strong>Features</strong></p>
590
595
  <ul class="simple">
591
596
  <li>Remove various field size limits.
@@ -617,7 +622,7 @@ use <tt class="docutils literal">parent_state</tt>, we now remove this argument.
617
622
  </ul>
618
623
  </div>
619
624
  <div class="section" id="section-10">
620
- <h2><a class="toc-backref" href="#toc-entry-16">14.0.3.6.7 (2021-06-02)</a></h2>
625
+ <h3><a class="toc-backref" href="#toc-entry-16">14.0.3.6.7 (2021-06-02)</a></h3>
621
626
  <p><strong>Bugfixes</strong></p>
622
627
  <ul class="simple">
623
628
  <li>When on a MIS Report Instance, if you wanted to generate a new line of
@@ -630,7 +635,7 @@ record solves the problem.
630
635
  </ul>
631
636
  </div>
632
637
  <div class="section" id="section-11">
633
- <h2><a class="toc-backref" href="#toc-entry-17">14.0.3.6.6 (2021-04-23)</a></h2>
638
+ <h3><a class="toc-backref" href="#toc-entry-17">14.0.3.6.6 (2021-04-23)</a></h3>
634
639
  <p><strong>Bugfixes</strong></p>
635
640
  <ul class="simple">
636
641
  <li>Fix drilldown action name when the account model has been customized.
@@ -638,7 +643,7 @@ record solves the problem.
638
643
  </ul>
639
644
  </div>
640
645
  <div class="section" id="section-12">
641
- <h2><a class="toc-backref" href="#toc-entry-18">14.0.3.6.5 (2021-04-23)</a></h2>
646
+ <h3><a class="toc-backref" href="#toc-entry-18">14.0.3.6.5 (2021-04-23)</a></h3>
642
647
  <p><strong>Bugfixes</strong></p>
643
648
  <ul class="simple">
644
649
  <li>While duplicating a MIS report instance, comparison columns are
@@ -648,7 +653,7 @@ record. (<a class="reference external" href="https://github.com/OCA/mis-builder/
648
653
  </ul>
649
654
  </div>
650
655
  <div class="section" id="section-13">
651
- <h2><a class="toc-backref" href="#toc-entry-19">14.0.3.6.4 (2021-04-06)</a></h2>
656
+ <h3><a class="toc-backref" href="#toc-entry-19">14.0.3.6.4 (2021-04-06)</a></h3>
652
657
  <p><strong>Features</strong></p>
653
658
  <ul class="simple">
654
659
  <li>The drilldown action name displayed on the breadcrumb has been
@@ -661,7 +666,7 @@ interactive view.
661
666
  </ul>
662
667
  </div>
663
668
  <div class="section" id="section-14">
664
- <h2><a class="toc-backref" href="#toc-entry-20">13.0.3.6.3 (2020-08-28)</a></h2>
669
+ <h3><a class="toc-backref" href="#toc-entry-20">13.0.3.6.3 (2020-08-28)</a></h3>
665
670
  <p><strong>Bugfixes</strong></p>
666
671
  <ul class="simple">
667
672
  <li>Having a “Compare columns” added on a KPI with an associated style
@@ -676,7 +681,7 @@ the percentages when exporting to XLSX.
676
681
  </ul>
677
682
  </div>
678
683
  <div class="section" id="section-15">
679
- <h2><a class="toc-backref" href="#toc-entry-21">13.0.3.6.2 (2020-04-22)</a></h2>
684
+ <h3><a class="toc-backref" href="#toc-entry-21">13.0.3.6.2 (2020-04-22)</a></h3>
680
685
  <p><strong>Bugfixes</strong></p>
681
686
  <ul class="simple">
682
687
  <li>The “Settings” button is now displayed for users with the “Show full
@@ -685,7 +690,7 @@ accounting features” right when previewing a report.
685
690
  </ul>
686
691
  </div>
687
692
  <div class="section" id="section-16">
688
- <h2><a class="toc-backref" href="#toc-entry-22">13.0.3.6.1 (2020-04-22)</a></h2>
693
+ <h3><a class="toc-backref" href="#toc-entry-22">13.0.3.6.1 (2020-04-22)</a></h3>
689
694
  <p><strong>Bugfixes</strong></p>
690
695
  <ul class="simple">
691
696
  <li>Fix <tt class="docutils literal">TypeError: 'module' object is not iterable</tt> when using budgets
@@ -693,7 +698,7 @@ by account. (<a class="reference external" href="https://github.com/OCA/mis-buil
693
698
  </ul>
694
699
  </div>
695
700
  <div class="section" id="section-17">
696
- <h2><a class="toc-backref" href="#toc-entry-23">13.0.3.6.0 (2020-03-28)</a></h2>
701
+ <h3><a class="toc-backref" href="#toc-entry-23">13.0.3.6.0 (2020-03-28)</a></h3>
697
702
  <p><strong>Features</strong></p>
698
703
  <ul class="simple">
699
704
  <li>Add column-level filters on analytic account and analytic tags. These
@@ -712,11 +717,11 @@ balance_sheet.total_assets).
712
717
  </ul>
713
718
  </div>
714
719
  <div class="section" id="section-18">
715
- <h2><a class="toc-backref" href="#toc-entry-24">13.0.3.5.0 (2020-01-??)</a></h2>
720
+ <h3><a class="toc-backref" href="#toc-entry-24">13.0.3.5.0 (2020-01-??)</a></h3>
716
721
  <p>Migration to odoo 13.0.</p>
717
722
  </div>
718
723
  <div class="section" id="section-19">
719
- <h2><a class="toc-backref" href="#toc-entry-25">12.0.3.5.0 (2019-10-26)</a></h2>
724
+ <h3><a class="toc-backref" href="#toc-entry-25">12.0.3.5.0 (2019-10-26)</a></h3>
720
725
  <p><strong>Features</strong></p>
721
726
  <ul class="simple">
722
727
  <li>The <tt class="docutils literal">account_id</tt> field of the model selected in ‘Move lines source’
@@ -756,7 +761,7 @@ replacing it with %.
756
761
  </ul>
757
762
  </div>
758
763
  <div class="section" id="section-20">
759
- <h2><a class="toc-backref" href="#toc-entry-26">12.0.3.4.0 (2019-07-09)</a></h2>
764
+ <h3><a class="toc-backref" href="#toc-entry-26">12.0.3.4.0 (2019-07-09)</a></h3>
760
765
  <p><strong>Features</strong></p>
761
766
  <ul class="simple">
762
767
  <li>New year-to-date mode for defining periods.
@@ -781,7 +786,7 @@ non-multi expressions yield tuples of incorrect lenght.
781
786
  </ul>
782
787
  </div>
783
788
  <div class="section" id="section-21">
784
- <h2><a class="toc-backref" href="#toc-entry-27">12.0.3.3.0 (2019-01-26)</a></h2>
789
+ <h3><a class="toc-backref" href="#toc-entry-27">12.0.3.3.0 (2019-01-26)</a></h3>
785
790
  <p><strong>Features</strong></p>
786
791
  <p><em>Dynamic analytic filters in report preview are not yet available in 11,
787
792
  this requires an update to the JS widget that proved difficult to
@@ -832,7 +837,7 @@ analytic filters, the underlying model must now have an
832
837
  <tt class="docutils literal">analytic_account_id</tt> field.</p>
833
838
  </div>
834
839
  <div class="section" id="section-22">
835
- <h2><a class="toc-backref" href="#toc-entry-28">11.0.3.2.2 (2018-06-30)</a></h2>
840
+ <h3><a class="toc-backref" href="#toc-entry-28">11.0.3.2.2 (2018-06-30)</a></h3>
836
841
  <ul class="simple">
837
842
  <li>[FIX] Fix bug in company_default_get call returning id instead of
838
843
  recordset (<a class="reference external" href="https://github.com/OCA/mis-builder/pull/103">#103</a>)</li>
@@ -842,7 +847,7 @@ displayed). (<a class="reference external" href="https://github.com/OCA/mis-buil
842
847
  </ul>
843
848
  </div>
844
849
  <div class="section" id="section-23">
845
- <h2><a class="toc-backref" href="#toc-entry-29">11.0.3.2.1 (2018-05-29)</a></h2>
850
+ <h3><a class="toc-backref" href="#toc-entry-29">11.0.3.2.1 (2018-05-29)</a></h3>
846
851
  <ul class="simple">
847
852
  <li>[FIX] Missing comparison operator for AccountingNone leading to errors
848
853
  in pbal computations
@@ -850,7 +855,7 @@ in pbal computations
850
855
  </ul>
851
856
  </div>
852
857
  <div class="section" id="section-24">
853
- <h2><a class="toc-backref" href="#toc-entry-30">10.0.3.2.0 (2018-05-02)</a></h2>
858
+ <h3><a class="toc-backref" href="#toc-entry-30">10.0.3.2.0 (2018-05-02)</a></h3>
854
859
  <ul class="simple">
855
860
  <li>[FIX] make subkpi ordering deterministic
856
861
  (<a class="reference external" href="https://github.com/OCA/mis-builder/issues/71">#71</a>)</li>
@@ -865,12 +870,12 @@ resp positive balances)
865
870
  </ul>
866
871
  </div>
867
872
  <div class="section" id="section-25">
868
- <h2><a class="toc-backref" href="#toc-entry-31">11.0.3.1.2 (2018-02-04)</a></h2>
873
+ <h3><a class="toc-backref" href="#toc-entry-31">11.0.3.1.2 (2018-02-04)</a></h3>
869
874
  <p>Migration to Odoo 11. No new feature.
870
875
  (<a class="reference external" href="https://github.com/OCA/mis-builder/pull/67">#67</a>)</p>
871
876
  </div>
872
877
  <div class="section" id="section-26">
873
- <h2><a class="toc-backref" href="#toc-entry-32">10.0.3.1.1 (2017-11-14)</a></h2>
878
+ <h3><a class="toc-backref" href="#toc-entry-32">10.0.3.1.1 (2017-11-14)</a></h3>
874
879
  <p>New features:</p>
875
880
  <ul class="simple">
876
881
  <li>[ADD] month and year relative periods, easier to use than date ranges
@@ -908,7 +913,7 @@ created (not yet saved) report instances.
908
913
  </ul>
909
914
  </div>
910
915
  <div class="section" id="section-27">
911
- <h2><a class="toc-backref" href="#toc-entry-33">10.0.3.0.4 (2017-10-14)</a></h2>
916
+ <h3><a class="toc-backref" href="#toc-entry-33">10.0.3.0.4 (2017-10-14)</a></h3>
912
917
  <p>Bug fix:</p>
913
918
  <ul class="simple">
914
919
  <li>[FIX] issue with initial balance rounding.
@@ -916,7 +921,7 @@ created (not yet saved) report instances.
916
921
  </ul>
917
922
  </div>
918
923
  <div class="section" id="section-28">
919
- <h2><a class="toc-backref" href="#toc-entry-34">10.0.3.0.3 (2017-10-03)</a></h2>
924
+ <h3><a class="toc-backref" href="#toc-entry-34">10.0.3.0.3 (2017-10-03)</a></h3>
920
925
  <p>Bug fix:</p>
921
926
  <ul class="simple">
922
927
  <li>[FIX] fix error saving KPI on newly created reports.
@@ -924,7 +929,7 @@ created (not yet saved) report instances.
924
929
  </ul>
925
930
  </div>
926
931
  <div class="section" id="section-29">
927
- <h2><a class="toc-backref" href="#toc-entry-35">10.0.3.0.2 (2017-10-01)</a></h2>
932
+ <h3><a class="toc-backref" href="#toc-entry-35">10.0.3.0.2 (2017-10-01)</a></h3>
928
933
  <p>New features:</p>
929
934
  <ul class="simple">
930
935
  <li>[ADD] Alternative move line source per report column. This makes mis
@@ -969,7 +974,7 @@ user</li>
969
974
  </ul>
970
975
  </div>
971
976
  <div class="section" id="unreleased">
972
- <h2><a class="toc-backref" href="#toc-entry-36">10.0.2.0.3 (unreleased)</a></h2>
977
+ <h3><a class="toc-backref" href="#toc-entry-36">10.0.2.0.3 (unreleased)</a></h3>
973
978
  <ul class="simple">
974
979
  <li>[IMP] more robust behaviour in presence of missing expressions</li>
975
980
  <li>[FIX] indent style</li>
@@ -982,7 +987,7 @@ generating reports with no objects</li>
982
987
  </ul>
983
988
  </div>
984
989
  <div class="section" id="section-30">
985
- <h2><a class="toc-backref" href="#toc-entry-37">9.0.2.0.2 (2016-09-27)</a></h2>
990
+ <h3><a class="toc-backref" href="#toc-entry-37">9.0.2.0.2 (2016-09-27)</a></h3>
986
991
  <ul class="simple">
987
992
  <li>[IMP] Add refresh button in mis report preview.</li>
988
993
  <li>[IMP] Widget code changes to allow to add fields in the widget more
@@ -990,7 +995,7 @@ easily.</li>
990
995
  </ul>
991
996
  </div>
992
997
  <div class="section" id="section-31">
993
- <h2><a class="toc-backref" href="#toc-entry-38">9.0.2.0.1 (2016-05-26)</a></h2>
998
+ <h3><a class="toc-backref" href="#toc-entry-38">9.0.2.0.1 (2016-05-26)</a></h3>
994
999
  <ul class="simple">
995
1000
  <li>[IMP] remove unused argument in declare_and_compute_period() for a
996
1001
  cleaner API. This is a breaking API changing merged in urgency before
@@ -998,7 +1003,7 @@ it is used by other modules.</li>
998
1003
  </ul>
999
1004
  </div>
1000
1005
  <div class="section" id="section-32">
1001
- <h2><a class="toc-backref" href="#toc-entry-39">9.0.2.0.0 (2016-05-24)</a></h2>
1006
+ <h3><a class="toc-backref" href="#toc-entry-39">9.0.2.0.0 (2016-05-24)</a></h3>
1002
1007
  <p>Part of the work for this release has been done at the Sorrento sprint
1003
1008
  April 26-29, 2016. The rest (ie a major refactoring) has been done in
1004
1009
  the weeks after.</p>
@@ -1047,7 +1052,7 @@ consolidation accounts have been removed</li>
1047
1052
  </ul>
1048
1053
  </div>
1049
1054
  <div class="section" id="section-33">
1050
- <h2><a class="toc-backref" href="#toc-entry-40">8.0.1.0.0 (2016-04-27)</a></h2>
1055
+ <h3><a class="toc-backref" href="#toc-entry-40">8.0.1.0.0 (2016-04-27)</a></h3>
1051
1056
  <ul class="simple">
1052
1057
  <li>The copy of a MIS Report Instance now copies period.
1053
1058
  <a class="reference external" href="https://github.com/OCA/account-financial-reporting/pull/181">https://github.com/OCA/account-financial-reporting/pull/181</a></li>
@@ -1072,12 +1077,12 @@ previews. <a class="reference external" href="https://github.com/OCA/account-fin
1072
1077
  </ul>
1073
1078
  </div>
1074
1079
  <div class="section" id="section-34">
1075
- <h2><a class="toc-backref" href="#toc-entry-41">8.0.0.2.0</a></h2>
1080
+ <h3><a class="toc-backref" href="#toc-entry-41">8.0.0.2.0</a></h3>
1076
1081
  <p>Pre-history. Or rather, you need to look at the git log.</p>
1077
1082
  </div>
1078
1083
  </div>
1079
1084
  <div class="section" id="bug-tracker">
1080
- <h1><a class="toc-backref" href="#toc-entry-42">Bug Tracker</a></h1>
1085
+ <h2><a class="toc-backref" href="#toc-entry-42">Bug Tracker</a></h2>
1081
1086
  <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/mis-builder/issues">GitHub Issues</a>.
1082
1087
  In case of trouble, please check there if your issue has already been reported.
1083
1088
  If you spotted it first, help us to smash it by providing a detailed and welcomed
@@ -1085,15 +1090,15 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
1085
1090
  <p>Do not contact contributors directly about support or help with technical issues.</p>
1086
1091
  </div>
1087
1092
  <div class="section" id="credits">
1088
- <h1><a class="toc-backref" href="#toc-entry-43">Credits</a></h1>
1093
+ <h2><a class="toc-backref" href="#toc-entry-43">Credits</a></h2>
1089
1094
  <div class="section" id="authors">
1090
- <h2><a class="toc-backref" href="#toc-entry-44">Authors</a></h2>
1095
+ <h3><a class="toc-backref" href="#toc-entry-44">Authors</a></h3>
1091
1096
  <ul class="simple">
1092
1097
  <li>ACSONE SA/NV</li>
1093
1098
  </ul>
1094
1099
  </div>
1095
1100
  <div class="section" id="contributors">
1096
- <h2><a class="toc-backref" href="#toc-entry-45">Contributors</a></h2>
1101
+ <h3><a class="toc-backref" href="#toc-entry-45">Contributors</a></h3>
1097
1102
  <ul class="simple">
1098
1103
  <li>Stéphane Bidoul &lt;<a class="reference external" href="mailto:stephane.bidoul&#64;acsone.eu">stephane.bidoul&#64;acsone.eu</a>&gt;</li>
1099
1104
  <li>Laetitia Gangloff &lt;<a class="reference external" href="mailto:laetitia.gangloff&#64;acsone.eu">laetitia.gangloff&#64;acsone.eu</a>&gt;</li>
@@ -1128,7 +1133,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
1128
1133
  </ul>
1129
1134
  </div>
1130
1135
  <div class="section" id="maintainers">
1131
- <h2><a class="toc-backref" href="#toc-entry-46">Maintainers</a></h2>
1136
+ <h3><a class="toc-backref" href="#toc-entry-46">Maintainers</a></h3>
1132
1137
  <p>This module is maintained by the OCA.</p>
1133
1138
  <a class="reference external image-reference" href="https://odoo-community.org">
1134
1139
  <img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
@@ -1143,5 +1148,6 @@ promote its widespread use.</p>
1143
1148
  </div>
1144
1149
  </div>
1145
1150
  </div>
1151
+ </div>
1146
1152
  </body>
1147
1153
  </html>
@@ -1,4 +1,4 @@
1
- import {Component, onWillStart, useState, useSubEnv} from "@odoo/owl";
1
+ import {Component, onMounted, onWillStart, useState, useSubEnv} from "@odoo/owl";
2
2
  import {useBus, useService} from "@web/core/utils/hooks";
3
3
  import {DateTimeInput} from "@web/core/datetime/datetime_input";
4
4
  import {SearchBar} from "@web/search/search_bar/search_bar";
@@ -27,6 +27,8 @@ export class MisReportWidget extends Component {
27
27
  this.refresh();
28
28
  });
29
29
  onWillStart(this.willStart);
30
+
31
+ onMounted(this._onMounted);
30
32
  }
31
33
 
32
34
  // Lifecycle
@@ -41,6 +43,7 @@ export class MisReportWidget extends Component {
41
43
  "widget_search_view_id",
42
44
  "pivot_date",
43
45
  "widget_show_pivot_date",
46
+ "wide_display_by_default",
44
47
  ],
45
48
  {context: this.context}
46
49
  );
@@ -60,10 +63,16 @@ export class MisReportWidget extends Component {
60
63
  });
61
64
  }
62
65
 
66
+ this.wide_display = result.wide_display_by_default;
67
+
63
68
  // Compute the report
64
69
  this.refresh();
65
70
  }
66
71
 
72
+ async _onMounted() {
73
+ this.resize_sheet();
74
+ }
75
+
67
76
  get showSearchBar() {
68
77
  return (
69
78
  this.source_aml_model_name &&
@@ -164,6 +173,22 @@ export class MisReportWidget extends Component {
164
173
  this.state.pivot_date = ev;
165
174
  this.refresh();
166
175
  }
176
+
177
+ async toggle_wide_display() {
178
+ this.wide_display = !this.wide_display;
179
+ this.resize_sheet();
180
+ }
181
+
182
+ async resize_sheet() {
183
+ var sheet_element = document.getElementsByClassName("o_form_sheet_bg")[0];
184
+ sheet_element.classList.toggle(
185
+ "oe_mis_builder_report_wide_sheet",
186
+ this.wide_display
187
+ );
188
+ var button_resize_element = document.getElementById("icon_resize");
189
+ button_resize_element.classList.toggle("fa-expand", !this.wide_display);
190
+ button_resize_element.classList.toggle("fa-compress", this.wide_display);
191
+ }
167
192
  }
168
193
 
169
194
  MisReportWidget.components = {SearchBar, DateTimeInput};
@@ -26,6 +26,10 @@
26
26
 
27
27
  /* style for the control panel (search box and buttons) */
28
28
 
29
+ .oe_mis_builder_report_wide_sheet {
30
+ max-width: 100% !important;
31
+ }
32
+
29
33
  .oe_mis_builder_cp {
30
34
  display: flex;
31
35
  flex-direction: row;
@@ -65,4 +69,9 @@
65
69
  justify-content: flex-end;
66
70
  }
67
71
  }
72
+
73
+ .oe_mis_builder_cp_right_top_right {
74
+ display: flex;
75
+ flex-direction: row;
76
+ }
68
77
  }
@@ -6,6 +6,13 @@
6
6
  <div class="oe_mis_builder_cp">
7
7
  <div class="oe_mis_builder_cp_left" />
8
8
  <div class="oe_mis_builder_cp_right">
9
+ <div class="oe_mis_builder_cp_right_top_right">
10
+ <div class="oe_mis_builder_action_buttons">
11
+ <button t-on-click="toggle_wide_display" class="btn">
12
+ <i id="icon_resize" class="fa" />
13
+ </button>
14
+ </div>
15
+ </div>
9
16
  <div class="oe_mis_builder_cp_right_top">
10
17
  <SearchBar t-if="showSearchBar" />
11
18
  </div>
@@ -192,6 +192,7 @@
192
192
  <field name="landscape_pdf" />
193
193
  <field name="no_auto_expand_accounts" />
194
194
  <field name="display_columns_description" />
195
+ <field name="wide_display_by_default" />
195
196
  </group>
196
197
  </page>
197
198
  <page string="Widget">
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-mis_builder
3
- Version: 18.0.1.0.0.11
3
+ Version: 18.0.1.1.0.1
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: odoo-addon-date_range==18.0.*
6
6
  Requires-Dist: odoo-addon-report_xlsx==18.0.*
@@ -16,6 +16,10 @@ Classifier: Framework :: Odoo :: 18.0
16
16
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3
17
17
  Classifier: Development Status :: 5 - Production/Stable
18
18
 
19
+ .. image:: https://odoo-community.org/readme-banner-image
20
+ :target: https://odoo-community.org/get-involved?utm_source=readme
21
+ :alt: Odoo Community Association
22
+
19
23
  ===========
20
24
  MIS Builder
21
25
  ===========
@@ -25,13 +29,13 @@ MIS Builder
25
29
  !! This file is generated by oca-gen-addon-readme !!
26
30
  !! changes will be overwritten. !!
27
31
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
28
- !! source digest: sha256:4f951807886cf621fb36273acfadb6571fdb553df0d02b7a2574eceb88aa0058
32
+ !! source digest: sha256:c05ba1bbf62201faf2da2110acb172e61430e70cbaaa3c624a599c8f823405e0
29
33
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
30
34
 
31
35
  .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
32
36
  :target: https://odoo-community.org/page/development-status
33
37
  :alt: Production/Stable
34
- .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
38
+ .. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
35
39
  :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
36
40
  :alt: License: AGPL-3
37
41
  .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmis--builder-lightgray.png?logo=github