[RC1] SO -History - can delete related invoice

Bug #663967 reported by Ferdinand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 3

Bug Description

IMHO it should not be possible to delete the relation to invoices and add invoices here - at least not for "normal" sales person

the history tab is visible for "extended group"

I wonder why a "normal" sales person must not view delivery and invoice history

I vote
* for showing history without condition
* create a role to add/remove invoices to/from sales

Related branches

Revision history for this message
Ferdinand (office-chricar) wrote :

opening an invoice from sale-order the "sale-user" group can cancel and set to draft invoices,
this might be OK for "Invoice from SO" but not for invoice from picking

Revision history for this message
Borja López Soilán (NeoPolus) (borjals) wrote :

"create a role to add/remove invoices to/from sales"

I would suggest to require the user to be in the "Sale Manager" group (or the "Sale Manager"+"Invoice Manager" groups).

Revision history for this message
Ferdinand (office-chricar) wrote :

sorry - typical Sales "Managers" might not be able to accomplish the job

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Revision history for this message
Priyesh (OpenERP) (pso-openerp) wrote :

Hello Ferdinand,

I have following queries regarding this problem:

1. for showing history without condition ==> User can normally see history tab. (just need to remove that extended group) That's ok.

2. create a role to add/remove invoices to/from sales ==> it means sale user can change it only when shipping policy is 'Shipping & manual invoice' not for 'Invoice from delivery'

Can you please clear me ?

Thanks.

Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Ferdinand (office-chricar) wrote :

waht I am trying to say that normaly invoices related to SO (or picking) must not be deleted manualy as these are generated automatically

i am a bit afraid of such possibilities - user will ask partner why or why not invoices are show and ther is no way to prove what happened.

for this I sugegsted to create a role with the rigths to add/remove related invoices

Revision history for this message
qdp (OpenERP) (qdp) wrote :

the invoice m2m field on the S0 should be put as readonly.

Thanks

Changed in openobject-addons:
milestone: none → 6.0-rc2
status: In Progress → Confirmed
Revision history for this message
Priyesh (OpenERP) (pso-openerp) wrote :

Hello,

Its fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/pso-dev-addons3

It will be merged soon in Addons 3.

Thanks for notify us.

Changed in openobject-addons:
status: Confirmed → In Progress
Changed in openobject-addons:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.