25 Commits

Author SHA1 Message Date
mymage
6b679ec8b7 Added translation using Weblate (Italian) 2023-12-18 14:42:47 +00:00
OCA-git-bot
d1ab72361c [BOT] post-merge updates 2023-10-29 20:37:00 +00:00
oca-ci
aaf0f136c2 [UPD] Update stock_location_tray.pot 2023-10-29 19:51:53 +00:00
Enric Tobella
6af23355e8 *: Fix pylint 2023-10-29 20:43:42 +01:00
OCA-git-bot
22ba45483e [UPD] README.rst 2023-09-03 17:18:16 +00:00
OCA-git-bot
0348bcc0ec stock_location_tray 14.0.1.1.2 2021-12-09 11:58:45 +00:00
Florent Xicluna
274ecfa506 [FIX] stock_location_tray: fix permission on act_window in v14 2021-12-09 11:37:59 +01:00
OCA-git-bot
cf2666e7ac stock_location_tray 14.0.1.1.1 2021-12-04 15:08:12 +00:00
Florent Xicluna
05f0ec7c06 [FIX] stock_location_tray: crash when creating a stock.location from the stock.location.tray.type view 2021-11-16 16:45:54 +01:00
oca-travis
097fc4005a [UPD] Update stock_location_tray.pot 2021-09-14 13:37:26 +00:00
OCA-git-bot
78ffe8cc5d stock_location_tray 14.0.1.1.0 2021-09-14 10:38:17 +00:00
OCA-git-bot
e8a391ed7f [UPD] README.rst 2021-09-14 10:38:16 +00:00
Nils Hamerlinck
febbf77f7a [IMP] stock_location_tray: remove dead code in the continuity of https://github.com/OCA/stock-logistics-warehouse/pull/987
There is change in odoo/odoo for both 13.0 and 14.0 at
b6ba6038ad (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 #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
79fa70556a (diff-ce46c42b625b31fbfc9cd2646ccfe9d647a894001a331cd54d3ce0cf04b466a3R161-R163)
and
79fa70556a (diff-ce46c42b625b31fbfc9cd2646ccfe9d647a894001a331cd54d3ce0cf04b466a3R183-R187).
We believe that in daily use, there is no hack like that.
2021-08-17 16:45:26 +07:00
Hai Lang
79fa70556a [IMP] stock_location_tray: increase test coverage 2021-08-17 16:15:23 +07:00
Tran Thanh Phuc
d307c929c3 [MIG] stock_location_tray: Migration to 14.0 2021-08-17 16:15:20 +07:00
Tran Thanh Phuc
f5ecd878ff [IMP] stock_location_tray: black, isort, prettier 2021-08-17 16:14:19 +07:00
Héctor Villarreal Ortega
abad67be50 [13.0][FIX] stock_location_tray: Fix exceptions message in tests 2021-08-17 16:14:19 +07:00
Guewen Baconnier
b008f3bd58 stock_location_tray: Optimize creation of xmlids in batch
Use the multi creation on records to create all the xmlids at once.
2021-08-17 16:14:19 +07:00
Guewen Baconnier
41c0581390 run pre-commit -a with new prettiers 2021-08-17 16:14:19 +07:00
Guewen Baconnier
d1100c489d Fix javascript warnings 2021-08-17 11:54:33 +07:00
Guewen Baconnier
ab90eedbe2 Migrate stock_location_tray to 13.0 2021-08-17 11:54:33 +07:00
Guewen Baconnier
7e02249467 Add tray matrix on stock move lines 2021-08-17 11:54:33 +07:00
Guewen Baconnier
5b172758c8 Add methods to get the center position of a cell 2021-08-17 11:54:32 +07:00
Guewen Baconnier
251ab68ea8 Add width/depth/height and per-cell size 2021-08-17 11:54:32 +07:00
Guewen Baconnier
4ad48463c2 Add stock_location_tray
Extracted from stock_vertical_lift
(https://github.com/OCA/stock-logistics-warehouse/pull/633)

Add tray types to stock locations, automatically generates
sub-locations. Present them nicely with a custom widget.
2021-08-17 11:54:32 +07:00