Issue 10693

Title
check_for_quotation must be override in product_kit including kit type
Priority
bug
Status
resolved
Nosy list
Davidoff, acaubet, ced, reviewbot, roundup-bot
Assigned to
Davidoff
Keywords
review

Created on 2021-08-27.14:11:35 by acaubet, last changed 2 weeks ago by roundup-bot.

Messages

New changeset 02fdc94ae63e by David Blanco Bautista in branch 'default':
Require warehouse on quotation for kit product
https://hg.tryton.org/tryton-env/rev/02fdc94ae63e
New changeset 3b0d137feb4d by David Blanco Bautista in branch 'default':
Require warehouse on quotation for kit product
https://hg.tryton.org/modules/sale/rev/3b0d137feb4d
New changeset d7096697e4f6 by David Blanco Bautista in branch 'default':
Require warehouse on quotation for kit product
https://hg.tryton.org/modules/purchase/rev/d7096697e4f6
New changeset 6b8741999d05 by David Blanco Bautista in branch 'default':
Require warehouse on quotation for kit product
https://hg.tryton.org/modules/product_kit/rev/6b8741999d05
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-08-27.14:16:31

I think just like we have Move.get_product_types() we need a method that returns the type of products that will create stock moves.

Author: [hidden] (acaubet)
Date: 2021-08-27.14:12:45

Or change the check_for_quotation to
type != 'service'

Author: [hidden] (acaubet)
Date: 2021-08-27.14:11:34

The module product_kit must override purchase method check_for_quotation() to include type kit.

History
Date User Action Args
2021-10-02 15:36:55roundup-botsetmessages: + msg70559
2021-10-02 15:36:52roundup-botsetmessages: + msg70558
2021-10-02 15:36:49roundup-botsetmessages: + msg70557
2021-10-02 15:36:46roundup-botsetmessages: + msg70556
nosy: + roundup-bot
status: testing -> resolved
2021-09-10 14:06:01acaubetsetcomponent: + sale
2021-09-09 13:25:20reviewbotsetmessages: + msg69954
2021-09-09 12:21:30reviewbotsetmessages: + msg69953
2021-09-08 12:19:39reviewbotsetmessages: + msg69937
nosy: + reviewbot
2021-09-08 11:58:13Davidoffsetassignedto: Davidoff
keyword: + review
nosy: + Davidoff
reviews: 346971002
status: chatting -> testing
2021-08-27 14:16:39cedsetcomponent: + purchase
2021-08-27 14:16:31cedsetmessages: + msg69643
nosy: + ced
2021-08-27 14:12:45acaubetsetmessages: + msg69642
2021-08-27 14:11:35acaubetcreate