Comments (4)
If I delete the migrations folder (which was added 2 weeks ago by @mt-software-de and @victoralmau) of the rma module, the migration from 15 to 16 is done correctly
from rma.
The commit what was used was cherry-picked from v14.
And was not ready to merge yet.
But to help here, the fields rma_in_type_id and/or rma_out_type_id not set on the warehouse, the are used and mandatory to create the new rules for the rma proc run.
Within the migration we have to ensure, that those fields are set.
Therefor _create_or_update_sequences_and_picking_types
needs to be called at the migration.
This would then create the missing stock.picking.type.
But to ensure that no other stock.picking.type is changed, we have to overwrite _get_picking_type_update_values
and checking the context value rma_post_init_hook
. Like it is done in
rma/rma/models/stock_warehouse.py
Line 149 in 6713de3
rma/rma/models/stock_warehouse.py
Line 185 in 6713de3
from rma.
We will check it soon. Thanks for the extra info, Michael.
from rma.
Thanks @mt-software-de I have configured all the warehouses so that the rma_loc_id, rma_in_type_id and rma_out_type_id fields have a value and after running the migration again this error no longer occurs
from rma.
Related Issues (20)
- [13.0] rma_sale translation HOT 3
- App RMA causes tests in sale_stock to fail during build HOT 2
- [13.0] website_rma: The license AGPL-3 conflicts with one of its dependencies. HOT 2
- [13.0] rma_sale: The license AGPL-3 conflicts with one of its dependencies. HOT 2
- [14.0] Permission error on rma_sale module
- [RFC] 14.0 rma_sale: questions about quantities HOT 4
- [13.0] RMA refund amount error when the product price has a discount HOT 2
- [14.0]RMA: Access error for user without settings
- Cant create RMAs for products in a phantom BoM. HOT 1
- Migration to version 16.0 HOT 1
- While replacing a product on RMA order, will it generate a picking order? HOT 2
- Validation error on install rma HOT 1
- Migration to version 17.0 HOT 1
- Add support for serial number HOT 3
- The quantity done for the product 'Baby Shanghai Bok Choy' must be equal to its initial demand because the stock move is linked to an RMA (RMA0009).
- RMA - require operation HOT 4
- RMA reason HOT 6
- RMA SO wizard quantity default to 0 and show max HOT 4
- RMA Configure operation for when to generate stock transfer and how to manage invoicing HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rma.