-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[17.0][MIG] spreadsheet_dashboard_oca #47
Open
JasminSForgeFlow
wants to merge
36
commits into
OCA:17.0
Choose a base branch
from
ForgeFlow:17.0-mig-spreadsheet_dashboard_oca
base: 17.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[17.0][MIG] spreadsheet_dashboard_oca #47
JasminSForgeFlow
wants to merge
36
commits into
OCA:17.0
from
ForgeFlow:17.0-mig-spreadsheet_dashboard_oca
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Currently translated at 80.0% (4 of 5 strings) Translation: spreadsheet-16.0/spreadsheet-16.0-spreadsheet_dashboard_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-16-0/spreadsheet-16-0-spreadsheet_dashboard_oca/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: spreadsheet-16.0/spreadsheet-16.0-spreadsheet_dashboard_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-16-0/spreadsheet-16-0-spreadsheet_dashboard_oca/
Currently translated at 100.0% (9 of 9 strings) Translation: spreadsheet-16.0/spreadsheet-16.0-spreadsheet_dashboard_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-16-0/spreadsheet-16-0-spreadsheet_dashboard_oca/fr_FR/
Currently translated at 77.7% (7 of 9 strings) Translation: spreadsheet-16.0/spreadsheet-16.0-spreadsheet_dashboard_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-16-0/spreadsheet-16-0-spreadsheet_dashboard_oca/nl/
Currently translated at 100.0% (9 of 9 strings) Translation: spreadsheet-16.0/spreadsheet-16.0-spreadsheet_dashboard_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-16-0/spreadsheet-16-0-spreadsheet_dashboard_oca/it/
All the spreadsheet dashboards coming from Odoo in the modules spreadsheet_dashboard* are noupdate="0", which means that if you modify anything via this module, and then you update the module, all the changes will be lost. To avoid frustrations and to allow seamless updates, the following mechanisms have been put in place: - Spreadsheet dashboards now have an active field. - Only the manually created dashboards or those coming from data with noupdate="1" will be editable. - There's a mechanism for copying existing dashboards. So, for modifying one of the standard dashboards, the steps will be: - Duplicate it through the "Copy" button. - Disable the standard one. - Edit the copy. TT49379
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: spreadsheet-16.0/spreadsheet-16.0-spreadsheet_dashboard_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-16-0/spreadsheet-16-0-spreadsheet_dashboard_oca/
Currently translated at 100.0% (12 of 12 strings) Translation: spreadsheet-16.0/spreadsheet-16.0-spreadsheet_dashboard_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-16-0/spreadsheet-16-0-spreadsheet_dashboard_oca/it/
…ture order of fields
The error is happening because the dashboard where the data has to be added is not being showed. With this changes the field to define the dashboard is required and is showed. Added a way to limit the search to the dashboards that can be edited
On dashboards exists tables that are updated dynamically, with this changes we have the option to generate this dynamic tables using the pivot inserter. Added a button to duplicate and change to dynamic table the selected table on spreadsheet editor. If a table with multiple row goups generated, the way to generate the dynamic table will be set the number of rows for each level of indentation. Example: 2 rowGroupBys 3 number of rows - val1 - subval1.1 - subval1.2 - subval1.3 - val2 - subval2.1 - subval2.2 - subval2.3 - val3 - subval3.1 - subval3.2 - subval3.3
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: spreadsheet-16.0/spreadsheet-16.0-spreadsheet_dashboard_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-16-0/spreadsheet-16-0-spreadsheet_dashboard_oca/
Currently translated at 100.0% (16 of 16 strings) Translation: spreadsheet-16.0/spreadsheet-16.0-spreadsheet_dashboard_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-16-0/spreadsheet-16-0-spreadsheet_dashboard_oca/it/
Currently translated at 100.0% (16 of 16 strings) Translation: spreadsheet-16.0/spreadsheet-16.0-spreadsheet_dashboard_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-16-0/spreadsheet-16-0-spreadsheet_dashboard_oca/pt/
With these changes, we have added the ability to make the columns dynamic, just as is done with the rows. To add this type of table, we will need to select the dynamic columns option and choose the number of columns to insert. Keep in mind that if multiple column levels are selected, the chosen number will apply to each of these levels. In addition to this, the wizard that opens with the spreadsheet button has been updated to allow us to choose the type of dynamism we expect in the inserted table.
/ocabot migration spreadsheet_dashboard_oca |
etobella
reviewed
Jan 17, 2025
@@ -12,6 +12,7 @@ class SpreadsheetDashboard(models.Model): | |||
_name = "spreadsheet.dashboard" | |||
_inherit = ["spreadsheet.dashboard", "spreadsheet.abstract"] | |||
|
|||
data = fields.Binary() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you need to declare the field?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Standard Migration
@ForgeFlow
Depends on: