The proposal to merge 
lp:~openerp-dev/openobject-addons/trunk-coverage-sales-dbr into 
lp:openobject-addons has been updated.

Description changed to:

Hello,

Improve the Sale module YML test cases for following.

sale.py :
========
Create one function 'ship_exception()'
    For defined process after the 'shipping_except' state
    
Demo File :
=========
Add the different order_policy in demo data like: prepaid,postpaid,picking
Define price_unit as float value for improve the test conditions.
Remove line which Confirm the SO and confirm those record from YML files.
Add a new sale order line for order5 demo data for checking the process after 
scheduling

sale_work flow.xml:
=================
correct the workflow process.
Use signal instead of condition

stock.py :
========
call action_cancel() method
add code for ship_exception

YML files:
==========
Create two new folder process and ui
In Process define the normal process flow of sale module where as in 
ui Folder the files are based on UI.

process:
--------
==>Remove prepaid_order_policy.yml
==>Move invoice_on_ordered_qty.yml => process/cancel_order.yml
    In this file cancel the SO with different state
==>Move picking_order_policy.yml => process/get_picking_details.yml
    Define all methods which are use to 
==>Move postpaid_order_policy.yml => /process/order_policy.yml
    Define the main process flow of sale order on the bases of different order 
policy
==>Move sale_procurement.yml => process/run_scheduler.yml
    Define the process of scheduling 

ui:
----
==>Move data_test.yml => ui/delete_order.yml
    In this file define delete SO process.
==>Move so_make_line_invoice.yml => ui/execute_config.yml
    Execute the methods of configuration wizard
==>Move invoice_on_shipped_qty.yml => ui/make_advance_invoice.yml
    Call the Wizard of make advance invoice by yml code
==>Move advance_invoice.yml => ui/onchange_events.yml
    call all the on_change() methods
==>Move so_make_invoice.yml => ui/sale_line_invoice.yml
    create the yml file for define the sale order line invoice.
==>Move manual_order_policy.yml => ui/sale_make_invoice.yml
    Call the wizard make_invoice
==>Move sale_report.yml => ui/sale_report.yml

so, Kindly review it.

Thanks.

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-coverage-sales-dbr/+merge/82394
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-coverage-sales-dbr/+merge/82394
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-coverage-sales-dbr.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to