Merged from upstream 260718 01#20
Merged
davidtranhp merged 30 commits intoJul 18, 2026
Merged
Conversation
This commit adds a new module that allows users to create and manage spreadsheet calculators linked to sale order templates in Odoo. Key features include: - Creation of a spreadsheet calculator from a sale order template. - Automatic assignment of a copy of the spreadsheet to sale orders created from the template. - Integration of field sync functionality to map spreadsheet columns to sale order line fields. - User-friendly interface for managing mappings and syncing values back to sale orders. Documentation and tests have been included to ensure functionality.
This commit improves the readability of the code by applying consistent formatting and simplifying conditional statements across multiple files. Key changes include: - Updated the summary in the manifest file for better readability. - Simplified conditional checks in the `sale_order.py` model. - Enhanced formatting in JavaScript and XML files for better clarity. - Improved comments for better understanding in the `spreadsheet_quotation_create.py` wizard. These changes aim to maintain a clean codebase and enhance maintainability.
…tion This commit introduces seven new images to the documentation and updates the usage guide to include a step-by-step process for using the spreadsheet quotation calculator. The INSTALL.md file has been removed as it was no longer needed.
Currently translated at 100.0% (30 of 30 strings) Translation: spreadsheet-18.0/spreadsheet-18.0-spreadsheet_dashboard_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-18-0/spreadsheet-18-0-spreadsheet_dashboard_oca/es/
Currently translated at 100.0% (166 of 166 strings) Translation: spreadsheet-18.0/spreadsheet-18.0-spreadsheet_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-18-0/spreadsheet-18-0-spreadsheet_oca/es/
Currently translated at 100.0% (30 of 30 strings) Translation: spreadsheet-18.0/spreadsheet-18.0-spreadsheet_dashboard_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-18-0/spreadsheet-18-0-spreadsheet_dashboard_oca/es/
Currently translated at 100.0% (166 of 166 strings) Translation: spreadsheet-18.0/spreadsheet-18.0-spreadsheet_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-18-0/spreadsheet-18-0-spreadsheet_oca/es/
Currently translated at 50.0% (15 of 30 strings) Translation: spreadsheet-18.0/spreadsheet-18.0-spreadsheet_dashboard_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-18-0/spreadsheet-18-0-spreadsheet_dashboard_oca/fr/
Currently translated at 100.0% (166 of 166 strings) Translation: spreadsheet-18.0/spreadsheet-18.0-spreadsheet_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-18-0/spreadsheet-18-0-spreadsheet_oca/fr/
Currently translated at 100.0% (27 of 27 strings) Translation: spreadsheet-18.0/spreadsheet-18.0-spreadsheet_dashboard_purchase_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-18-0/spreadsheet-18-0-spreadsheet_dashboard_purchase_oca/fr/
Currently translated at 100.0% (41 of 41 strings) Translation: spreadsheet-18.0/spreadsheet-18.0-spreadsheet_dashboard_purchase_stock_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-18-0/spreadsheet-18-0-spreadsheet_dashboard_purchase_stock_oca/fr/
Currently translated at 100.0% (30 of 30 strings) Translation: spreadsheet-18.0/spreadsheet-18.0-spreadsheet_dashboard_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-18-0/spreadsheet-18-0-spreadsheet_dashboard_oca/fr/
Currently translated at 100.0% (166 of 166 strings) Translation: spreadsheet-18.0/spreadsheet-18.0-spreadsheet_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-18-0/spreadsheet-18-0-spreadsheet_oca/fr/
Currently translated at 100.0% (41 of 41 strings) Translation: spreadsheet-18.0/spreadsheet-18.0-spreadsheet_dashboard_purchase_stock_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-18-0/spreadsheet-18-0-spreadsheet_dashboard_purchase_stock_oca/fr/
Currently translated at 100.0% (30 of 30 strings) Translation: spreadsheet-18.0/spreadsheet-18.0-spreadsheet_dashboard_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-18-0/spreadsheet-18-0-spreadsheet_dashboard_oca/fr/
- Implemented checks in the SaleOrder model to prevent synchronization of cancelled or confirmed sales orders. - Added a new method `action_sync_spreadsheet_order_lines` to handle the synchronization process. - Updated the JavaScript component to utilize the new synchronization method and handle error messages more effectively. - Added unit tests to verify synchronization behavior for different order states.
Currently translated at 73.1% (30 of 41 strings) Translation: spreadsheet-18.0/spreadsheet-18.0-spreadsheet_dashboard_purchase_stock_oca Translate-URL: https://translation.odoo-community.org/projects/spreadsheet-18-0/spreadsheet-18-0-spreadsheet_dashboard_purchase_stock_oca/sl/
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
@davidtranhp Viindoo Test Suite has failed! |
Author
|
@viinbot rebuild |
|
@davidtranhp PR in the queue to wait for rebuild! |
|
@davidtranhp Viindoo Test Suite has failed! |
base.TestInvisibleField.test_uncommented_invisible_field (a non-asserting core check that only logs) flags always-invisible fields without an explanatory comment; for a non-whitelisted addon it logs at ERROR, which reds the Viindoo runbot build. Add a one-line comment on the line directly after each always-invisible field (has_spreadsheet, spreadsheet_id, sale_order_template_id) - the form the core check accepts and prettier keeps. Signed-off-by: David Tran <david.tran@tvtmarine.com>
prettier (@prettier/plugin-xml) moves a trailing inline XML comment on the same line as a self-closing <field/> onto its own following line. These 3 files carried that style (from an earlier test_view fix) and failed the pre-commit CI hook run with --all-files. Reformat to prettier's canonical output. No functional change. Signed-off-by: David Tran <david.tran@tvtmarine.com>
|
@davidtranhp Viindoo Test Suite has passed, but contains warnings! |
This file contains hidden or 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
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.
No description provided.