summaryrefslogtreecommitdiff
path: root/setup/setup_dev.py
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2017-10-09 15:52:32 +0200
committerSimon Lejeune <sle@openerp.com>2017-10-10 15:17:11 +0200
commitb33ef74d16d9a55d683bdfa62c1d49d6c6037c22 (patch)
tree999bc9e3f225911128b6dda7da132fc2efd44bf4 /setup/setup_dev.py
parente277f57241862a02879989f9534c29ad3a00df15 (diff)
[FIX] purchase: amount of the purchase in the logged message
When a picking is created from a purchase order, a message is logged in the chatter: "This transfer has been created from: POXXX: XX$". Ideally, an inventory user should not have access to the purchase orders. Sadly, removing the access right brings a lot of access right issues, so this commit only remove the amount from the logged message We adapt the name_get that always displayed the total amount of the purchase order since rev[1], as a message was logged in the chatter when a picking is created from a purchase order and the message contained this value. We implement a context key to display the total amount in the name_get, as it is used when linking a vendor bill to a purchase order. [1] 0c618d79ff9ecc8ffaea1404931a62695890d6d2
Diffstat (limited to 'setup/setup_dev.py')
0 files changed, 0 insertions, 0 deletions