diff --git a/addons/mrp_jit/test/mrp_jit.yml b/addons/mrp_jit/test/mrp_jit.yml index 7a7a73dfe95..8a375a70ed6 100644 --- a/addons/mrp_jit/test/mrp_jit.yml +++ b/addons/mrp_jit/test/mrp_jit.yml @@ -1,6 +1,6 @@ - - In order to test mrp_jit module with OpenERP, I will create manufacturing order - and check whether the procurement orders run without scheduler or not. + In order to test mrp_jit module with OpenERP, I create manufacturing order + and check whether the procurement order run without scheduler or not. - !record {model: procurement.order, id: mrp_production_mo0}: company_id: base.main_company diff --git a/addons/mrp_repair/test/test_mrp_repair_afterinv.yml b/addons/mrp_repair/test/test_mrp_repair_afterinv.yml index 0d4eb9b1c7c..5ceb3f9b02b 100644 --- a/addons/mrp_repair/test/test_mrp_repair_afterinv.yml +++ b/addons/mrp_repair/test/test_mrp_repair_afterinv.yml @@ -1,25 +1,25 @@ - - In order to test invoice type after repair. + In order to test Invoice Method 'After Repair'. - - I Confirm Repair order For Invoice Type After repair. + I confirm Repair order taking Invoice Method 'After Repair'. - !workflow {model: mrp.repair, action: repair_confirm, ref: mrp_repair_rmrp0} - - I start the repairing process by click on "Start Repair" Button For Invoice Type After repair. + I start the Repairing process by clicking on "Start Repair" button for Invoice Method 'After Repair'. - !workflow {model: mrp.repair, action: repair_ready, ref: mrp_repair_rmrp0} - - I check that state is "Under Repair". + I check the state is in "Under Repair". - !assert {model: mrp.repair, id: mrp_repair_rmrp0}: - state == 'under_repair' - - Repairing Process for product is Done and I End Repair process by click on "End Repair" button. + Repairing process for product is in Done state and I end Repair process by clicking on "End Repair" button. - !workflow {model: mrp.repair, action: action_repair_end, ref: mrp_repair_rmrp0} - - I define invoiced after repair option in this Repair order. - so I create Invoice by click on "Make Invoice" wizard. + I define Invoice Method 'After Repair' option in this Repair order. + so I create invoice by clicking on "Make Invoice" wizard. - !record {model: mrp.repair.make_invoice, id: mrp_repair_make_invoice_0}: group: 1 @@ -29,7 +29,7 @@ !python {model: mrp.repair.make_invoice}: | self.make_invoices(cr, uid, [ref("mrp_repair_make_invoice_0")], {"active_ids": [ref("mrp_repair.mrp_repair_rmrp0")]}) - - I check that Invoice is created for this repair order. + I check that invoice is created for this Repair order. - !python {model: mrp.repair}: | repair_id = self.browse(cr, uid, [ref('mrp_repair_rmrp0')], context=context)[0] diff --git a/addons/mrp_repair/test/test_mrp_repair_b4inv.yml b/addons/mrp_repair/test/test_mrp_repair_b4inv.yml index bfe717ecdd6..9ea28a9ecf4 100644 --- a/addons/mrp_repair/test/test_mrp_repair_b4inv.yml +++ b/addons/mrp_repair/test/test_mrp_repair_b4inv.yml @@ -1,11 +1,11 @@ - - Now test invoice type before repair. + Now I test for Invoice Method 'Before Repair'. - - I Confirm Repair order For Invoice Type Before Repair. + I confirm Repair order for Invoice Method 'Before Repair'. - !workflow {model: mrp.repair, action: repair_confirm, ref: mrp_repair_rmrp2} - - Repair order state to 'Ready'. + I change Repair order state to 'Ready'. - !python {model: mrp.repair}: | self.action_repair_ready(cr, uid, [ref('mrp_repair_rmrp2')], context=None) @@ -14,16 +14,16 @@ - !workflow {model: mrp.repair, action: action_invoice_create, ref: mrp_repair_rmrp2} - - I check that Invoice is created for this repair order. + I check that invoice is created for this Repair order. - !python {model: mrp.repair}: | repair_id = self.browse(cr, uid, [ref('mrp_repair_rmrp2')], context=context)[0] assert repair_id.invoice_id.id, _("No invoice exists for this repair order.") - - I start the repairing process by click on "Start Repair" Button. + I start the Repairing process by clicking on "Start Repair" button. - !workflow {model: mrp.repair, action: action_repair_start, ref: mrp_repair_rmrp2} - - Repairing Process for product is Done and I End Repair process by click on "End Repair" button For Invoice Type before repair. + Repairing process for this product is in Done state and I end this process by clicking on "End Repair" button for Invoice Method 'Before Repair'. - !workflow {model: mrp.repair, action: action_repair_end, ref: mrp_repair_rmrp2} diff --git a/addons/mrp_repair/test/test_mrp_repair_noneinv.yml b/addons/mrp_repair/test/test_mrp_repair_noneinv.yml index 66d5017e840..4334af01958 100644 --- a/addons/mrp_repair/test/test_mrp_repair_noneinv.yml +++ b/addons/mrp_repair/test/test_mrp_repair_noneinv.yml @@ -1,24 +1,24 @@ - - In order to test "mrp_repair" module, I start from confirm it, and start repair. + In order to test "mrp_repair" module, I start with confirm state, and start repair. - - I Confirm Repair order for Invoice Type 'None'. + I confirm Repair order for Invoice Method 'No Invoice'. - !workflow {model: mrp.repair, action: repair_confirm, ref: mrp_repair_rmrp1} - - I start the repairing process by click on "Start Repair" Button For Invoice Type None. + I start the repairing process by clicking on "Start Repair" button for Invoice Method 'No Invoice'. - !workflow {model: mrp.repair, action: repair_ready, ref: mrp_repair_rmrp1} - - I check that state is "Under Repair". + I check its state which is in "Under Repair". - !assert {model: mrp.repair, id: mrp_repair_rmrp1}: - state == 'under_repair' - - Repairing Process for product is Done and I End Repair process by click on "End Repair" button. + Repairing process for product is in Done state and I end this process by clicking on "End Repair" button. - !workflow {model: mrp.repair, action: action_repair_end, ref: mrp_repair_rmrp1} - - I define invoiced none option in this Repair order. + I define Invoice Method 'No Invoice' option in this repair order. So, I check that Invoice should not be created for this repair order. - !python {model: mrp.repair}: |