Tryton - Issues

 

Issue7823

Title Remove form mode on invoices, shipments on sale and purchase view
Priority feature Status resolved
Superseder Fail to open row on view without form
View: 7824
Nosy List MR, ced, reviewbot, roundup-bot
Type feature request Components purchase, sale
Assigned To ced Keywords review
Reviews 53461002
View: 53461002

Created on 2018-10-27.12:29:26 by MR, last changed by roundup-bot.

Messages
New changeset de7850c41a97 by Cédric Krier in branch 'default':
Set only tree mode on document inside One2Many
https://hg.tryton.org/tryton-env/rev/de7850c41a97
New changeset fa60fcbb921e by Cédric Krier in branch 'default':
Set only tree mode on document inside One2Many
https://hg.tryton.org/modules/sale_supply_drop_shipment/rev/fa60fcbb921e
New changeset 39472bd8e3cc by Cédric Krier in branch 'default':
Set only tree mode on document inside One2Many
https://hg.tryton.org/modules/sale/rev/39472bd8e3cc
New changeset 70a6b2db3ef2 by Cédric Krier in branch 'default':
Set only tree mode on document inside One2Many
https://hg.tryton.org/modules/purchase/rev/70a6b2db3ef2
review53461002 updated at https://codereview.tryton.org/53461002/#ps1
msg44637 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-10-27.15:21:23
Here is review53461002 but it requires issue7824 to work properly.
msg44633 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-10-27.14:27:09
This is the expected behavior. It is not allowed to click on button from a children record (e.g. inside a One2Many) if it has been modified.
Indeed you should not work on invoices nor shipment from the One2Many but from the relate. I think we should remove the form mode of those One2Many to avoid such astonishing. So I change the issue into a feature request.
msg44631 (view) Author: [hidden] (MR) Date: 2018-10-27.13:56:59
Tryton 5.0. Open http://demo5.0.tryton.org. Create new purchase, select first party from list, select today date, select first product from list, quantity 1.
Quote, confirm. Go to invoices tab. Open ivoice, select today date. Validate and post buttons are inactive.
The same for Sale. If I don't select the invoice date, I can post or validate, when I select the date, the buttons became inactive
msg44629 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-10-27.13:29:23
Can not reproduce. Please provide a complete scenario to reproduce your problem.
Also the list of activated module.
msg44628 (view) Author: [hidden] (MR) Date: 2018-10-27.12:29:25
The Invoice can't be posted or valuated from Sales and Purchase if the invoice date was selected manually. The sales invoices for today (without input the date) poste and valuate
History
Date User Action Args
2018-11-18 12:11:59roundup-botsetmessages: + msg44913
2018-11-18 12:11:56roundup-botsetmessages: + msg44912
2018-11-18 12:11:43roundup-botsetmessages: + msg44911
2018-11-18 12:11:36roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg44910
2018-10-27 15:28:47reviewbotsetnosy: + reviewbot
messages: + msg44639
2018-10-27 15:21:24cedsetstatus: chatting -> testing
keyword: + review
messages: + msg44637
reviews: 53461002
assignedto: ced
superseder: + Fail to open row on view without form
2018-10-27 14:27:09cedsetstatus: need-eg -> chatting
priority: bug -> feature
type: behavior -> feature request
messages: + msg44633
title: Invoices can't be posted from Sales and Purchase -> Remove form mode on invoices, shipments on sale and purchase view
2018-10-27 13:56:59MRsetmessages: + msg44631
2018-10-27 13:29:23cedsetstatus: unread -> need-eg
nosy: + ced
messages: + msg44629
2018-10-27 12:29:26MRcreate

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