Skip to content

Merged from upstream 260718 01#20

Merged
davidtranhp merged 30 commits into
Viindoo:18.0from
davidtranhp:merged_from_upstream_260718_01
Jul 18, 2026
Merged

Merged from upstream 260718 01#20
davidtranhp merged 30 commits into
Viindoo:18.0from
davidtranhp:merged_from_upstream_260718_01

Conversation

@davidtranhp

Copy link
Copy Markdown

No description provided.

hitesh-erpharbor and others added 28 commits January 9, 2026 17:31
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/
Signed-off-by pedrobaeza
- 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.
Signed-off-by max3903
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/
@davidtranhp davidtranhp added this to the 18.0 milestone Jul 18, 2026
@viinbot viinbot added the 🚀 Queue PR/Commit is added in build queue label Jul 18, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@viinbot viinbot added 🚀 Building PR/Commit is start building all step in script ⚠️ Failed PR/Commit is failed when run script and removed 🚀 Queue PR/Commit is added in build queue 🚀 Building PR/Commit is start building all step in script labels Jul 18, 2026
@viinbot

viinbot commented Jul 18, 2026

Copy link
Copy Markdown

@davidtranhp Viindoo Test Suite has failed!

@davidtranhp

Copy link
Copy Markdown
Author

@viinbot rebuild

@viinbot viinbot added 🚀 Queue PR/Commit is added in build queue and removed ⚠️ Failed PR/Commit is failed when run script labels Jul 18, 2026
@viinbot

viinbot commented Jul 18, 2026

Copy link
Copy Markdown

@davidtranhp PR in the queue to wait for rebuild!

@viinbot viinbot added 🚀 Building PR/Commit is start building all step in script ⚠️ Failed PR/Commit is failed when run script and removed 🚀 Queue PR/Commit is added in build queue 🚀 Building PR/Commit is start building all step in script labels Jul 18, 2026
@viinbot

viinbot commented Jul 18, 2026

Copy link
Copy Markdown

@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>
@viinbot viinbot added 🚀 Queue PR/Commit is added in build queue 🚀 Building PR/Commit is start building all step in script 🚀 Running PR/Commit is done for everything and ready for manually test and removed ⚠️ Failed PR/Commit is failed when run script 🚀 Queue PR/Commit is added in build queue 🚀 Building PR/Commit is start building all step in script labels Jul 18, 2026
@viinbot

viinbot commented Jul 18, 2026

Copy link
Copy Markdown

@davidtranhp Viindoo Test Suite has passed, but contains warnings!

@davidtranhp
davidtranhp merged commit e734fb1 into Viindoo:18.0 Jul 18, 2026
5 checks passed
@viinbot viinbot added 🚩 Done PR/Commit is finished manually test and closed instance and removed 🚀 Running PR/Commit is done for everything and ready for manually test labels Jul 18, 2026
@davidtranhp
davidtranhp deleted the merged_from_upstream_260718_01 branch July 18, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚩 Done PR/Commit is finished manually test and closed instance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants