-
-
Notifications
You must be signed in to change notification settings - Fork 723
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
[15.0][PORT] stock_location_tray: Porting from 14.0 to 15.0 #1568
[15.0][PORT] stock_location_tray: Porting from 14.0 to 15.0 #1568
Conversation
Extracted from stock_vertical_lift (OCA#633) Add tray types to stock locations, automatically generates sub-locations. Present them nicely with a custom widget.
Use the multi creation on records to create all the xmlids at once.
There is change in odoo/odoo for both 13.0 and 14.0 at odoo/odoo@b6ba603#diff-0b83f13eeb39606e0cc2ebe1443b40c01c19bf49ec16ab100dbcb0d0f4c9e4b6R99-R106. With the change, `UserError(_('You still have some product in locations %s')` is always risen before the two `ValidationError(_("Tray locations cannot be archived when they contain products.")` and `UserError(_("Trays cannot be modified when they contain products.")` of this module. Therefor, the OCA#987 changes tests to meet that flow change. To prove the dead code, we have two hacks: change context to bypass odoo/odoo checking as OCA@79fa705#diff-ce46c42b625b31fbfc9cd2646ccfe9d647a894001a331cd54d3ce0cf04b466a3R161-R163 and OCA@79fa705#diff-ce46c42b625b31fbfc9cd2646ccfe9d647a894001a331cd54d3ce0cf04b466a3R183-R187. We believe that in daily use, there is no hack like that.
…the stock.location.tray.type view
/ocabot migration stock_location_tray @GabbasovDinar Thanks for this. Could you check your commit user (diga) as it seems not associated with your github account (GabbasovDinar) ? |
bac1a69
to
2c179c6
Compare
@GabbasovDinar Don't forget to follow migration guide https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-15.0 Especially commit name (that should reflect a 'migration') |
/ocabot migration stock_location_tray |
2c179c6
to
b6b3ff0
Compare
@OCA/logistics-maintainers-psc-representative could you review? |
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
How to reopen this PR? |
@GabbasovDinar Unfortiunately, you need to open a new PR |
No description provided.