Commit Graph
98927 Commits
Author SHA1 Message Date
Richard deMeester 91aa012ed0 [ADD] l10n_au: Australian Accounting
Basic Australian Accounting Module.

Closes #8936
2015-10-08 15:34:28 +02:00
Fabien Pinckaers 1a58579540 [FIX] fix and improve res.config views and typos 2015-10-08 05:42:48 -07:00
Olivier Dony 72ac0a3864 [DOC] Update version number for doc builds 2015-10-08 14:39:15 +02:00
Christophe Combelles 6ceb0a2b1b [FIX] setup.py: pyparsing version inconsistent with requirements 2015-10-08 12:00:13 +02:00
qdp-odoo 1eee1cc8fc [FIX] sale, purchase: sale/purchase analysis fixed to display information when no rate is defined for the operation date (which happens easily with no demo data for example) 2015-10-08 11:29:02 +02:00
Martin Geubelle 703b384a1e [FIX] web_planner: correct link in help 2015-10-08 10:57:22 +02:00
Odoo Translation Bot 8c4f17fd8b [I18N] Update translation terms from Transifex 2015-10-08 10:24:11 +02:00
qdp-odoo a56c0ccbe4 [FIX] purchase, stock_account: fixed use of fiscal position for anglo saxon accounting entries. PR related #8813 2015-10-08 08:50:22 +02:00
qdp-odoo 827da65435 [REF] delivery: removed dead code 2015-10-08 08:50:22 +02:00
qdp-odoo 2e799a1ca7 [IMP] l10n_generic_coa (~l10n_us): add stock accounts on the chart template definition 2015-10-08 08:50:21 +02:00
qdp-odoo 454d65e382 [FIX] sale: proper use of fiscal position when creating invoices from SO 2015-10-08 08:50:21 +02:00
Richard Mathot 711878c18c [FIX] hr,l10n_in_hr_payroll: ACL errors for users who are not HR Officer/Manager
These menus were visible to all employees, but the reports use
hr.salary.rule.category that is only available to HR Officers/Managers.

As these reports are not meant to be available for employees anyway, we
hide them.

(this bug has been spotted by the nightly crawler that clicks on every
menu as demo user)
2015-10-08 08:46:03 +02:00
Nicolas Martinelli 55fa0912fe [FIX] base: use datetime instead of date
The variable `date` is compared to the field `name` in the selection
query. `name` is filled in with datetime data. In particular, in the
module currency_rate_live, datetime.now() is used in the name. It is
necessary to make an appropriate comparison to make sure we select the
updated rate right away.
2015-10-07 18:48:12 +02:00
Raphael Collet 3571c0e4a4 [IMP] ir_translation: discard trivial translations (src=value) upon terms synchronization
This avoids keeping old values in automatically generated translations when
fixing the XML value to translate.
2015-10-07 16:51:36 +02:00
Jérome Maes 3e3ba3e2b7 [FIX] mail : controller chat_post force text to be plaintext
This controller is mainly used by im_livechat which don't send html message. It is more secure to force it in plain text. If anonoymous user write html tags, it will be escaped and sanitize.
2015-10-07 16:37:23 +02:00
Jérome Maes b1849f532e [FIX] mail : posting message with mention and clickable url
Posting message is done in 'html' since mention add html tag in body. Clickable url is done server to allow link in mail and chat message. Plaintext are transform into html, and html message are simply parsed to transform url into clickable link.
2015-10-07 16:37:11 +02:00
Jérome Maes e49847ed19 [FIX] purchase : bad call to message_post
The body of the mail.message was the list ids instead of a string. This is better now !
2015-10-07 16:37:03 +02:00
Jérome Maes c11ec38c7b [FIX] mail : allow employee to create private channel
When creating channel, the creator partner should be added as member with  (and not ) to respect access right.
2015-10-07 16:36:52 +02:00
Denis Ledoux 422f3b5d8a [FIX] sale: prevent the change of product of a SO line when there are procurements
When adding a line to a confirmed sale order,
the procurements are automatically created, with
this product.

