Richard Mathot [Fri, 25 Jul 2014 11:47:09 +0000 (13:47 +0200)]
[FIX] survey: correct counting of finished answers
Richard Mathot [Fri, 25 Jul 2014 10:29:15 +0000 (12:29 +0200)]
[FIX] survey: comments are properly recorded now
Richard Mathot [Wed, 16 Jul 2014 14:49:00 +0000 (16:49 +0200)]
[DOC] survey: retroengineering
A bit of commenting in order to help future debugging and unf**king of
the survey reporting tool.
Richard Mathot [Wed, 16 Jul 2014 14:24:48 +0000 (16:24 +0200)]
[FIX] survey: remove duplicate browse record
The `prepare_result` dict shouldn't keep a browse record of a survey, as it
is explicitely passed to the template by the controller
`survey_reporting`
Richard Mathot [Wed, 16 Jul 2014 12:50:19 +0000 (14:50 +0200)]
[FIX] survey: minor view fixes
Ravish [Fri, 25 Jul 2014 10:11:21 +0000 (15:41 +0530)]
[ADD] sale: validity date in sale order report
Martin Trigaux [Fri, 25 Jul 2014 07:47:13 +0000 (09:47 +0200)]
[FIX] website: iframe to google maps need the trailing slash, otherwise the path and the id are not separated (e.g.: '/members42')
Jeremy Kersten [Thu, 24 Jul 2014 16:12:32 +0000 (18:12 +0200)]
[FIX] website: catch exception on destroy of ckeditor to allow the modifications to be saved anyway
Jeremy Kersten [Wed, 23 Jul 2014 15:10:02 +0000 (17:10 +0200)]
[FIX] website_blog: Add sanitize=False on content of blog to allow writer/author to insert some tricky code like form or JS
Jeremy Kersten [Wed, 23 Jul 2014 13:43:59 +0000 (15:43 +0200)]
[IMP] website_crm - add kwargs into create_lead function. That allow to get some fields which will be already join in the description from values to custom the behavior from create_lead function
Denis Ledoux [Wed, 23 Jul 2014 10:14:14 +0000 (12:14 +0200)]
[MERGE] forward port of branch saas-3 up to
474eae9a43ad7860f11f1d3c1cb8c587eeb98412
Denis Ledoux [Wed, 23 Jul 2014 10:00:09 +0000 (12:00 +0200)]
[FIX] website_sale: translated terms payment status
Payment status (website_sale confirmation page) inject a status message, which was not set to be translatable. It should be the case.
Jeremy Kersten [Wed, 23 Jul 2014 09:15:07 +0000 (11:15 +0200)]
[IMP] website_crm: allow creation of the lead to be overrided. That avoid people to rewrite all the routine of the form if they want to change the default behavior at lead creation when form is submitted.
Denis Ledoux [Wed, 23 Jul 2014 06:56:36 +0000 (08:56 +0200)]
[FIX] website_sale: _rec_name product.attribute.line
Set the _rec_name for product.attribute.line model, as its column name wasn't defined, and therefore search on it wasn't possible (For instance, do an advanced search on product.product with "Product Attributes" "Contains" "Something" wasn't possible).
Martin Trigaux [Tue, 22 Jul 2014 11:39:15 +0000 (13:39 +0200)]
[MERGE] forward port of branch 7.0 up to 680f955
Anaël Closson [Wed, 28 May 2014 14:01:47 +0000 (16:01 +0200)]
[FIX] web: reload after wizard when record has been removed cause exception
If an action unlink the current records (e.g. unreconcile on account.move.reconcile), trigger history_back to avoid errors when trying to reload inexistant record (opw 607883)
This is a partial backport of saas-4 code (rev c0db6ae, 162ad1c) and should not be forward ported.
Dhs-odoo [Mon, 14 Jul 2014 09:53:39 +0000 (15:23 +0530)]
[FIX] project : do not show canceled projects in task
fixes #938, opw 610318
Denis Ledoux [Fri, 18 Jul 2014 15:26:48 +0000 (17:26 +0200)]
[FIX] sale: only propose services for pay advances
When creating an invoice from a sale order, if the user choose to invoice a fixed price (deposit), he has the possibility to choose an advance product. As described in the help message, this product should be a service product. Therefore, we add a domain so only services are displayed in the dropdown list
Martin Trigaux [Wed, 4 Jun 2014 14:33:58 +0000 (16:33 +0200)]
[FIX] account: better error message when regenarating opening entries (opw 606923)
If we try to generate twice entries on the same fiscal year, we can get completly unrelated errors ("You can only reconcile journal items with the same partner").
With this, we make sure people will first cancel the entries before regeneraing the entries.
Denis Ledoux [Fri, 18 Jul 2014 14:49:45 +0000 (16:49 +0200)]
[FIX] sale: do not propagate context on send email
Otherwise, active_id, active_ids, active_model params are propagated, and it leads to inconsistencies.
For instances, go to Sales > Customers, choose a customer which has quotations.
On the form, hit the "Quotations and sales" Button
Choose a quotation. Hit the "send by email" button.
The template preview should be displayed correctly. Now send the email, than
- Either, you have no traceback: The email sent is the email of another quotation, the quotation having as id the id of the partner you chose
- Either, you have a traceback: There is no quotation having as id the id of the partner you chose.
Denis Ledoux [Fri, 18 Jul 2014 11:56:42 +0000 (13:56 +0200)]
[FIX] procurement: avoid to run multiple scheduler
Avoid to run the procurement scheduler multiple times in the same time, otherwise, they tend to interfere with each others
Jérome Maes [Fri, 18 Jul 2014 11:02:07 +0000 (13:02 +0200)]
[FIX] crm : propagate the lead_id when scheldule other phone calls
TheCloneMaster [Fri, 18 Jul 2014 05:58:44 +0000 (23:58 -0600)]
[FIX] hr_timesheet: missing '&' in domain clause
To search the contracts for payroll, the domain is constructed with three clauses. Each of these clauses needs to start with a '&' to make sure they are correctly combined with the OR clause'
Martin Trigaux [Thu, 17 Jul 2014 14:09:52 +0000 (16:09 +0200)]
[FIX] website_sale: make the 'Ship to a different address' always available
In the backend the option 'Allow a different address for delivery and invoicing' will set the group sale.group_delivery_invoice_address to employees. However the public user is not an employee (and we don't want to change that) so does not get this group. As we don't have similar group mechanism for public user, we have no other choice than always displaying the option to have different address. opw 610118
Martin Trigaux [Thu, 17 Jul 2014 12:22:20 +0000 (14:22 +0200)]
[FIX] ir_values: fallback when no condition
When searching for default values, if we set a condition (e.g. 'type=out_invoice'), fetch also the default values without any condition set. Thanks to the order by clause, the one with a condition have an higher priority than the one without and will not affect existing result.
This fixes default journal/currency on an invoice where the journal is retrieved in the onchange_company_id method (domain is forced). Without this patch only ir.values with a domain set will match, opw 610645
Olivier Dony [Thu, 17 Jul 2014 10:33:55 +0000 (12:33 +0200)]
[IMP] mail.group: set special header to disable OOF replies from MS Exchange
Olivier Dony [Wed, 16 Jul 2014 22:56:52 +0000 (00:56 +0200)]
[FIX] website_mail_group: slufigy group link + spellchecking
Olivier Dony [Wed, 16 Jul 2014 22:16:12 +0000 (00:16 +0200)]
[FIX] mail: less confusing To: header for mailing-list posts
Many mail clients will replace the name in the To:
header with Me if the To: email matches the email
of the user. These users will see To: Me instead of
"Followers of ..." and usually believe this was a
private email from the sender to them.
But when replying they would reply to the whole list.
Fix this by explicitly forcing the To: to be the
mailing list address.
Olivier Dony [Wed, 16 Jul 2014 20:51:43 +0000 (22:51 +0200)]
[FIX] mail, website_mail: specific mailing-list footer + better unsubscribe option
- remove the default footer for mail.group messages,
replace with specific footer with archive and unsubscribe
link
- remove the automatic addition of user signature in
mail.group messages, as many of them will be posted
via the mail gateway and already contain a user signature.
- make it easier to unsubscribe even when not logged in,
as followers who have not signed up will have no
way to login short of signing up.
- remove tests looking for user signature in mail.group posts
Thibault Delavallée [Tue, 15 Jul 2014 14:44:55 +0000 (16:44 +0200)]
website_forum: fixed issue when voting. The method should work in batch. Previously to this implementation having one post with a vote bypassed the other posts without vote when called with several ids.
Thibault Delavallée [Tue, 15 Jul 2014 09:15:27 +0000 (11:15 +0200)]
[FIX] website_forum: fixed controller creating a new forum tha was crashing.
Christophe Simonis [Tue, 15 Jul 2014 08:38:14 +0000 (10:38 +0200)]
[MERGE] forward port of branch saas-3 up to 24484c8
Christophe Simonis [Tue, 15 Jul 2014 08:36:54 +0000 (10:36 +0200)]
[MERGE] forward port of branch 7.0 up to 7a928b1
Martin Trigaux [Mon, 14 Jul 2014 14:39:13 +0000 (16:39 +0200)]
[FIX] project: default_groups_ref expects the format module.xml_id (opw 610098)
Thibault Delavallée [Fri, 11 Jul 2014 14:17:54 +0000 (16:17 +0200)]
[FIX] website_forum: fixed karma computation, on first vote the karma was wrongly calculated (when creating a vote, not when updating it).
Thibault Delavallée [Fri, 11 Jul 2014 13:31:44 +0000 (15:31 +0200)]
[FIX] tools: mail: fixed last commit, solving an issue with the html2plaintext introduced another issue with notes. Reverting to the first version.
Stéphane Bidoul [Mon, 23 Jun 2014 14:54:45 +0000 (16:54 +0200)]
[FIX] l10n_lu: wrong mapping of accounts to P&L financial report
Account 655 and its child 6554 were both mapped.
Fixed by unmapping 655 and mapping all its direct children.
(Manual rebase of PR #733)
Stéphane Bidoul [Mon, 23 Jun 2014 15:01:19 +0000 (17:01 +0200)]
[FIX] l10n_lu: taxes (amont/aval)
The accounts "TVA en amont" were not used by the l10n_lu chart of accounts.
Instead the accounts "TVA en aval" were used for all taxes both sale and purchase taxes.
(Manual rebase of PR #735)
Christophe Simonis [Fri, 11 Jul 2014 12:58:32 +0000 (14:58 +0200)]
[FIX] base: make ir_attachment._filestore callable with kwargs
Martin Trigaux [Fri, 11 Jul 2014 11:57:45 +0000 (13:57 +0200)]
[FIX] web_calendar: Revert d9e6a7a as was fixed differently at rev e220136
Fixing calendar view errors, opw 609989
Olivier Dony [Fri, 11 Jul 2014 09:53:07 +0000 (11:53 +0200)]
[MERGE] Fwd-port saas-3 up to a9d2b65
Olivier Dony [Fri, 11 Jul 2014 09:51:06 +0000 (11:51 +0200)]
[MERGE] Fwd-port 7.0 up to 783b9e1
Olivier Dony [Fri, 11 Jul 2014 08:49:48 +0000 (10:49 +0200)]
[FIX] event_sale: reset event-related fields on SO line when switching products
Richard Mathot [Fri, 11 Jul 2014 09:30:29 +0000 (11:30 +0200)]
[FIX] hr: call hr_employee super's when unlinking
Also fixes some weird inheritance bugs in upper versions
Martin Trigaux [Fri, 11 Jul 2014 09:39:32 +0000 (11:39 +0200)]
[FIX] orm: custom m2m with different label
At rev
84e9a67cdf78db94cb7a09543c1b7ac4ad19d8b4 a check to avoid the creation of ir.model.relation for custom modules was added. The condition is not correct as based on the string instead of the field name. We do not have access to column name at this level but the the m2m relation table do start with x_ for custom fields (see __init__ method).
Thibault Delavallée [Thu, 10 Jul 2014 20:50:53 +0000 (22:50 +0200)]
Merge pull request #724 from odoo-dev/7.0-mail_issues-fix-adh
[FIX] mail: misc bug fixing
- avoid deleting the Whole Company mail group if still present, because it is required for some module installation. In 7.0 installing some modules may crash if this group is not present.
- fixed an issue when computing possible recipients in the Chatter
- small fix in html2plaintext about blank lines
Christophe Simonis [Thu, 10 Jul 2014 20:02:58 +0000 (22:02 +0200)]
[MERGE] forward port of branch saas-3 up to a35aec2
Christophe Simonis [Thu, 10 Jul 2014 20:02:01 +0000 (22:02 +0200)]
[MERGE] forward port of branch 7.0 up to 6e96ffd
Richard Mathot [Thu, 10 Jul 2014 18:28:21 +0000 (20:28 +0200)]
[TYPO] in website_partner
Loïc Bellier [Thu, 10 Jul 2014 11:20:00 +0000 (13:20 +0200)]
[FIX] stock: remove permission to create locations for partner managers
There's a big risk of mistake with the fast-create
feature and they don't need it
(Rebase of PR #1073)
Anand-Dharampuriya [Tue, 1 Jul 2014 10:24:23 +0000 (15:54 +0530)]
[FIX] Solve some mail issues which are currently present in 7.0
Richard Mathot [Thu, 10 Jul 2014 13:22:03 +0000 (15:22 +0200)]
[FIX] mail: bad display of aliases on user forms
(Partial backport of commit
1f8615699105e75ccbe9dc36c8ff9266868bbfb0)
Closes #800.
Richard Mathot [Thu, 10 Jul 2014 12:11:01 +0000 (14:11 +0200)]
[TYPO] in event, event_sale
FalcoBolger [Wed, 9 Jul 2014 08:33:01 +0000 (10:33 +0200)]
FIX email_template: Update help from lang field leading to confusion while creating a template
FalcoBolger [Thu, 10 Jul 2014 09:26:19 +0000 (11:26 +0200)]
[FIX] event_sale: do not crash when empty field product in ticket types lines
Olivier Dony [Tue, 8 Jul 2014 15:44:40 +0000 (17:44 +0200)]
[FIX] account_analytic_account: handle partners without fiscal position gracefully
Martin Trigaux [Tue, 8 Jul 2014 13:56:24 +0000 (15:56 +0200)]
[FIX] orm: better removal of custom m2m fields
orm: do not try to create ir.model.relation for custom m2m as self._module is either empty (for custom models), either the one of the last inheriting module (which is wrong). The field should be removed manually and should not be impacted by the uninstallation of modules. The removal of the relation table can be done when removing manually the custom field (see rev 6af3193).
ir.model: when removing a model, drop the table with the CASCADE instruction. This will remove left constraints from remaining m2m tables.
This means that dropping a table (either manually removing a custom model or uninstalling a module) will not drop the relation table for a custom m2m field. This is not ideal but better than the previous behaviour (which was to fail the DROP TABLE instruction and keep the table with a few columns and unconsistent data).
Jeremy Kersten [Tue, 8 Jul 2014 13:54:00 +0000 (15:54 +0200)]
[FIX] Crm partner assign: Sort the partners by grade / published implemented. else the display are not explicit on website, because old order takes all the implemented partner but on website we display the number of reference published
Martin Trigaux [Tue, 8 Jul 2014 11:55:48 +0000 (13:55 +0200)]
[FIX] ir.model.fields: better unlink
When droping a column, remove also the relation table in case of custom m2m field.
The relation table needs to be dropped otherwise an unremovable constraint to the targetted table is kept (and anyway is not needed anymore).
antonylesuisse [Mon, 7 Jul 2014 18:48:19 +0000 (20:48 +0200)]
Merge pull request #946 from joshuajan/7.0_hr_holidays_report_fix
skip the inactivate employee in leaves summary
Fabien Meghazi [Thu, 8 May 2014 07:50:25 +0000 (09:50 +0200)]
[FIX] configuration file dbfilter's option has no effect
lp bug: https://launchpad.net/bugs/940439 fixed
bzr revid: fme@openerp.com-
20140508075025-yszqmzie1z4n7l4j
Martin Trigaux [Mon, 7 Jul 2014 15:12:27 +0000 (17:12 +0200)]
[FIX] portal: avoid errors during autovacuum
When the cron for autovacuum runs, the osv_memory objects are deleted. The portal.wizard.user object has a required field (wizard_id) linked to another osv_memory object (portal.user) which causes a traceback when the cron tries to delete portal.user object before the portal.wizard.user. opw 609918
JoshuaJan [Mon, 7 Jul 2014 10:17:20 +0000 (18:17 +0800)]
Update holidays_summary_report.py
JoshuaJan [Mon, 7 Jul 2014 09:30:25 +0000 (17:30 +0800)]
Update holidays_summary_report.py
Add context to search method
JoshuaJan [Sun, 6 Jul 2014 09:41:07 +0000 (17:41 +0800)]
skip the inactivate employee in leaves summary
Olivier Dony [Fri, 4 Jul 2014 23:04:19 +0000 (01:04 +0200)]
[MERGE] Forward-port saas-3 up to 4fa30f5
Olivier Dony [Fri, 4 Jul 2014 21:56:22 +0000 (23:56 +0200)]
[FIX] mass_mailing: avoid mutable values for dict.fromkeys(), simplify with RIGHT JOIN
Olivier Dony [Fri, 4 Jul 2014 21:15:22 +0000 (23:15 +0200)]
[FIX] mass_mailing: wrong copy-paste of statistics computation code
Mixes the mass_mailing_id and mass_mailing_campaign_id
between the two models. Introduced by 9fc4ad9, PR #472
Olivier Dony [Fri, 4 Jul 2014 15:07:53 +0000 (17:07 +0200)]
[MERGE] Forward-port of 7.0 up to 64ac1b0
Olivier Dony [Fri, 4 Jul 2014 14:53:26 +0000 (16:53 +0200)]
[FIX] document: replace raw SQL constraint with bad parameter passing with builtin check_recursion
This instance was not actually exploitable for
SQL injection as it is not callable directly
via RPC and guarded by other queries when indirectly
called. Still plain awful.
Olivier Dony [Fri, 4 Jul 2014 14:45:41 +0000 (16:45 +0200)]
[FIX] hr_holidays: proper parameter passing syntax for raw SQL
This instance was not actually exploitable for
SQL injection as it is not callable directly
via RPC and guarded by other queries when indirectly
called. Still plain awful.
Martin Trigaux [Fri, 4 Jul 2014 12:02:04 +0000 (14:02 +0200)]
[FIX] l10n_multilang: reduce dependencies of l10n_multilang
The installation of a multilang localisation (e.g. Belgium) used to install as well account_accountant (and then account_voucher) for no technical reason and was considered as the full accounting package.
JKE-be [Thu, 3 Jul 2014 20:56:06 +0000 (22:56 +0200)]
Merge pull request #906 from odoo-dev/saas-3-contactus-jke
[IMP] website_crm - cherry pick from
29ad0216e37fd23e33b75ee8d24b095f181...
JKE-be [Thu, 3 Jul 2014 20:55:32 +0000 (22:55 +0200)]
Merge pull request #907 from odoo-dev/saas-4-contactus-jke
[IMP] website_crm - cherry pick from
29ad0216e37fd23e33b75ee8d24b095f181...
Jeremy Kersten [Thu, 3 Jul 2014 19:39:19 +0000 (21:39 +0200)]
[IMP] website_crm - cherry pick from
29ad0216e37fd23e33b75ee8d24b095f181e2e31 - Improve contact_us to fill in all fields from the model crm_lead posted in the form except a blacklist of fields.
Jeremy Kersten [Thu, 3 Jul 2014 19:33:53 +0000 (21:33 +0200)]
[IMP] website_crm - cherry pick from
29ad0216e37fd23e33b75ee8d24b095f181e2e31 - Improve contact_us to fill in all fields from the model crm_lead posted in the form except a blacklist of fields.
Martin Trigaux [Thu, 3 Jul 2014 10:30:48 +0000 (12:30 +0200)]
[FIX] res_partner: backport of rev 37bf72a
Correctly take the 'use parent address' into account in the onchange. Slightly updated the view that was weird with this parameter. opw 609344
Richard Mathot [Thu, 3 Jul 2014 07:36:46 +0000 (09:36 +0200)]
[TYPO] Stupid typo...
Richard Mathot [Wed, 2 Jul 2014 15:29:13 +0000 (17:29 +0200)]
[FIX] RML reporting: understandable crash message
When tag <drawString> is misused in an RML report, logs a more explicit
error
Martin Trigaux [Wed, 2 Jul 2014 14:25:24 +0000 (16:25 +0200)]
[FIX] website: avoid divisions by zero when no record to display
Lionel Sausin (Numérigraphe) [Sat, 31 May 2014 17:00:34 +0000 (19:00 +0200)]
[FIX] Fixes #273: avoid double-warning when changing the quantity of a stock move
Richard Mathot [Wed, 2 Jul 2014 12:07:52 +0000 (14:07 +0200)]
[FIX] auth_oauth: hide invalid providers from login screen
Richard Mathot [Wed, 2 Jul 2014 11:56:11 +0000 (13:56 +0200)]
[FIX] auth_oauth: prevent crash on login screen
Empty URLs for OAuth providers do not crash anymore the login screen
Thibault Delavallée [Wed, 2 Jul 2014 08:25:53 +0000 (10:25 +0200)]
[FIX] mail: fixed display issue with the like button
Richard Mathot [Tue, 1 Jul 2014 13:56:50 +0000 (15:56 +0200)]
[FIX] survey: catch exception while quizz mode
Martin Trigaux [Tue, 1 Jul 2014 13:48:53 +0000 (15:48 +0200)]
[FIX] project_issue_sheet: make invoiceable field autofield for worklogs
When setting a worklog on a project_issue, the field to_invoice is prefilled with on_change_account_id based on the contract settings. As the field was not present on the list view, the information was lost and every worklog was not written as invoiceable, even if enabled on the contract. opw 609082.
Richard Mathot [Tue, 1 Jul 2014 13:37:27 +0000 (15:37 +0200)]
[FIX] survey: bug while recording comments
Richard Mathot [Tue, 1 Jul 2014 12:51:00 +0000 (14:51 +0200)]
[FIX] survey: Nasty brackets...
Olivier Dony [Tue, 1 Jul 2014 10:28:55 +0000 (12:28 +0200)]
[MERGE] Fwd-port of 7.0 up to 3d31341
Olivier Dony [Tue, 1 Jul 2014 10:22:28 +0000 (12:22 +0200)]
[FIX] web_linkedin: update master img CDN domain, recently changed
Martin Trigaux [Tue, 1 Jul 2014 09:29:22 +0000 (11:29 +0200)]
[FIX] rml: avoid reports ending by zero (opw 608073)
Commit b6a7402 (reverted at f8671cb) was almost correct, the PageReset should be added at the end of each stories but only if we have one more stories.
The PageReset will force the page count to be reseted at zero which means that last page of report would have been at zero.
Jeremy Kersten [Mon, 30 Jun 2014 16:29:20 +0000 (18:29 +0200)]
[IMP] website: backport
5112421a (unslug)
Update the regexp to be not case sensitive
Jeremy Kersten [Mon, 30 Jun 2014 10:27:49 +0000 (12:27 +0200)]
[FIX] website - force to test isdigit on a string else a tb "'int' object has no attribute 'isdigit'" can exist if the page var was right and so already and int
Jeremy Kersten [Mon, 30 Jun 2014 10:10:49 +0000 (12:10 +0200)]
[FIX] Website pager - Be sure that page in get param is a digit else use page 1.
Need to find which controller add ?page= instead of &page= because google find some url with '?page=1?page=2' --> page = '1?page=2'. According to google, the referrer is the old website.
Olivier Dony [Mon, 30 Jun 2014 09:58:11 +0000 (11:58 +0200)]
[FIX] auth_signup: discard signup values that may overwriting existing info
Thibault Delavallée [Mon, 30 Jun 2014 09:32:55 +0000 (11:32 +0200)]
Merge pull request #830 from odoo-dev/saas-4-mailing-lists-imp-tde
[IMP] [BACKPORT] Mailing lists usability improvements: headers related t...
Thibault Delavallée [Mon, 30 Jun 2014 09:04:24 +0000 (11:04 +0200)]
[IMP] [BACKPORT] Mailing lists usability improvements: headers related to mailing lists, use of email queue for notification emails (> 50 followers), archive website template imp and fix. Backport of commit 839815f of saas-5 (PR 502).
Thibault Delavallée [Mon, 30 Jun 2014 08:49:43 +0000 (10:49 +0200)]
Merge pull request #472 from acsone/bug-469-amu
[FIX] mass mailing: performance issue on stats #469: use SQL to compute mailing / campaign statistics on mail mail statistics model.
Jeremy Kersten [Mon, 30 Jun 2014 08:46:30 +0000 (10:46 +0200)]
[FIX] website_event - Check that template exists before to render it
antonylesuisse [Sun, 29 Jun 2014 02:46:05 +0000 (04:46 +0200)]
Merge pull request #806 from nbessi/fix_hr_payroll_import
Fix wrong relative import of hr_payroll