Commit Graph

842 Commits

Author SHA1 Message Date
oca-travis
cf9d1ee86c [UPD] Update stock_cycle_count.pot 2020-06-02 13:03:33 +02:00
Lois Rilo
d3b002212a [12.0][FIX/MIG] stock_cycle_count: fix zero confirmation rules.
Now zero-qty quants are not removed straight away but by a cron job.
Therefore, we have to also check that the quants are not zero-qty ones.
2020-06-02 13:03:33 +02:00
Bhavesh Odedra
8685d29a22 [12.0][MIG] stock_cycle_count: Migration to 12.0 2020-06-02 13:03:33 +02:00
Pedro M. Baeza
af4147049e [FIX] stock_cycle_count: Don't lose return value
For avoiding an error validating pickings.
2020-06-02 13:03:33 +02:00
OCA Transbot
16a0bed6d7 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2020-06-02 13:03:33 +02:00
oca-travis
3b57fe0511 [UPD] Update stock_cycle_count.pot 2020-06-02 13:03:33 +02:00
OCA-git-bot
97c37b3c80 [UPD] README.rst 2020-06-02 13:03:33 +02:00
Jordi Ballester Alomar
0b83fa9440 stock_cycle_count: fix issue with nan while doing the mean calculation 2020-06-02 13:03:33 +02:00
Lois Rilo
539ae5be22 [11.0][MIG] stock_cycle_count 2020-06-02 13:03:33 +02:00
oca-travis
4bd6e39587 [UPD] Update stock_cycle_count.pot 2020-06-02 13:03:33 +02:00
Lois Rilo
99288ab78a [10.0][UPD] stock_cycle_count: add roadmap. 2020-06-02 13:03:33 +02:00
Lois Rilo
e821d9c55d [10.0][IMP] stock_cycle_count:
* simplify fetching latest inventory date
* use api.depends where needed
* add hook for cycle count creation
* take advantage of api.multi on check_zero_confirmation method
2020-06-02 13:03:33 +02:00
Lois Rilo
f0d840f729 [10.0] stock_cycle_count: adapt to follow OCA convention. 2020-06-02 13:03:33 +02:00
lreficent
10beda575e [10.0][IMP] fix api issues and clean up code 2020-06-02 13:03:33 +02:00
lreficent
b4e25ccf73 cycle_count: fix cycle count state issue 2020-06-02 13:03:33 +02:00
lreficent
dcafa2567f [10.0][MIG] stock_cycle_count 2020-06-02 13:03:33 +02:00
OCA Transbot
9c78754cd9 OCA Transbot updated translations from Transifex 2020-06-02 13:03:33 +02:00
lreficent
8ff385bed4 [9.0][IMP] stock_cycle_count: cycle counts report 2020-06-02 13:03:33 +02:00
lreficent
5dd19a8277 [9.0][IMP] stock_cycle_count: enhance views 2020-06-02 13:03:33 +02:00
lreficent
54508caee5 [9.0][IMP] stock_cycle_count: basic_accuracy report 2020-06-02 13:03:33 +02:00
lreficent
66413e21dd [9.0][IMP] stock_cycle_count: fix accuracy computation and store it 2020-06-02 13:03:33 +02:00
OCA Transbot
db670a7ccd OCA Transbot updated translations from Transifex 2020-06-02 13:03:33 +02:00
mreficent
e105ef7e9c [FIX] stock_cycle_count (usage cannot be 'view') 2020-06-02 13:03:33 +02:00
OCA Transbot
04d9eee0ca OCA Transbot updated translations from Transifex 2020-06-02 13:03:33 +02:00
lreficent
5ac6c086d2 [9.0][IMP] stock_cycle_count: add server action to confirm several CC at a time 2020-06-02 13:03:33 +02:00
lreficent
d609c947a0 [9.0][IMP] stock_cycle_count: update existing cycle counts instead of cancel them. 2020-06-02 13:03:33 +02:00
lreficent
f958b14a1f [9.0][IMP] stock_cycle_count: The configuration of an inventory adjustment related to a cycle count cannot be modified. 2020-06-02 13:03:33 +02:00
lreficent
61407007af [9.0][IMP] stock_cycle_count: Enhance tree view with filter and colors. 2020-06-02 13:03:33 +02:00
lreficent
7c56f5cbd4 [9.0][FIX] stock_cycle_count: fields only editable in draft and add tracking to some of them. 2020-06-02 13:03:33 +02:00
lreficent
e3b6358cda [9.0][FIX] stock_cycle_count: Fix a bug when combining automatic and manual creation of cycle counts. 2020-06-02 13:03:33 +02:00
lreficent
6e7f9c38a6 [9.0][FIX] stock_cycle_count: Do not propose cycle counts in the past. 2020-06-02 13:03:33 +02:00
lreficent
8b482ccfa8 [9.0][IMP] stock_cycle_count: add the possibility to define rules for specific zones. 2020-06-02 13:03:33 +02:00
OCA Transbot
9a4c31c663 OCA Transbot updated translations from Transifex 2020-06-02 13:03:33 +02:00
lreficent
a65cbb07f2 [9.0][FIX] Solves issue when doing picking with several moves. 2020-06-02 13:03:33 +02:00
lreficent
61aaf58a8c [IMP] tests. 2020-06-02 13:03:33 +02:00
lreficent
f04dd9d965 [IMP] stock_cycle_count:
* Update README.
 * Fixes: DEFAULT_SERVER_DATETIME_FORMAT, PERCENT variables and sale price calculation.
2020-06-02 13:03:33 +02:00
mreficent
a6d6000501 [ADD] Adding tests 2020-06-02 13:03:33 +02:00
lreficent
e9b48629ee [ADD] stock_cycle_count 2020-06-02 13:03:33 +02:00
OCA-git-bot
0e9ee31d26 [ADD] setup.py 2020-05-29 13:52:42 +00:00
OCA-git-bot
ee87c819ff [ADD] icon.png 2020-05-29 13:52:41 +00:00
OCA-git-bot
307ab1328b [UPD] README.rst 2020-05-29 13:52:41 +00:00
oca-travis
f89c880b32 [UPD] Update stock_reserve_rule.pot 2020-05-29 13:28:01 +00:00
OCA-git-bot
0b05d6c968 Merge PR #790 into 13.0
Signed-off-by jgrandguillaume
2020-05-29 13:15:48 +00:00
OCA-git-bot
634a392d6f [ADD] setup.py 2020-05-28 21:08:35 +00:00
OCA-git-bot
319ec16ec7 [ADD] icon.png 2020-05-28 21:08:35 +00:00
OCA-git-bot
489a5d4a67 [UPD] README.rst 2020-05-28 21:08:35 +00:00
oca-travis
8705d298b8 [UPD] Update stock_location_bin_name.pot 2020-05-28 20:14:14 +00:00
OCA-git-bot
2d2efb0235 Merge PR #806 into 13.0
Signed-off-by jgrandguillaume
2020-05-28 19:35:07 +00:00
Guewen Baconnier
bf3e5867dc Remove implicit fallback when rules are used
When rules are configured and have been applied, we should not
have an implicit fallback on the base location, as it would kind
of cancel the benefits of the rules (as it would then take whatever
it wants anywhere in all the locations).
2020-05-28 07:59:43 +02:00
Guewen Baconnier
ffef9da690 Revert "Optimize SQL queries when searching a rule"
This reverts commit 768f186fd2.

Which is not more optimized, the optimization based on parent_path
doesn't make sense here as the ORM will read parent_path in the location
and get the parent ids by splitting the ids, it doesn't need more than
one query on stock_location which is done based on its id and can reuse
the cache, there is no lookup on parent path for parent_of.

>>> env["stock.reserve.rule"].search([("location_id", "parent_of", 3125)])
2020-05-27 05:36:59,938 1 DEBUG log_p odoo.sql_db: query: SELECT "stock_location"."id" as "id","stock_location"."name" as "name","stock_location"."complete_name" as "complete_name","stock_location"."active" as "active","stock_location"."usage" as "usage","stock_location"."location_id" as "location_id","stock_location"."comment" as "comment","stock_location"."parent_path" as "parent_path", <stripped>,"stock_location"."create_uid" as "create_uid","stock_location"."create_date" as "create_date","stock_location"."write_uid" as "write_uid","stock_location"."write_date" as "write_date" FROM "stock_location" WHERE "stock_location".id IN (3125)
2020-05-27 05:36:59,942 1 DEBUG log_p odoo.sql_db: query: SELECT "stock_reserve_rule".id FROM "stock_reserve_rule" WHERE (("stock_reserve_rule"."active" = true)  AND  ("stock_reserve_rule"."location_id" in (1,7,8,133,134,135,144,207,3125))) ORDER BY "stock_reserve_rule"."sequence" ,"stock_reserve_rule"."id"
2020-05-27 07:42:37 +02:00