- Aug 10, 2016
-
-
Yannick Tivisse authored
The webkit reports have to be migrated in qweb from now.
-
Nicolas Martinelli authored
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
-
Yannick Tivisse authored
-
Yannick Tivisse authored
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.
-
Yannick Tivisse authored
-
Yannick Tivisse authored
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.
-
Yannick Tivisse authored
-
fwi-odoo authored
-
fwi-odoo authored
-
fwi-odoo authored
Merge sale_layout_category_data.xml into sale_data.xml Merge sale_team_dashboard_views into sales_team_views.xml
-
fwi-odoo authored
-
keyur gajjar authored
Proper message should be displayed when no records in attachments kanban view when we click on 'File' stat button on product form view.
-
Kinjal Mehta authored
Change the external_layout_header, with the use of span tag and display inline-block property instead of div tag, because without using it, the address under-line occupied the whole col-xs-6 block, for small address also. By using display inline-block the length of address underline will same as length of address. And col-xs-6 will increase the address space for log address lines.
-
Mansi Gandhi authored
-
- Aug 09, 2016
-
-
Mitali Patel authored
-
Jitendra Prajapati authored
-
keyur gajjar authored
-
Martin Trigaux authored
When creating a partner, the fields where the information is not specified were filled with an empty string value. The empty string value is not ideal as prevents to use filters like "email not set" and forces to use more complexe domain "... or email = ''" Instead, set the value false for the fields were nothing is provided (same behaviour as backend web client). Remove the fields.barcode overwrite to empty string as it is probably an unintentional side effect of 3b33e5c3. opw-684902
-
Kinjal Mehta authored
-
Ravi Gohil authored
This method is not very useful. Why ? When any exception is raised, odoo will rollback all the transaction which were not committed, hence the purpose of the method won't be served, which was, to update the 'history' record which was created before an invalid action was performed.
-
Ravi Gohil authored
-
Ravi Gohil authored
- removed fields of 'res.partner.job' and 'res.partner.contact' models - removed non-stored compute field 'base' of model 'account.invoice.tax' from anonymization list - removed fields 'tax_amount' and 'amount_taxed' which no more exists in 'account.move.line' model - removed field 'check_total' which no more exists in 'account.invoice' model - removed field 'partner_phone' which no more exists in 'crm.phonecall' model
-
Thibault Delavallée authored
-
Yannick Tivisse authored
-
Yannick Tivisse authored
-
Jigar Patel authored
-
Ravi Gohil authored
-
Jigar Patel authored
-
Jigar Patel authored
-
Thibault Delavallée authored
-
Raphael Collet authored
-
Raphael Collet authored
-
Yannick Tivisse authored
-
Yannick Tivisse authored
-
Yannick Tivisse authored
-
Yannick Tivisse authored
-
Yannick Tivisse authored
-
Yannick Tivisse authored
-
Yannick Tivisse authored
-
Yannick Tivisse authored
-