sale order related packings and invoices would be better placed as a right side link rather than a form tab

Registered by Raphaël Valyi - http://www.akretion.com

This has already been discussed by Red15 and Fabien, and a part of this (for packings only) has been proposed by Red15 in his branch https://code.launchpad.net/~niels-bubbles-it/openobject-addons/generic-fixes on April 1st.
basically, we all agree that instead of the mysetrious "history" in the sale order form, it will be a more expectable ergonomy and would be more consistent and make less clicks to just have the related packings and invoice in the right side were there is an empty space. This is more consistent with the puchase form view for which a similar to packing exists already. And I think the user just gets use to the links on the right so it's better to use them when possible instead of ad-hoc GUI.

I was able to totally remove that table and provide the exact equivalent features as links on the right side. For this I had to declare the sale_ids field in account.invoice (but in the sale module only) using the already existing many2many "sale_order_invoice_rel" relational table.

Moreover, I took care of grepping all addons code to see if removing the tab was breaking anything. I grepped for any view trying to place some XML view anchored to the invoice_ids or picking_ids fields but luckily there were non yet!
Same thing in extra addons: no third party module impacted. So IMHO it's just time to commit that before people start building on sand.

Finally the added sale_ids to account.invoice would undoubtly be useful to a lot of modules. It does not break the O(1) display time in the GTK client either.

Raphaël Valyi

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Raphaël Valyi - http://www.akretion.com
Definition:
Pending Approval
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Raphaël Valyi - http://www.akretion.com
Completed by
Raphaël Valyi - http://www.akretion.com

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.