diff --git a/addons/account/account.py b/addons/account/account.py index bf5e25a6f69..1520c4f0646 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -154,7 +154,7 @@ class account_account_type(osv.osv): ('expense','Profit & Loss (Expense Accounts)'), ('asset','Balance Sheet (Assets Accounts)'), ('liability','Balance Sheet (Liability Accounts)') - ],'Type Heads', select=True, readonly=False, help="According value related accounts will be display on respective reports (Balance Sheet Profit & Loss Account)", required=True), + ],'P&L / BS Category', select=True, readonly=False, help="According value related accounts will be display on respective reports (Balance Sheet Profit & Loss Account)", required=True), 'note': fields.text('Description'), } _defaults = { diff --git a/addons/account/account_invoice_workflow.xml b/addons/account/account_invoice_workflow.xml index a6b7fe4a78e..2af1e192a9b 100644 --- a/addons/account/account_invoice_workflow.xml +++ b/addons/account/account_invoice_workflow.xml @@ -2,11 +2,6 @@ - - - Assign this role to the persons that should have the rights to confirm a draft invoice. - - account.invoice.basic account.invoice diff --git a/addons/account/test/account_validate_account_move.yml b/addons/account/test/account_validate_account_move.yml index 9a733d8ad5f..44acc341d8e 100644 --- a/addons/account/test/account_validate_account_move.yml +++ b/addons/account/test/account_validate_account_move.yml @@ -4,9 +4,6 @@ !record {model: account.tax.code, id: account_tax_code_0}: name : Tax Code Test sign : 1.00 -- - - - In order to test the 'Validate Journal Entries' wizard in OpenERP, I created an account move diff --git a/addons/account_budget/account_budget_workflow.xml b/addons/account_budget/account_budget_workflow.xml index 16997d694f2..39762375763 100644 --- a/addons/account_budget/account_budget_workflow.xml +++ b/addons/account_budget/account_budget_workflow.xml @@ -2,11 +2,6 @@ - - Crossovered Budget Validation - Assign this role to the persons that should have the rights to Approve a confirm Budgets. - - diff --git a/addons/delivery/test/delivery_report.yml b/addons/delivery/test/delivery_report.yml index 53b06a9d36a..b66528ea18c 100644 --- a/addons/delivery/test/delivery_report.yml +++ b/addons/delivery/test/delivery_report.yml @@ -12,6 +12,7 @@ invoice_state: none move_lines: - company_id: base.main_company + date: '2010-05-11 15:18:57' location_dest_id: stock.stock_location_customers location_id: stock.stock_location_stock name: HP CD writers diff --git a/addons/delivery/test/delivery_test.yml b/addons/delivery/test/delivery_test.yml deleted file mode 100644 index 9225cbca66b..00000000000 --- a/addons/delivery/test/delivery_test.yml +++ /dev/null @@ -1,155 +0,0 @@ -- - In order to test the delivery module, I will do Configuration -> Delivery -> Delivery Method - And there are two methods for doing that - Delivery based on order quantities, - Delivery based on delivered quantities. -- - I create the partner associated with the transport. -- - I create partner. -- - !record {model: res.partner, id: res_partner_thepost0}: - address: - - country_id: base.in - name: Micro Link - credit_limit: 0.0 - name: The Post - property_account_payable: account.a_pay - property_account_receivable: account.a_recv -- - - I create associated product for delivery. -- - !record {model: product.product, id: product_product_deliverybypost0}: - categ_id: product.product_category_services - cost_method: standard - mes_type: fixed - name: Delivery Product - procure_method: make_to_stock - supply_method: buy - type: service - uom_id: product.product_uom_unit - uom_po_id: product.product_uom_unit - warranty: 0.0 -- - I create the Delivery Method. -- - !record {model: delivery.carrier, id: delivery_carrier_theopenerpexperss0}: - name: The OpenERP Experss - partner_id: res_partner_thepost0 - product_id: product_product_deliverybypost0 -- - I create a delivery grid record and define the region for which the tariffs in the grid will be applicable. - Then set the condition for which this rule is applicable. -- - !record {model: delivery.grid, id: delivery_grid_weight0}: - carrier_id: delivery_carrier_theopenerpexperss0 - line_ids: - - list_price: 120.0 - max_value: 250.0 - name: Weight of product - operator: <= - standard_price: 60.0 - type: weight - price_type: fixed - variable_factor: weight - - list_price: 0.0 - max_value: 500.0 - name: Price >= 500 - operator: <= - standard_price: 20.0 - type: price - price_type: fixed - variable_factor: weight - country_ids: - - base.id - - base.be - - base.in - - base.io - - name: Weight - sequence: 1 -- - To check the Delivery based on order quantities , I have created sale order and picking_policy is direct . -- - !record {model: sale.order, id: sale_order_so0}: - date_order: '2010-05-11' - invoice_quantity: order - name: Test/delivery - order_line: - - name: '[PC1] Basic PC' - price_unit: 450.0 - product_uom: product.product_uom_unit - product_uom_qty: 10.0 - state: draft - delay: 2.0 - product_id: product.product_product_pc1 - product_uos_qty: 10.0 - th_weight: 0.0 - type: make_to_stock - order_policy: manual - partner_id: base.res_partner_agrolait - partner_invoice_id: base.res_partner_address_8 - partner_order_id: base.res_partner_address_8 - partner_shipping_id: base.res_partner_address_8 - picking_policy: direct - pricelist_id: product.list0 - shop_id: sale.shop -- - I create delivery.sale.order record. -- - !record {model: delivery.sale.order, id: delivery_sale_order_0}: - carrier_id: delivery_carrier_theopenerpexperss0 -- - To add the delivery charges on the quotation, I click on Delivery costs button and select the carrier. -- - !python {model: delivery.sale.order}: | - self.delivery_set(cr, uid, [ref("delivery_sale_order_0")], {"lang": "en_US", "active_model": - "sale.order", "tz": False, "order_id": 8, "active_ids": [ref("sale_order_so0")], - "active_id": ref("sale_order_so0"), }) -- - I confirm the sale order. -- - !workflow {model: sale.order, action: order_confirm, ref: sale_order_so0} -- - To check the Invoicing based on deliveries.I create new sale order and picking_policy is Complete Delivery. -- - !record {model: sale.order, id: sale_order_test_complete0}: - name: Test/Complete Deliver - carrier_id: delivery.delivery_carrier_theopenerpexperss0 - invoice_quantity: procurement - order_line: - - name: '[PC1] Basic PC' - price_unit: 450.0 - product_uom: product.product_uom_unit - product_uom_qty: 10.0 - state: draft - delay: 2.0 - product_id: product.product_product_pc1 - product_uos_qty: 10.0 - th_weight: 0.0 - type: make_to_stock - partner_id: base.res_partner_4 - partner_order_id: base.res_partner_address_7 - partner_invoice_id: base.res_partner_address_7 - partner_shipping_id: base.res_partner_address_7 - pricelist_id: product.list0 - order_policy: picking -- - I confirm the sale order. -- - !workflow {model: sale.order, action: order_confirm, ref: sale_order_test_complete0} -- - I Create stock.invoice.onshipping -- - !record {model: stock.invoice.onshipping, id: stock_invoice_onshipping_0}: - journal_id: account.sales_journal - type: out_invoice -- - I Create Invoice form picking. -- - !python {model: stock.invoice.onshipping}: | - so=self.pool.get('sale.order').browse(cr,uid,ref('sale_order_test_complete0')) - self.create_invoice(cr, uid, [ref("stock_invoice_onshipping_0")], {"lang": "en_US", - "tz": False, "active_model": "stock.picking", "contact_display": "partner", - "active_ids": [so.picking_ids[0].id], "active_id": so.picking_ids[0].id }) diff --git a/addons/email_template/email_template_workflow.xml b/addons/email_template/email_template_workflow.xml index 1a6a73cca77..84a58815b5e 100644 --- a/addons/email_template/email_template_workflow.xml +++ b/addons/email_template/email_template_workflow.xml @@ -2,10 +2,6 @@ - - Email Administrator - - Email Template Workflow email_template.account diff --git a/addons/hr/process/hr_process.xml b/addons/hr/process/hr_process.xml index 1471fbe5352..8bc8e5e49b9 100644 --- a/addons/hr/process/hr_process.xml +++ b/addons/hr/process/hr_process.xml @@ -53,7 +53,7 @@ - + diff --git a/addons/hr_contract/hr_contract_view.xml b/addons/hr_contract/hr_contract_view.xml index 1ad05582d47..440afa2894e 100644 --- a/addons/hr_contract/hr_contract_view.xml +++ b/addons/hr_contract/hr_contract_view.xml @@ -146,8 +146,8 @@ - - + + @@ -157,9 +157,12 @@ - + + + + diff --git a/addons/hr_expense/hr_expense_workflow.xml b/addons/hr_expense/hr_expense_workflow.xml index 547129e89e2..192533e67de 100644 --- a/addons/hr_expense/hr_expense_workflow.xml +++ b/addons/hr_expense/hr_expense_workflow.xml @@ -2,16 +2,6 @@ - - - - Human Resources - Expenses - - - - Human Resources - Expenses invoice - - diff --git a/addons/hr_expense/report/expense.rml b/addons/hr_expense/report/expense.rml index 889887c9dd0..dbc3c09d9c6 100644 --- a/addons/hr_expense/report/expense.rml +++ b/addons/hr_expense/report/expense.rml @@ -1,6 +1,6 @@ -