Commit Graph

1854 Commits

Author SHA1 Message Date
oca-travis
7069f06496 [UPD] Update stock_request_purchase.pot 2021-08-17 12:59:06 -05:00
Enric Tobella
423dc3f5ad [IMP] simplify queries 2021-08-17 12:59:06 -05:00
Jordi Ballester Alomar
3dd7312169 various fixes 2021-08-17 12:59:06 -05:00
mreficent
f7fa6050d3 [FIX] Various fixes:
- Error with the sequence number.
- Visible texts that should be in uppercases.
- order_id should only be visible if group_stock_request_order
  option is enabled.
- adds more tests
- adds consistency between models company-wise
2021-08-17 12:59:06 -05:00
Enric Tobella
c5b320146d [IMP] stock_request_purchase: Add Stock request orders. Change logo 2021-08-17 12:59:06 -05:00
mreficent
e8cd399c02 [IMP] stock_request_purchase: Remove hook 2021-08-17 12:59:06 -05:00
OCA Transbot
f2a2531ce6 OCA Transbot updated translations from Transifex 2021-08-17 12:59:06 -05:00
Jordi Ballester
92fd123b59 add stock_request in 11.0 2021-08-17 12:59:06 -05:00
OCA Transbot
5fad77ce43 OCA Transbot updated translations from Transifex 2021-08-17 12:59:06 -05: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
OCA-git-bot
d7250dacd1 [UPD] addons table in README.md 2021-08-14 05:04:00 +00:00
OCA-git-bot
6c0a9b8714 [ADD] setup.py 2021-08-12 16:14:42 +00:00
OCA-git-bot
95bc7e54ac [UPD] README.rst 2021-08-12 16:14:41 +00:00
OCA-git-bot
ebc3d61d4d [UPD] addons table in README.md 2021-08-12 16:14:38 +00:00
oca-travis
96290e50d3 [UPD] Update stock_putaway_method.pot 2021-08-12 15:29:51 +00:00
OCA-git-bot
6f94c0062b Merge PR #1193 into 14.0
Signed-off-by max3903
2021-08-12 15:10:12 +00:00
Marçal Isern
e758ae9420 [MIG] stock_archive_constraint: Migration to 14.0 2021-08-12 15:45:59 +02:00
Marçal Isern
88ae9bc1d7 [IMP] stock_archive_constraint: black, isort, prettier 2021-08-12 15:20:51 +02:00
OCA-git-bot
2d2016c1b0 [UPD] README.rst 2021-08-12 15:16:49 +02:00
oca-travis
90e97cf4e0 [UPD] Update stock_archive_constraint.pot 2021-08-12 15:16:49 +02:00
Víctor Martínez
e2e5d7ed1d [MIG] stock_archive_constraint: Migration to 13.0 2021-08-12 15:16:49 +02:00
Víctor Martínez
55b491e3af [IMP] stock_archive_constraint: black, isort, prettier 2021-08-12 15:16:49 +02:00
OCA-git-bot
ef8357a62c [UPD] README.rst 2021-08-12 15:16:49 +02:00
oca-travis
c3e68e42c8 [UPD] Update stock_archive_constraint.pot 2021-08-12 15:16:49 +02:00
Víctor Martínez
f159e23a5b [ADD] stock_archive_constraint: Allows to block archiving products and locations with associated stock.quant or stock.move 2021-08-12 15:16:49 +02:00
OCA-git-bot
d86fe3b1be [ADD] setup.py 2021-08-12 06:25:29 +00:00
OCA-git-bot
853dca832e [UPD] README.rst 2021-08-12 06:25:29 +00:00
OCA-git-bot
7517b6bf7d [UPD] addons table in README.md 2021-08-12 06:25:26 +00:00
oca-travis
d1b2317f22 [UPD] Update stock_reserve_rule.pot 2021-08-12 06:10:40 +00:00
OCA-git-bot
af55c55c2c Merge PR #1212 into 14.0
Signed-off-by simahawk
2021-08-12 06:05:51 +00:00
Sébastien Alix
02ea087509 [MIG] stock_reserve_rule: Migration to 14.0 2021-08-11 16:13:01 +02:00
Sébastien Alix
46c12c8080 [IMP] stock_reserve_rule: black, isort, prettier 2021-08-11 11:56:51 +02:00
Juan Carreras
2ffe854dd5 [FIX]stock_reserve_rule: fix rule because multicompany scheme change 2021-08-11 11:55:48 +02:00
OCA-git-bot
2a1e2bc070 stock_reserve_rule 13.0.1.3.0 2021-08-11 11:55:48 +02:00
oca-travis
744164f9a9 [UPD] Update stock_reserve_rule.pot 2021-08-11 11:55:48 +02:00
Guewen Baconnier
630ebc609f stock_reserve_rule: add dependency on stock_helper
To remove the duplicate implementation of
StockLocation.is_sublocation_of()
2021-08-11 11:55:48 +02:00
OCA-git-bot
cc5d86da6d stock_reserve_rule 13.0.1.2.1 2021-08-11 11:55:48 +02:00
Guewen Baconnier
08d4273737 Modify packaging rule to always respect fifo, lifo, ...
The former implementation was to take as much as possible of the largest
packaging, to the smallest packacking, to have less to move.
Then, only, removal order (fifo, ...) was applied for equal quantities.
It is more important to respect removal order than limiting the
operations, so remove this "optimization".
2021-08-11 11:55:48 +02:00