[FIX] fixed references to old module mrp_jit now renamed into procurement_jit

bzr revid: qdp-launchpad@openerp.com-20140327213201-94z0g64ft8lfmpc4
This commit is contained in:
Quentin (OpenERP) 2014-03-27 22:32:01 +01:00
parent 0bef471c79
commit ee59f57de9
4 changed files with 6 additions and 6 deletions

View File

@ -92,7 +92,7 @@
assert proc.location_id.id == order.location_src_id.id, "Input location and procurement location do not correspond" assert proc.location_id.id == order.location_src_id.id, "Input location and procurement location do not correspond"
assert proc.product_uom.id == order_line.product_uom.id, "UOM does not correspond in procurement." assert proc.product_uom.id == order_line.product_uom.id, "UOM does not correspond in procurement."
assert proc.product_uos_qty == order_line.product_uos and order_line.product_uos_qty or order_line.product_qty, "UOS qty does not correspond in procurement." assert proc.product_uos_qty == order_line.product_uos and order_line.product_uos_qty or order_line.product_qty, "UOS qty does not correspond in procurement."
# procurement state should be `confirmed` at this stage, except if mrp_jit is installed, in which # procurement state should be `confirmed` at this stage, except if procurement_jit is installed, in which
# case it could already be in `running` or `exception` state (not enough stock) # case it could already be in `running` or `exception` state (not enough stock)
expected_states = ('confirmed', 'running', 'exception') expected_states = ('confirmed', 'running', 'exception')
assert proc.state in expected_states, 'Procurement state is `%s` for %s, expected one of %s' % \ assert proc.state in expected_states, 'Procurement state is `%s` for %s, expected one of %s' % \

View File

@ -1,5 +1,5 @@
- -
In order to test mrp_jit module with OpenERP, I create procurement order for In order to test procurement_jit module with OpenERP, I create procurement order for
Computer Case product and check whether it runs without scheduler or not. Computer Case product and check whether it runs without scheduler or not.
- -
!record {model: procurement.order, id: procurement_order_test1}: !record {model: procurement.order, id: procurement_order_test1}:

View File

@ -37,11 +37,11 @@ class stock_config_settings(osv.osv_memory):
_columns = { _columns = {
'company_id': fields.many2one('res.company', 'Company', required=True), 'company_id': fields.many2one('res.company', 'Company', required=True),
'module_mrp_jit': fields.boolean("Generate procurement in real time", 'module_procurement_jit': fields.boolean("Generate procurement in real time",
help="""This allows Just In Time computation of procurement orders. help="""This allows Just In Time computation of procurement orders.
All procurement orders will be processed immediately, which could in some All procurement orders will be processed immediately, which could in some
cases entail a small performance impact. cases entail a small performance impact.
This installs the module mrp_jit."""), This installs the module procurement_jit."""),
'module_claim_from_delivery': fields.boolean("Allow claim on deliveries", 'module_claim_from_delivery': fields.boolean("Allow claim on deliveries",
help='Adds a Claim link to the delivery order.\n' help='Adds a Claim link to the delivery order.\n'
'-This installs the module claim_from_delivery.'), '-This installs the module claim_from_delivery.'),

View File

@ -63,8 +63,8 @@
<label for="id" string="Logistic"/> <label for="id" string="Logistic"/>
<div> <div>
<div> <div>
<field name="module_mrp_jit" class="oe_inline"/> <field name="module_procurement_jit" class="oe_inline"/>
<label for="module_mrp_jit"/> <label for="module_procurement_jit"/>
</div> </div>
<div> <div>
<field name="group_stock_multiple_locations" class="oe_inline"/> <field name="group_stock_multiple_locations" class="oe_inline"/>