Commit Graph
104524 Commits
Author SHA1 Message Date
Richard Mathot c335c2dcf9 [REM] website_blog: outdated and unmaintained docs 2016-08-10 17:57:03 +02:00
fwi-odoo 9e28a04881 [REM] website_blog: remove yml test, the case is already tested in the python tests 2016-08-10 17:57:03 +02:00
fwi-odoo 5e7ccc0e96 [MIG] website_blog: migrate xml files 2016-08-10 17:57:03 +02:00
fwi-odoo 86793a7565 [MIG] website_blog: migrate py files 2016-08-10 17:53:49 +02:00
fwi-odoo 3b39e7066a [MOV] website_blog: reorganize files 2016-08-10 17:39:49 +02:00
Mansi Gandhi d7fe9dbc64 [IMP] point_of_sale: use 'available_in_pos' filter for products
Rather than a domain.
2016-08-10 16:40:58 +02:00
Mansi Gandhi 38605ebc7c [IMP] project: improved stages usability
People tend to click on the gear on the stage column and click
the "Edit" button. There, they think they are creating a task.

- Rename the 'Edit' button into 'Edit Stage'.
- Hide mail_template_id and project_ids fields in technical features.
2016-08-10 16:18:50 +02:00
Thibault Delavallée 6dbe9e7671 [MERGE] various: finish migration of most addons
Containing

 * migrate remaining code
 * migrate server actions
 * remove dead code
 * fix some issues related to old api / new api migration
 * update openerp imports and clean them a bit
 * rename openerp nodes to odoo in xml files
2016-08-10 15:49:13 +02:00
Thibault Delavallée efd55ab8a5 [REF] various: rename openerp node to odoo in xml files 2016-08-10 15:48:10 +02:00
Thibault Delavallée fff2201d3f [MOV] mrp: rename report files according to guidelines 2016-08-10 15:48:10 +02:00
Thibault Delavallée 52467414a7 [MIG] mrp: migrate remaining code in new API and transform rml report into standard report
rml_parse report bom_structure is translated into standard web report
2016-08-10 15:48:09 +02:00
Thibault Delavallée 90bbce6fba [MIG] website_theme_install: migrate server actions to new API 2016-08-10 15:48:09 +02:00
Thibault Delavallée 78797a4b17 [MIG] website_forum: migrate remaining message_post and update code accordingly 2016-08-10 15:48:09 +02:00
Thibault Delavallée 3f2539bc60 [MIG] website: migrate server actions to new API 2016-08-10 15:48:09 +02:00
Thibault Delavallée bfef1b7407 [MIG] project: migrate server actions in new API 2016-08-10 15:48:08 +02:00
Thibault Delavallée 3a1f84ff27 [MIG] procurement: migrate remaining code in old API 2016-08-10 15:48:08 +02:00
Thibault Delavallée 447ef04450 [MIG] point_of_sale: migrate remaining code in old API 2016-08-10 15:48:08 +02:00
Thibault Delavallée 3e7179d5dd [MIG] payment: migrate remaining code in old API 2016-08-10 15:48:08 +02:00
Thibault Delavallée b975d62c33 [MIG] lunch: migrate server actions in new API 2016-08-10 15:48:08 +02:00
Thibault Delavallée 2ce176694d [MIG] hr_recruitment: migrate remaining code in old API 2016-08-10 15:48:07 +02:00
Thibault Delavallée 0cb0fec177 [MIG] hr_expense: migrate tests to new API 2016-08-10 15:48:07 +02:00
Thibault Delavallée e33435daa9 [MIG] mail: migrate remaining code in old API 2016-08-10 15:48:07 +02:00
Thibault Delavallée c8a313d51e [IMP] various: use odoo for imports instead of openerp and update class names 2016-08-10 15:48:07 +02:00
Thibault Delavallée 5ce159924c [REM] website_mail: remove dummy void tests 2016-08-10 15:48:06 +02:00
Thibault Delavallée bc022ddd0b [FIX] marketing_campaing: remove old API parameters on new API method 2016-08-10 15:48:06 +02:00
Thibault Delavallée 09c47c9a93 [FIX] mail: propagate method name change
message_get_partner_info_from_emails does not exist anymore. It is now called
message_partner_info_from_emails.
2016-08-10 15:48:06 +02:00
Thibault Delavallée 3f15922c21 [CLN] mail: remove compatibility methods on mail_template and update last addon using it 2016-08-10 15:48:05 +02:00
Srushti Patel d8227e782b [IMP] stock,product_expiry: display expiry date of product in delivery slip 2016-08-10 15:04:37 +02:00
Richard Mathot 0bfa7e390d [FIX] hr_payroll_account: put the with_context at the right place 2016-08-10 14:33:59 +02:00
Jainik Patel 6a434fae8a [IMP] project: split rating on issue in its own option 2016-08-10 14:15:31 +02:00
Richard Mathot 07c0814b56 [FIX] hr_payroll_account: [] are not ()
In memory of Mariner 1.
2016-08-10 13:46:24 +02:00
Raphael Collet 8acfb3afcd [MIG] test_workflow: convert code to the new API 2016-08-10 13:14:16 +02:00
Raphael Collet b225d1119b [MIG] test_uninstall: convert code to the new API 2016-08-10 13:14:16 +02:00
Raphael Collet 2513fab6bd [MIG] test_limits: convert code to the new API 2016-08-10 13:14:16 +02:00
Raphael Collet bd00fcd5b1 [MIG] test_exceptions: convert code to the new API 2016-08-10 13:14:16 +02:00
Raphael Collet 94e82753ac [MIG] test_documentation_examples: convert code to the new API 2016-08-10 13:14:16 +02:00
Raphael Collet 64b77b1a72 [MIG] test_converter: convert code to the new API 2016-08-10 13:14:15 +02:00
Raphael Collet 45a52e02c6 [MIG] test_convert: convert code to the new API 2016-08-10 13:14:15 +02:00
Raphael Collet 89438c11e0 [MIG] test_assetsbundle: convert code to the new API 2016-08-10 13:14:15 +02:00
Raphael Collet d5023d8d6b [MIG] test_access_rights: convert code to the new API 2016-08-10 13:14:15 +02:00
Yannick Tivisse 13b9982c62 [REM] report_webkit: Remove the module
The webkit reports have to be migrated in qweb from now.
2016-08-10 13:06:14 +02:00
Nicolas Martinelli 3375027421 [IMP] doc: translate consolidation label
The `consolidation_label` attribute is replaced by `string`. This way,
the label is taken into account by the translation tools.

