[REF] purchase: cleaning the TODO messages
bzr revid: qdp-launchpad@openerp.com-20140425091128-13uuwk7txzjoos6z
This commit is contained in:
parent
7a6b00b651
commit
e077a96cdd
|
@ -416,7 +416,6 @@ class purchase_order(osv.osv):
|
|||
action = self.pool.get('ir.actions.act_window').read(cr, uid, action_id, context=context)
|
||||
|
||||
pick_ids = []
|
||||
#TODO: might need to change this function in order to return the whole set of operations and not only the reception(s) to input
|
||||
for po in self.browse(cr, uid, ids, context=context):
|
||||
pick_ids += [picking.id for picking in po.picking_ids]
|
||||
|
||||
|
@ -484,7 +483,6 @@ class purchase_order(osv.osv):
|
|||
self.signal_send_rfq(cr, uid, ids)
|
||||
return self.pool['report'].get_action(cr, uid, ids, 'purchase.report_purchasequotation', context=context)
|
||||
|
||||
#TODO: implement messages system
|
||||
def wkf_confirm_order(self, cr, uid, ids, context=None):
|
||||
todo = []
|
||||
for po in self.browse(cr, uid, ids, context=context):
|
||||
|
|
|
@ -69,7 +69,5 @@
|
|||
<field name="sequence">5</field>
|
||||
</record>
|
||||
|
||||
<!-- TODO: use a yaml file with python code to enable purcahse on main warehouse, so that the location_id is correct -->
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
self.set_default(cr, uid, 'purchase.order', 'picking_type_id', whr.in_type_id.id, for_all_users=True, company_id=True, condition=False)
|
||||
-
|
||||
!python {model: stock.warehouse}: |
|
||||
#enable purchase on main warehouse
|
||||
main_warehouse = self.browse(cr, uid, ref('stock.warehouse0'), context=context)
|
||||
#Force the rewriting of route and rule
|
||||
self.write(cr, uid, main_warehouse.id, {'buy_to_resupply': True}, context=context)
|
||||
|
||||
|
|
|
@ -84,11 +84,6 @@ class stock_picking(osv.osv):
|
|||
}
|
||||
|
||||
|
||||
# TODO: Invoice based on receptions
|
||||
# Here is how it should work:
|
||||
# On a draft invoice, allows to select purchase_orders (many2many_tags)
|
||||
# This fills in automatically PO lines or from related receptions if any
|
||||
|
||||
class stock_warehouse(osv.osv):
|
||||
_inherit = 'stock.warehouse'
|
||||
_columns = {
|
||||
|
|
Loading…
Reference in New Issue