Tryton - Issues



Title BOM input/output should set the cursor on product
Priority bug Status resolved
Superseder Nosy List ced, nblock, pokoli, reviewbot, roundup-bot
Type behavior Components production
Assigned To ced Keywords review
Reviews 37321002
View: 37321002

Created on 2017-04-06.09:31:41 by nblock, last changed by roundup-bot.

New changeset eb4b60a4609b by C?dric Krier in branch 'default':
Allow None as quantity in the input/output domain
review37321002 updated at
msg33293 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2017-04-19.23:20:30
This is a tricky case because it is the domain on quantity that makes the record invalid with the default values and so the focus is put on the invalid field.
review37321002 fixes that by allowing None as quantity even if the field is required.
msg33123 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2017-04-06.09:56:38
I can also reproduce it on trunk. This is working correctly on purchase.line (the cursor is set on product as expected)
msg33121 (view) Author: [hidden] (nblock) Date: 2017-04-06.09:34:00
Tryton: 4.2.4
Trytond: 4.2.2
trytond-production: 4.2.0
msg33120 (view) Author: [hidden] (nblock) Date: 2017-04-06.09:31:41
When adding a new record to BOM input/output, the cursor is set on quantity instead of product. It should be on product as it is the first field.

Adding cursor="product" to the respective view in view/bom_{input,output}_form.xml does not seem to have an effect.
Date User Action Args
2017-04-21 10:20:57roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg33321
2017-04-19 23:31:22reviewbotsetnosy: + reviewbot
messages: + msg33294
2017-04-19 23:20:30cedsetstatus: chatting -> testing
keyword: + review
nosy: + ced
messages: + msg33293
reviews: 37321002
assignedto: ced
2017-04-06 09:56:38pokolisetnosy: + pokoli
messages: + msg33123
2017-04-06 09:34:00nblocksetstatus: unread -> chatting
messages: + msg33121
2017-04-06 09:31:41nblockcreate

Showing 10 items. Show all history (warning: this could be VERY long)