Merge lp:~unifield-team/unifield-addons/uf_869_change_text into lp:unifield-addons

Proposed by Duy VO
Status: Merged
Merged at revision: 4526
Proposed branch: lp:~unifield-team/unifield-addons/uf_869_change_text
Merge into: lp:unifield-addons
Diff against target: 13 lines (+2/-1)
1 file modified
stock/stock.py (+2/-1)
To merge this branch: bzr merge lp:~unifield-team/unifield-addons/uf_869_change_text
Reviewer Review Type Date Requested Status
UniField Dev Team Pending
Review via email: mp+94242@code.launchpad.net

Description of the change

JF, just one hard-coded word in the message, so it would not be necessary to create a hook method for that.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'stock/stock.py'
--- stock/stock.py 2012-01-10 07:45:18 +0000
+++ stock/stock.py 2012-02-22 18:14:24 +0000
@@ -2698,7 +2698,8 @@
2698 'location_dest_id': location_id,2698 'location_dest_id': location_id,
2699 })2699 })
2700 move_ids.append(self._inventory_line_hook(cr, uid, line, value))2700 move_ids.append(self._inventory_line_hook(cr, uid, line, value))
2701 message = _('Inventory') + " '" + inv.name + "' "+ _("is done.")2701 # Changed the text of the following line to "is confirmed" instead of "is done" due to the state value
2702 message = _('Inventory') + " '" + inv.name + "' "+ _("is confirmed.")
2702 self.log(cr, uid, inv.id, message)2703 self.log(cr, uid, inv.id, message)
2703 self.write(cr, uid, [inv.id], {'state': 'confirm', 'move_ids': [(6, 0, move_ids)]})2704 self.write(cr, uid, [inv.id], {'state': 'confirm', 'move_ids': [(6, 0, move_ids)]})
2704 return True2705 return True

Subscribers

People subscribed via source and target branches

to all changes: