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] rma_sale #516

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

[17.0][MIG] rma_sale #516

wants to merge 94 commits into from

Conversation

AaronHForgeFlow
Copy link
Contributor

Supersedes #507

Respected original code & history

Reasons for supersede:

Merge 17.0 was broken after merging and reverting by mistake some pull requests: #483 & #500

History was incorrect showing merge commits within it.
Merge conflicts when trying to manually merge other PRs on top on that one.
Unable to see the changes in the migration commit, making hard for the reviewer to review the code

Sorry for the inconvenience.

https://github.com/ForgeFlow

Copy link
Contributor Author

@AaronHForgeFlow AaronHForgeFlow left a comment

Choose a reason for hiding this comment

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

Tested RMA line generation from sale order line
Tested the cost consistency dependent of the cost of the product delivered in the sale order line

@AaronHForgeFlow
Copy link
Contributor Author

Ready for the merge IMHO

JordiBForgeFlow and others added 24 commits August 22, 2024 14:27
* fix assignment of moves.
* default qty in rma lines.
* remove account dependency.
* test and flake8 fixes.
… supplier

[IMP]Separate menus for customer and supplier operations
* Add active field to rma operation
* Added tests
* Fix travis
* Fix create supplier rma from customer rma
* rma: receipt_policy selections not matching.
* rma_sale: fix _prepare_rma_line_from_sale_order_line.
* remove unneded copy attributes.
* simplify action_view methods.
* fix wrong naming.
* fix misplaced views.
* fix wrong count and view actions for rma.orders in invoices.
* fix error when installing the module.
* remove unneded data update when preparing rma lines from invoice lines.
* minor extra fixes.
* simplify actgion_view methods.
* remove unneded copy and ondelete attributes.
* Fix wizard to add rma lines from SO.
* Update README and some strings.
LoisRForgeFlow and others added 29 commits August 22, 2024 14:27
Hide button and fields depending on the policy chosen on the rma line
- auto_confirm_rma_sale
- free_of_charge_rma_sale
OCA was added in the past by mistake only because a misconfiguration
in the CI forced OCA as a required author.
Otherwise the anglo saxon entries won't be correct.
For example, the Interim (Delivered) account should balance
after receiving and triggering a refund on a customer rma.
Without this, some policies are not being copied from the
operation selected when creating new rma line from a rma group.

In v16 this patch and the usage of such onchange can be removed
in favor of (pre)computed stored editable fields for all policies
and configuration in the RMA operation.
…ma lines created (#452)

* [14.0][IMP] added default operation on rma group, easy setup before rma lines created

* [IMP] added fields for default route created by wizard on rma group

* fix: get right price after create rma order line
& convert name_get to compute_diplay_name
…ve lines by default

This allow to manage phantom bom products, by creating rma lines for the components instead of the kit if the option is activated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.