Commit Graph
102197 Commits
Author SHA1 Message Date
Arthur Maniet 27e237346d [IMP] barcodes: BarcodeEvents uses reserved barcodes prefixes
Export a list of barcodes prefixes used for software functionss
2015-09-03 11:11:56 +02:00
Raphael Collet dce836c3aa [FIX] project: move kanban_state outside of button box 2015-09-03 10:27:19 +02:00
Nicolas Lempereur c32ea33632 [FIX] web_editor, translate: xml translate encoding
lxml.HTMLParser detect the content encoding by itself if not specified.

in the issue leading to this fix, content in a mail with u'\xa4'
( ) was transformed intto u'\xc2\xa4' ( ) since HTMLParser
selected the wrong encoding (latin-1 instead of utf-8 for example).

this commit specify the known encoding and revert 3d00c210f which was
another attempt at this issue.
2015-09-03 10:21:20 +02:00
Cedric Snauwaert e6b7be9bab [FIX] account dashboard: small template mistake
link in dashboard should not look like a button + remove <br/> between link for better aesthetic purpose
2015-09-03 09:59:06 +02:00
Nicolas Martinelli ffa4027a4e [FIX] purchase: _get_name_price_quantity_date takes date string 2015-09-02 19:35:12 +02:00
Nicolas Martinelli 834721e708 [FIX] product: context in _select_seller
It should contain 'partner_id' instead of 'partner' as it was the case
previously
2015-09-02 19:35:12 +02:00
Nicolas Martinelli bc1663ff53 [FIX] purchase: remove double validation from config 2015-09-02 19:35:12 +02:00
Nicolas Lempereur ea07b7dc2b [FIX] website: don't escape if embedded html field
We should escape arch ir.ui.view arch content, but we should not escape
embedded html field content.
2015-09-02 18:36:19 +02:00
Josse Colpaert 56a6483477 [FIX] stock: inventory filters check used the wrong groups 2015-09-02 18:21:31 +02:00
Cedric Snauwaert 9e2077480c [FIX] account: change the default CTA in dashboard to show reconciliation action in priority 2015-09-02 16:27:38 +02:00
pvy 40c9471ede [FIX] l10n_in: added tags that were missing on subtaxes and corrected the amount of some taxes 2015-09-02 16:21:47 +02:00
Denis Ledoux c3ee6e6c1d [FIX] website_mail: mass mailing with fontawesome on GMail
- GMail caches the images contained in emails
 - It seems to take the opportunity to replace `%20` by `+` in the images URLs
 - Werkzeug doesn't seem to handle '+' in URL as spaces (at least not as a %20)
   (See https://github.com/mitsuhiko/werkzeug/pull/756)

When inserting a fontawesome character/image,
there are spaces in the CSS color,
e.g. `rgb(255, 255, 255)`.
And window.encodeURI, doing its job, encode this as
`rgb(255,%20255,%20255)`
This, in the URL, is supported by Werkzeug.
However, Google changes this to
`rgb(255,+255,+255)`
which is not supported by Werkzeug.

The fontawesome images were therefore not available in
mass mailing sent to GMail addresses.

This revision removes the spaces from the CSS color.
This is not the best fix, but
 - We cannot really ask Google to not change %20 by +
 - We cannot afford to wait the support of the '+' as spaces in Werkzeug

opw-648456
2015-09-02 16:16:32 +02:00
Xavier Morel 070aaa0105 [FIX] hr_payroll: replace non-ascii help string by unicode literal
Would trigger a UnicodeWarning when looking to update ir.model.fields
in _field_create (final loop): the unicode value from the database
would be compared with the str value from the model, the str would
fail to decode triggering the warning and assuming a False test,
probably also triggering an unnecessary database UPDATE.
2015-09-02 15:20:06 +02:00
Cédric Snauwaert fb1c52778d [ADD] account_tax_cash_basis module 2015-09-02 14:53:38 +02:00
Christophe Simonis 87ab8eadb1 [FIX] *: correct .po and .pot files 2015-09-02 14:46:11 +02:00
Raphael Collet ed95043d7e [IMP] *: add archive/unarchive feature on some models
Add the statbutton, search filter, and enable the kanban column archiving on
models `res.partner`, `crm.lead`, `event.event`, `hr.employee`, `hr.applicant`,
`mail.mass_mailing`, `mail.mass_mailing.list`, `product.product`,
`project.project`, `project.task`, `project.issue`.
2015-09-02 14:29:42 +02:00
Raphael Collet 8af431d906 [ADD] web, web_kanban: add archive/unarchive
In kanban views, add archive/unarchive for all records in a column.
In list views, add archive/unarchive in sidebar.
2015-09-02 14:29:42 +02:00
Raphael Collet ec181361f0 [IMP] project, project_issue: discard project templates 2015-09-02 14:29:42 +02:00
Yannick Vaucher c9924feb17 [FIX] sale: Remove useless states attributes on user_id
This one has been settled there for ages
but gives the wrong impression it is only editable in draft and sent state.

Nevertheless readonly=True is not define.
Thus this confusing dict is useless.

Closes #3734
2015-09-02 14:26:55 +02:00
Matthieu Dietrich 1cfe1910db [FIX] account: Remove superfluous bracket for analytic account domain
With the bracket in place,
the domain does not consider the last part,
"('state','not in',('close','cancelled'))".

Closes #3714
2015-09-02 14:10:19 +02:00
qsm-odoo 86f62ee559 [FIX] web_calendar: Calendar LESS layout (bootstrap)
Calendar row was not in a container and had so alignement problems
since the reintroduction of bootstrap grid gutter.
2015-09-02 13:22:36 +02:00
qsm-odoo bc11426ab0 [IMP/FIX] *: Kanban dashboard LESS layout
* Fix alignement/layout problems since the reintroduction of
bootstrap grid gutter.
* Fix mobile layout problems.
* Fix various Firefox problems.
* Use odoo variables and simplify LESS.
* Use input type="text" instead of input without type.
2015-09-02 13:22:13 +02:00
qsm-odoo 4ea032e055 [IMP] web: Backport of useful odoo variables 2015-09-02 12:32:06 +02:00
Goffin Simon c3b847daa8 [FIX] delivery: total passed to get_price_from_picking
The total used to check which delivery.grid.line to apply must be in
the currency of the company because the delivery.grid.line records with
variable == Price are expressed in the currency of the company.

opw:647799
2015-09-02 12:17:01 +02:00
matt454357 f243a01795 [FIX] hr_timesheet_sheet: Attendances & timesheets timezone
When creating timesheet,
default from-date and to-date are adjusted for user timezone.
Fixes #3627

User timezone considered when assigning attendance records to timesheet
Fixes #3628

Closes #3632
2015-09-02 11:48:55 +02:00
Damien Bouvy 1b962f9692 [IMP] analytic: add "Analytic Entries" menuitem in accounting 2015-09-02 11:14:29 +02:00
Damien Bouvy 585bda9206 [IMP] project_timesheet: display a link to timesheets in the kanban "more" pullup 2015-09-02 11:14:29 +02:00
Damien Bouvy d4afe59a8c [IMP] sale_service, project: when confirming a so with a "task" product with no project assigned, create the project (and the analytic account) of the so 2015-09-02 11:14:29 +02:00
Damien Bouvy 54b7724a52 [IMP] sale: when encoding analytic lines, do not enforce uom category equality; convert when possible and if not simply encode the entered amount 2015-09-02 11:14:28 +02:00
Yannick Tivisse 1388db411b Revert "[IMP] crm: Your Pipeline, open the list view first"
This reverts commit 8c5f512ec6.
2015-09-02 10:18:17 +02:00
Yannick Tivisse 6f1e8abbc7 [IMP] crm: Added stages by default for a new crm.team
Now we'll have 'New', 'Qualified', 'Proposition' and 'Won' which is folded
2015-09-02 10:18:17 +02:00
Nicolas Martinelli 26ae933544 [MERGE] New Purchase V9 2015-09-02 10:03:32 +02:00
Nicolas Martinelli c64cd05cd1 [IMP] warning: adaptation due to the new Purchase module
Reason: complete rewrite of the Purchase module.

Responsible: fp, nim
2015-09-02 09:37:04 +02:00
Nicolas Martinelli 5fa1ccdcce [IMP] stock_dropshipping: adaptation due to the new Purchase module
Major changes:
- Adaptation of tests

Reason: complete rewrite of the Purchase module.

Responsible: fp, nim
2015-09-02 08:26:03 +02:00
Nicolas Martinelli 280f911350 [IMP] stock_calendar: adaptation due to the new Purchase module
Major changes:
- Rewrite some methods for new api

Reason: complete rewrite of the Purchase module.

Responsible: fp, nim
2015-09-02 08:26:03 +02:00
Nicolas Martinelli a206a693c9 [IMP] stock: minor improvements
Responsible: fp
2015-09-02 08:26:03 +02:00
Nicolas Martinelli d08205baca [IMP] purchase_requisition: adaptation due to the new Purchase module
Major changes:
- Remove call to workflow of purchase

Reason: complete rewrite of the Purchase module.

Responsible: fp, nim
2015-09-02 08:26:03 +02:00
Nicolas Martinelli 0cd4d8a067 [DEL] purchase_double_validation: remove deprecated module
Reason: complete rewrite of the Purchase module.

Responsible: fp, nim
2015-09-02 08:26:03 +02:00
Nicolas Martinelli cb01be235e [IMP] purchase: adaptation due to the new Purchase module
Major changes:
- No generation of invoice from PO
- Remove workflow

Reason: complete rewrite of the Purchase module.

Responsible: fp, nim
2015-09-02 08:19:56 +02:00
Nicolas Martinelli 826661d53a [IMP] account: adaptation due to the new Purchase module
Reason: complete rewrite of the Purchase module.

Responsible: fp, nim
2015-09-02 08:15:55 +02:00
Nicolas Martinelli dbfb634e88 [FIX] report_intrastat: remove deprecated field from report 2015-09-02 08:13:29 +02:00
Nicolas Martinelli 8a4df03308 [DEL] purchase*: remove deprecated translations
Reason: complete rewrite of the Purchase module
2015-09-02 08:12:32 +02:00
Aaron Bohy cc6d2aa995 [MERGE] New view Messaging 2015-09-01 21:25:24 +02:00
Aaron Bohy c2f2a51831 [IMP] mail: load more messages: scrolling
- In the chat, when loading more messages, automatically scroll to the previous
oldest message instead of staying at the top;
- In the chat, don't use the event 'scrollTop < 50' to load more messages as
it won't work on mobile (all the webclient is scrolling, so the client action's
scrollTop will always be 0);
- Generalize the way to load more messages between chat and chatter by moving
the logic to the MailThreadMixin and creating a common template;
- Improve the style of this 'load more messages' button
2015-09-01 21:04:34 +02:00
Aaron Bohy d3df3268a9 [FIX] mail: partner invite dialog
Correctly send a notification on people invite
Also remove useless less rule
2015-09-01 21:04:34 +02:00
Jérome Maes f83f2d97d7 [FIX] mail: disable tests
mail.channel doesn't have the normal behavior of mail.thread,
but the test are based on mail.channel (which is thus a not so good idea).
res.partner is the other model available in mail module, implementing
 the correct behavior of mail.thread, but trigger AccessError. The tests
are commented from now, since TDE and I rewrite the test with a complete
 module dedicated to the test and implementing the expected behavior of a mail.thread.
2015-09-01 21:04:33 +02:00
Jérome Maes 58c9530311 [FIX] im_livechat : fix session binding. Required to bind session on server url from livechat to male it work outside odoo server. In website_livechat, the web.session js namespace is redifined, and i'm still not sure this is a good idea 2015-09-01 21:04:33 +02:00
Aaron Bohy d754c65c1d [FIX] mail: scroll to bottom on new message
only if the message arrived in the current channel
2015-09-01 21:04:33 +02:00
Aaron Bohy 9b14aa4648 [IMP] mail: mail_thread layout 2015-09-01 21:04:33 +02:00
Géry Debongnie 09b4893e12 [FIX] mail: prevent wrong sql query in some cases
Sometimes, the variable partner_id is False (on first connections).  This leads to a
crash because partner_id is a boolean instead of an integer. This commits simply
sidestep the problem.
2015-09-01 21:04:32 +02:00