Commit Graph

1100 Commits

Author SHA1 Message Date
oca-travis
e66ac70492 [UPD] Update stock_request.pot 2020-05-18 07:48:45 +00:00
OCA-git-bot
926875514f Merge PR #903 into 13.0
Signed-off-by rousseldenis
2020-05-18 07:36:59 +00:00
Guewen Baconnier
768f186fd2 Optimize SQL queries when searching a rule
Searching all rules then filtering in python the parent path is
more efficient than finding all the parent locations and finding
the matching rules.
2020-05-15 12:16:32 +02:00
Guewen Baconnier
89e4ea230f Fix application of removal rules too broad
Example of configuration:

Rule location: Stock
Removal rule 1: Stock/Zone1
Removal rule 2: Stock/Zone2

Reservation of a stock move with Stock/Zone2 as source location.

Previously, it would reserve in Stock/Zone1.
Now, it will never be allowed to reserve in Stock/Zone1.

A warning message was added previously to warn the user about potential
issues, which is now obsolete so I removed it.
2020-05-15 08:03:12 +02:00
Guewen Baconnier
c99c97ffa4 Fix bug in fallback when no quantity could be reserved
Before the change, the implementation of the fallback goes like this:

If I reserve a move of 3000 and it finds 600 units, it splits the move
to create a new move of 2400 and pretend to the caller that 3000 was
reserved so the initial move is changed to 'assigned'.

Now, if we have a move of 2400 and finds zero, it still splits the move,
and pretend to the caller that 2400 was reserved → the initial move has
no move line but is assigned. In this case, we should not split the move
but only update the source location of the move.
2020-05-14 16:08:21 +02:00
OCA-git-bot
09765f9b99 [UPD] pin flake8 version [ci skip] 2020-05-13 14:11:12 +02:00
Jaime Arroyo
7817616d60 [IMP] stock_request: Views 2020-05-12 17:25:25 +02:00
OCA-git-bot
fc44012e2e stock_inventory_lockdown 13.0.1.0.1 2020-05-12 15:24:19 +00:00
OCA-git-bot
8aa79b46f1 Merge PR #902 into 13.0
Signed-off-by LoisRForgeFlow
2020-05-12 14:26:32 +00:00
HviorForgeFlow
0f800112f3 [13.0][FIX] Broken pre-commit: E741 ambiguous variable name 'l' 2020-05-12 16:19:47 +02:00
Guewen Baconnier
72ca2c486e Fix warning in stock_move_common_dest
In this module: https://github.com/OCA/stock-logistics-warehouse/pull/808
A computed field uses "common_dest_move_ids" as dependency:

    @api.depends(
        "picking_type_id.display_completion_info",
        "move_lines.common_dest_move_ids.state",
    )
    def _compute_completion_info(self):

Which has the following effect when the ORM triggers changes:

odoo.osv.expression: Non-stored field stock.move.common_dest_move_ids cannot be searched.

Implement a search method to prevent this.
2020-05-06 12:22:36 +02:00
OCA Transbot
19933979b2 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-13.0/stock-logistics-warehouse-13.0-stock_inventory_include_exhausted
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_inventory_include_exhausted/
2020-04-30 12:39:08 +00:00
OCA-git-bot
ad7bc76331 stock_demand_estimate 13.0.1.1.0 2020-04-30 12:38:47 +00:00
OCA-git-bot
49d1471b0e Merge PR #890 into 13.0
Signed-off-by LoisRForgeFlow
2020-04-30 11:37:59 +00:00
Jordi Ballester Alomar
8a37da26bf [13.0] stock_demand_estimate: fix multicompany security 2020-04-30 13:37:09 +02:00
sebalix
4e4d2d7130 [IMP] stock_reserve_rule: add constraints on fallback locations 2020-04-30 10:18:45 +02:00
Akim Juillerat
ac9a2414dd Fix tests after change in dependencies 2020-04-27 11:24:54 +02:00
OCA-git-bot
d206a9ad55 stock_inventory_include_exhausted 13.0.1.0.1 2020-04-24 12:15:46 +00:00
OCA-git-bot
50d58cc402 [ADD] setup.py 2020-04-24 12:15:46 +00:00
OCA-git-bot
f1107d3e12 [UPD] README.rst 2020-04-24 12:15:45 +00:00
oca-travis
3567ce02a7 [UPD] Update stock_inventory_include_exhausted.pot 2020-04-24 11:51:39 +00:00
OCA-git-bot
2c1a8aadef Merge PR #849 into 13.0
Signed-off-by rousseldenis
2020-04-24 11:39:44 +00:00
Carlos Roca
deb934c62f [ADD] stock_inventory_include_exhausted: New module to create inventory lines including exhausted products 2020-04-24 12:54:33 +02:00
Akim Juillerat
de4dcfd141 Rely on stock_move_common_dest as dependency 2020-04-24 11:08:46 +02:00
Guewen Baconnier
a7dcbec325 run pre-commit with new prettiers 2020-04-24 11:08:46 +02:00
Guewen Baconnier
0289d74b88 [MIG] stock_picking_completion_info: Migration to 13.0 2020-04-24 11:08:46 +02:00
Guewen Baconnier
071d70ef31 [IMP] stock_picking_completion_info: black, isort 2020-04-24 11:08:46 +02:00
Akim Juillerat
6c2d9f348b Distinct full order picking 2020-04-24 11:08:46 +02:00
Akim Juillerat
03cc9da743 12.0 create module stock picking completion info 2020-04-24 11:08:46 +02:00
OCA-git-bot
65c787dc24 [ADD] setup.py 2020-04-07 15:00:28 +00:00
OCA-git-bot
423a4e38fc [ADD] icon.png 2020-04-07 15:00:28 +00:00
oca-travis
205cf421b5 [UPD] Update stock_move_common_dest.pot 2020-04-07 14:11:14 +00:00
OCA-git-bot
cb028cf027 Merge PR #861 into 13.0
Signed-off-by rousseldenis
2020-04-07 13:49:31 +00:00
Akim Juillerat
09ce022708 Add module stock_move_common_dest 2020-04-07 13:22:04 +02:00
Dong
b5dda6b2a2 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (19 of 19 strings)

Translation: stock-logistics-warehouse-13.0/stock-logistics-warehouse-13.0-stock_request_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_request_tier_validation/zh_CN/
2020-04-02 14:19:04 +00:00
OCA-git-bot
1cfe9f1467 [UPD] README.rst 2020-04-01 20:55:00 +00:00
oca-travis
8480a504ec [UPD] Update scrap_reason_code.pot 2020-04-01 20:30:12 +00:00
OCA-git-bot
1e6c3c13f9 Merge PR #875 into 13.0
Signed-off-by dreispt
2020-04-01 20:17:31 +00:00
Tony Gu
d36353dbad [IMP] stock_quant_manual_assign: black, isort, prettier 2020-04-01 20:38:10 +08:00
Bhavesh Odedra
e0e9107e85 [ADD] migration script, change model name from reason.code to scrap.reason.code 2020-04-01 13:54:46 +05:30
Lois Rilo
7a87628ea2 [12.0][MIG] stock_quant_manual_assign 2020-04-01 09:57:04 +08:00
oca-travis
159dbe2336 [UPD] Update stock_quant_manual_assign.pot 2020-04-01 09:57:04 +08:00
Pedro M. Baeza
04b14f1521 [IMP] stock_quant_manual_assign: Add owner to criteria + reorder fields + add security groups + hook 2020-04-01 09:57:04 +08:00
Pedro M. Baeza
1ac90f7266 [FIX] stock_quant_manual_assign: Related fields are not filled if not default them 2020-04-01 09:57:04 +08:00
Pedro M. Baeza
2111e5368f [IMP] stock_quant_manual_assign:
* Better layout
* Remove active_id dependency in some computed fields
* Clean code
* Refine constraint
* Take into account if the current line is previously reserved before clicking on the button.
2020-04-01 09:57:04 +08:00
cubells
e48574cf3b [MIG] stock_quant_manual_assign: Migration to 11.0 2020-04-01 09:57:04 +08:00
Fanha Giang
cee884a1dd 11.0-mig-stock_quant_manual_assign 2020-04-01 09:57:04 +08:00
Fanha Giang
b352454add [10.0][MIG] stock_quant_manual_assign: Migration to 10.0 2020-04-01 09:57:04 +08:00
Pedro M. Baeza
344d61b8a1 [CHG] stock_quant_manual_assign: Update copyright and author 2020-04-01 09:57:04 +08:00
agaldona
54649836ff [FIX] stock_quant_manual_assign: computed field is not the same 2020-04-01 09:57:04 +08:00