Skip to content
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] sale_elaboration: Migration to 17.0 #3274

Open
wants to merge 76 commits into
base: 17.0
Choose a base branch
from

Conversation

peluko00
Copy link

@peluko00 peluko00 commented Aug 19, 2024

@peluko00 peluko00 force-pushed the 17.0-mig-sale_elaboration branch 2 times, most recently from 37463c7 to ca75acc Compare August 20, 2024 06:17
marylla and others added 19 commits August 20, 2024 08:19
…sale order view to store the value in onchange method
…to allow users display elaboration notes on delivery slips
oca-ci and others added 20 commits August 20, 2024 08:19
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_elaboration
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_elaboration/
Currently translated at 100.0% (50 of 50 strings)

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_elaboration
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_elaboration/es/
Without this patch, and with some unknown but feasible combination of sale-workflow modules, these steps were producing an exception:

1. Switch to mobile view.
2. Edit one sale order line.
3. Change packaging.
4. Save line (but not parent record).
5. Repeat steps 2-4.

The error was:

    modifier "readonly": Unknown field state in domain

I'm not sure why just `state` wasn't working reliably, but I can tell Odoo upstream uses `parent.state` since odoo/odoo@a7883df and this fixes the issue.

@moduon MT-5351
Under certain circumstances, elaboration notes were deleted. For example, when adding or removing an elaboration.

That's more or less OK, but also when delivery is installed along with this module, then the notes removal is unpredictable.

Here I fix OCA#3154 by removing the computation on notes.

Until now, notes were just repeating the same as we had in elaborations. Since the information was duplicated, the `elaboration_ids` field never appeared in reports.

Now the notes are just a normal text field that does nothing if empty. Since it will be usually empty, now reports need to include `elaboration_ids` too.

@moduon MT-6164
Currently translated at 100.0% (50 of 50 strings)

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_elaboration
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_elaboration/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_elaboration
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_elaboration/
Currently translated at 100.0% (54 of 54 strings)

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_elaboration
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_elaboration/it/
@peluko00 peluko00 force-pushed the 17.0-mig-sale_elaboration branch from ca75acc to 52fec70 Compare August 20, 2024 06:19
Copy link

@mpascuall mpascuall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, tested in runboat

@pedrobaeza
Copy link
Member

/ocabot migration sale_elaboration

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone Aug 20, 2024
@OCA-git-bot OCA-git-bot mentioned this pull request Aug 20, 2024
83 tasks
Copy link

@BernatObrador BernatObrador left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, tested in runboat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.