This is the modification of the documentation regarding the Enterprise
improvement.

opw-683601
2016-08-10 13:04:39 +02:00
Yannick Tivisse 0b55f0521f [FIX] marketing_campaign: Use correct field name in campaign.analysis 2016-08-10 12:41:55 +02:00
Yannick Tivisse 656d7124aa [FIX] account: This is not the debug point you are looking for
You never saw this debug point. You never heard about the fact that someone
could have placed a debug point somewhere in the code. It is not what you think.
Nobody would do that. If one day you got this feeling it's probably Martin Trigaux
the responsible.
2016-08-10 11:26:53 +02:00
Yannick Tivisse 173550dcde [FIX] mrp: Call _compute_quantity with its new signature 2016-08-10 11:13:33 +02:00
Yannick Tivisse a3f83916d0 [FIX] report: Pass correctly the docids to render_html method
In the 'get_html' method, the report is using a custom model to render its html,
we should use its own 'render_html' method to generate the report. During the
module migration, we replaced
'report_model.render_html(cr, uid, ids, data=data, context=context)'
by
'report_model.render_html(data=data)'

The new API signature of 'get_html' is

    @api.model
    def get_html(self, docids, report_name, data=None):

That way, 'render_html' doesn't receive docids anymore when called. We should do instead

    if report_model is not None:
        return report_model.browse(docids).render_html(data=data)

As render_html is an api.multi method, this is all wrong too, because we'll send a
browse record with the custom report model to the render_html method, to use the
ids with 'self.ids' that are absolutely not corresponding to the report model but to
to the record model we want to print (an invoice for example).

In old API style we were sending a list of ids, but it's not correct to keep the same
behavior by sending a browse record with only the ids relevant. We have also to
change render_html method decorator to @api.model with a new signature

    @api.model
    def render_html(self, docids, data=None):

And replace the call to render_html by

    if report_model is not None:
        return report_model.render_html(docids, data=data)

In the case the report is printed from a wizard, this is sufficient because the ids
are taken from the active_ids in context, or in data.

In the case the report is printed from a simple action, we should replace the occurence
of 'self.ids' (which doesn't mean anything) to 'docids'

This fix doesn't solve the printing issues for the custom accounting reports, because
the method get_pdf has been reimplemented in the module account_reports.
2016-08-10 11:13:33 +02:00
Yannick Tivisse 2fcbf1258d [MERGE] sale: Migrate to new API 2016-08-10 11:01:10 +02:00
fwi-odoo ca32071b4a [MIG] sale: Migrate to new API 2016-08-10 11:00:21 +02:00
fwi-odoo f3d715ca94 [SPLIT] sale: Split files according to related model 2016-08-10 11:00:21 +02:00
fwi-odoo 084b5534b2 [MOV] sale: Merge xml files when related to same model
Merge sale_layout_category_data.xml into sale_data.xml
Merge sale_team_dashboard_views into sales_team_views.xml
2016-08-10 11:00:21 +02:00