Tryton - Issues

 

Issue7910

Title Remove One2many to document
Priority feature Status chatting
Superseder Nosy List ced, risto3
Type feature request Components purchase, sale
Assigned To Keywords easy
Reviews

Created on 2018-12-09.09:19:34 by risto3, last changed by risto3.

Messages
msg45219 (view) Author: [hidden] (risto3) Date: 2018-12-09.18:08:16
One of the biggest problems dropping these tabs is dropping the context as it appears that one can filter neither invoices nor shipments by the purchase order.

That is, one should be able to retrieve the same set of records (in both invoices and supplier shipments) either from selecting the relate from the purchase order or a filter from the invoice or supplier shipment, which I cannot seem to find.

In OpenERP, there is a document origin containing the PO (or list of PO receptions) ensuring that this works. 

Also, in the case of shipments, there still needs to be a means to easily determine the reliquats (items not yet received), means of which also disappears if the shipment tab goes away! 

Is there a way to fix these imminent shortcomings?
msg45218 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-12-09.14:34:42
Yes I propose to remove them because clearly issue7823 did not go far enough as you do not understand that you must edit those records from there.
So for now, there are two ways the One2Many with limited features and the relate with full feature. And obviously, there is one too much.
msg45217 (view) Author: [hidden] (risto3) Date: 2018-12-09.14:19:10
Are you saying you will *remove* the invoices and receptions from the purchases form? 

Please don't, usual as well as current workflow has always been order-centric (vanilla OpenERP)
msg45216 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-12-09.14:08:31
OK, this just show that users do not understand that it should use the relate and not the list on the form view (which was there only for reporting and quick view).
So the best is to remove them completely.
msg45215 (view) Author: [hidden] (risto3) Date: 2018-12-09.11:05:40
? There must be a means to navigate directly to the invoice from this list.
I just checked, there is same problem for expeditions.

This is rather serious,  we cannot find ourselves in a perpetual situation of anti-informatisation.

Is there no way to add an 'open' command to the line selected, such as works copy, report, email & print?
msg45214 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-12-09.10:57:39
Relate can not be contextualized and we do not want to change that.
And I'm talking about the relate of the purchase and the relate of the invoice.
msg45213 (view) Author: [hidden] (risto3) Date: 2018-12-09.10:54:32
BTW, I use the standard client, not sao.
msg45211 (view) Author: [hidden] (risto3) Date: 2018-12-09.10:47:21
Perhaps, but only purchase and sale show up for me under relate in the purchase->invoices tab when right-clicking on the invoice line.

BTW, sale shouldn't be possible (because it is a purchase), and purchase is questionable because we are already on the purchase record ... maybe it should simple push back to the purchase tab from the invoices tab instead of opening a new window with 'Purchases ((4596))'...

In any event, there seems to be no way to navigate directly to the invoice.
msg45210 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-12-09.10:30:25
There is one: http://hg.tryton.org/modules/purchase/file/default/purchase.xml#l98
msg45209 (view) Author: [hidden] (risto3) Date: 2018-12-09.10:28:50
As I said, I have only purchases and sales in available in relate(), no invoices.
msg45206 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-12-09.10:19:59
This is exactly the intention of issue7823 prevent any edition from the view.
There is a relate action to open invoices.
msg45205 (view) Author: [hidden] (risto3) Date: 2018-12-09.09:19:33
We see similar as described in issue7823 whereas any changes made in the invoice form invoked from the purchases/invoice form is simply discarded.  After trying the patch (grafting onto 5.0 from default), the situation is now much worse. The invoice is seen, but there seems to be no way to open the invoice via any relate or action. Funny though, there is still an action to credit the invoice even though it is in draft mode and a report to print the invoice in the current state.

There needs to be a relate mechanism to enter directly into the invoice from this form.
History
Date User Action Args
2018-12-09 18:08:16risto3setmessages: + msg45219
2018-12-09 14:44:33cedsetkeyword: + easy
2018-12-09 14:34:42cedsetmessages: + msg45218
2018-12-09 14:19:11risto3setmessages: + msg45217
2018-12-09 14:10:34cedsetstatus: in-progress -> chatting
assignedto: ced ->
2018-12-09 14:08:31cedsetstatus: chatting -> in-progress
title: invoices busted on purchases->invoice view -> Remove One2many to document
messages: + msg45216
component: + sale
priority: bug -> feature
assignedto: ced
type: feature request
2018-12-09 11:05:41risto3setstatus: invalid -> chatting
messages: + msg45215
2018-12-09 10:57:40cedsetstatus: chatting -> invalid
messages: + msg45214
2018-12-09 10:54:32risto3setmessages: + msg45213
2018-12-09 10:47:22risto3setstatus: invalid -> chatting
messages: + msg45211

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