Commit Graph
104528 Commits
Author SHA1 Message Date
Mansi Gandhi a7fb287a7a [IMP] stock: add Quality module option in stock Extra Features 2016-08-11 10:00:37 +02:00
Thibault Delavallée 7286902396 [MIG] hr_timesheet: migrate last little report that was trying to hide from the new API wave 2016-08-11 09:17:58 +02:00
Fabien Pinckaers 0a48884c18 [IMP] mass_mailing: better form view for mass mail 2016-08-10 13:59:52 -07:00
Jeremy Kersten 8cc850f3a5 [IMP] website_blog: refactoring
[IMP] website_blog: display author avatar option
[IMP] website_blog: refactore cover option for blog
[IMP] website_blog: tags are now always displayed and as a label
[IMP] website_blog: side bar cleaning
[IMP] website_blog: new teaser
[IMP] website_blog: replace inline comments by quotes comment
[IMP] website_blog: new grid layout
[WIP] website_blog: read next options
[IMP] website_blog: refactoring sharing links
[IMP] website_blog: Delete cover narrow option
[IMP] website_blog: improvement for sharing links
[IMP] website_blog: blog post list cover is an option
[IMP] website_blog: archives group by year
[IMP] website_blog: if only one blog, no index blog post

Courtesy of @movanoncem
2016-08-10 18:38:28 +02:00
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