Therefore, the product of the line should no longer be changed,
as otherwise, the product on the procurement would no longer
be the same product than on the sale order line.

To be able to change the product of a line on a
confirmed sale order, you must therefore first
delete all procurements.
2015-10-07 16:30:18 +02:00
Denis Ledoux a5e737f79c [FIX] sale: add lines on a confirmed sale order.
When using the editable list on the sale order form,
it was not possible to add a new line on a confirmed sale order,
while it should
(when `Allow to edit sales order` is chosen in the Sales settings).

The reason was that the fields `tax_id` and `product_id` were
set as readonly when the SO state was not draft.

When using the popup/dialog view, it worked by luck, because
the line `state`, which is a stored related field to the sale order state,
was not correctly computed, and was seen as `draft`, while it should
actually be `sale`, for a confirmed sale order.

We change the readonly condition of these fields,
which is now based on the fact wether or not
the line is already invoiced or not, which makes
more sense.

opw-651573
2015-10-07 15:31:05 +02:00
Aaron Bohy 4f9c9adf37 [FIX] mail: chatter: various fixes
- Add recipients as followers, and automatically refresh the follower's list
  (before this rev., one needed to reload the record to see the followes' list
  updated)
- Don't display needactions on chatter's messages
- Simplify buttons of suggested partner's dialog, as it should only offer two
  possibilities: Save or Cancel
- Replace unnecessary t-raw's by t-esc's
2015-10-07 15:09:33 +02:00
Richard Mathot 85be3dc3ec [REM] *: get rid of modelines 2015-10-07 12:55:01 +02:00
qsm-odoo 9c85163190 [FIX] base,web_kanban: flex in app kanban was useless
+ was breaking old safari versions
+ modify oe_kanban_avatar_smallbox for compatibility
2015-10-07 12:40:43 +02:00
Damien Bouvy 244556ac5f [FIX] sale_service: do not remove an existing value for so_line in account.analytic.line
When looking for a so_line linked to the task, the sale_service module accidentaly removed the already referenced so_line.
The desired behaviour is:
1/ Check if task is linked to so_line, if yes reference it
2/ If not, then let the dict as it was before, do not put False if there already was a value (for example something that sale_timesheet might have found)
2015-10-07 12:27:21 +02:00
Pedro M. Baeza fbc66b29e3 [IMP] mrp: Provide hook methods in _bom_explode
Cherry-pick of ed57bb9 for v9
Closes #8885
2015-10-07 11:30:51 +02:00
Martin Geubelle 1d94b75b01 [IMP] web: more fun on wow button
Change the icon once in a while randomly
2015-10-07 10:45:33 +02:00
Danimar Ribeiro e68b304c55 [FIX] web: set the formatted date in the datepicker
Fixes #8867
Closes #8905
2015-10-07 08:27:45 +02:00
Nicolas Martinelli 6f5ee9da68 [FIX] sale_stock: properly loop on picking 2015-10-07 08:27:45 +02:00
Richard Mathot fbdb5564f3 [FIX] survey: do not add "(copy)" everywhere
When duplicating a survey, the title of the survey gets "(copy)", but
the pages and the questions should not.
2015-10-06 17:57:24 +02:00
Cedric Snauwaert 726f7f368c [FIX] account: don't install a coa if we already have some account existing on the company 2015-10-06 17:20:59 +02:00
Aaron Bohy f23f57ccf4 [FIX] im_livechat: livechat restored after refactoring of mail
Refactoring of the livechat itself and integration in the new architecture of
mail since its large refactoring.

Joint work with ged
2015-10-06 16:24:47 +02:00
Aaron Bohy 8019c89ea8 [IMP] mail: prepare livechat integration
- Extract sub-templates for client action's sidebar to ease the livechat
  integration
- Handle livechat's channel_type and messages in chat manager
- Make scrollBottom work in the frontend
2015-10-06 16:24:28 +02:00
Aaron Bohy 01caecf1c7 [FIX] mail: avoid crash when channels contain special characters 2015-10-06 16:24:24 +02:00
Aaron Bohy aab4ef752e [IMP] mail: thread: parameterize the display of messages' star
To allow hiding it in livechat windows on the website.
2015-10-06 16:24:09 +02:00
Aaron Bohy 212bbf1f7e [FIX] mail: thread: messages' date displayed in browser's timezone 2015-10-06 16:23:56 +02:00
Aaron Bohy 581c38cdca [IMP] mail: new message notifications: display message preview 2015-10-06 16:23:25 +02:00
Damien Bouvy 10f411d76a [FIX] website_sale_delivery: digital products do not need a carrier 2015-10-06 15:57:16 +02:00
Raphael Collet 0bf0dff7b0 [IMP] models: enable update on a xml-translated field
Enable the update of such a field, even if there is a language in context:
simply update the main value and synchronize source terms.
2015-10-06 15:27:45 +02:00
Raphael Collet 1a4892f020 [FIX] base_action_rule: trigger rules upon field recomputation 2015-10-06 15:23:39 +02:00
Raphael Collet 25251b2dbd [IMP] base_action_rule: make tests work (rename file and rewrite them to work)
Introduce test rules in demo data instead of during the test, because their
creation/update restarts the registry.  Moreover, the registry is only patched
after all installations.  So the test must be run at post-install phase.
2015-10-06 15:23:39 +02:00
Martin Trigaux bf0c7379e2 [FIX] web: groupby -> group by
Hopefully "group by" is already translated somewhere else so does not break trads
2015-10-06 15:07:54 +02:00
Damien Bouvy 623c757945 [FIX] purchase: simplify migration by putting an oldname when renaming a field 2015-10-06 14:39:25 +02:00
Daniel Dico ae69f2849b [FIX] stock_account: use fiscal position to map account
Closes #8813
2015-10-06 13:44:03 +02:00
Goffin Simon 595a33a2b1 [FIX] web_kanban: display all items of a selection field
If field.type === "selection" then group.attributes.value is an Array
and s[0] could never be equal to group.attributes.value
2015-10-06 13:39:08 +02:00
Christophe Matthieu e047130314 [FIX] web_editor: oStyle.range can be undefined
On initialisation summernote call update method with oStyle.range is undefined.
The range can be undefined because the update is call before any selection and attach method from summernote call the update without range.
The method summernote_table_update try to use the range and raise an exception.

fix: Check if oStyle.range exits.
2015-10-06 10:44:37 +02:00
Christophe Matthieu afa361f86e [FIX] product: update the name of the pricelist items on change
Issue: when the user create a pricelist item, the function fields (name, price) are updated only on save (the form view) and not on change.
In the pricelist form view, the 'item_ids' one2many receive empty value from the modal (name, price).

Fix: update 'name' and 'price' field to the new v8 api.
2015-10-06 10:40:04 +02:00
Christophe Matthieu dde78a7af5 [FIX] website_sale_options: display the options name with the linked product in the description after quantity changed
Issue: when the user change a quantity, the description of the linked optional products change and the linked product name disappear.
2015-10-06 10:38:37 +02:00
Nicolas Martinelli 470e8f5f22 [FIX] sale, sale_timesheet: multiple fixes
1) Domain of account.analytic.line

When an expense is created with a cost of zero, the quantity delivered
on the SO line is not updated.

2) Delivered quantity updateable if manual tracking

The delivered quantity cannot be manually modified if it is calculated.
Therefore, we need to restrict the condition to a manual tracking.

3) Upselling conditions

Upselling is possible only for a product invoiced on ordered quantities
for which we delivered more than expected.
2015-10-06 10:21:48 +02:00
Denis Ledoux 41579a293d [FIX] im_livechat: security record rules for live support
* There is no `mail` field on model `mail.message`
  * There is no `mail.channel_ids` field on model `mail.channel`

opw-650656
2015-10-06 10:14:55 +02:00
qdp-odoo f24b198773 [REF] purchase, sale_stock, stock_account: some refactoring 2015-10-06 09:59:18 +02:00