Olivier Dony
7439421ad2
[I18N] Update translations from Launchpad 8.0 branches
2014-10-08 17:52:25 +02:00
Denis Ledoux
b675ff1f0a
[FIX] purchase: do not pass uom in product_id_change when changing of product
...
To allow the on change to set the product default unit of measure when changing of product, and only in this case (not when changing price or quantity)
2014-10-08 17:21:29 +02:00
Denis Ledoux
38668fd404
[FIX] website_sale*: handle no delivery methods in website
...
Display a user friendly message instead of crashing when there is not delivery method available for a specific order
2014-10-08 15:38:16 +02:00
Raphael Collet
cad29b0fdf
Revert "[FIX] Error when installing module document"
...
This reverts commit 8dd4c83d9c
.
It does not fix the issue, but hides it instead.
An actual fix has been made since.
2014-10-08 14:48:13 +02:00
Frederic van der Essen
a644c4c3c1
[FIX] pos_restaurant: Issue 614981: product renaming from name to display_name was not done in the pos_restaurant module, resulting in empty product names in various places
2014-10-08 12:42:08 +02:00
Fabien Meghazi
6c779e736a
[FIX] dict notation for js reserved words in options ( Fixes #2957 )
2014-10-08 12:33:56 +02:00
Cedric Snauwaert
c521bb2835
[FIX] kanban: remove container=element for tooltips on kanban
2014-10-08 11:54:31 +02:00
Denis Ledoux
9f214223ea
[IMP] website_event: add mail subtypes
...
Add published and unpublised mail subtypes, to track events publication, and to be able to follow these subtypes
2014-10-07 19:05:39 +02:00
Jeremy Kersten
8ff6299d9d
[FIX] website_sale: save the company in street and the street in street2.
...
The old behaviour was not better, because when we print the invoice, the order was ugly:
Name
Street
Company name
Country
Now we will have:
Name
Company name
Street
Country
This patch is not retro-compatible:
Old partners will see the address in company name and vice-versa.
Need to update view and switch street field and street2 field
2014-10-07 19:00:45 +02:00
Frederic van der Essen
717895be1a
[FIX] point_of_sale: prevent empty order creation as they are not accepted by the backend
2014-10-07 18:18:59 +02:00
Martin Trigaux
ea68690407
[IMP] gamification: avoid sending twice emails in cron
...
When the cron is running on a database with a large number of goals (e.g. website_forum with thousands of users), it's possible the CPU time is exceeded and we may have a rollback after sending some emails (for granted badges).
To avoid sending twice emails, commit in cron mode after each reward.
2014-10-07 18:14:57 +02:00
Josse Colpaert
3b46d03255
[FIX] Can not execute line when stop date is EARLIER than current date
2014-10-07 13:57:09 +02:00
Xavier Morel
9cd2693286
[FIX] JS tutorial
2014-10-07 10:23:50 +02:00
Xavier Morel
62c9589485
[ADD] port webclient RPC doc from web/doc
2014-10-07 10:22:53 +02:00
Xavier Morel
62fcce9054
[ADD] JS widgets reference documentation
...
Also fixed Widget#alive's behavior and tested it
2014-10-07 10:21:44 +02:00
Denis Ledoux
2c25fa2dc4
[MERGE] forward port of branch saas-3 up to 56f678c
2014-10-07 09:59:55 +02:00
Denis Ledoux
56f678c8e9
[FIX] gamification: on delete goal user, cascade
...
Otherwise, this is no more possible to delete users with gamification goals
2014-10-07 09:57:35 +02:00
Xavier Morel
d5e3d121e3
[ADD] qweb: call directive's body
...
* __content__ can't be used in Python implementation because safe_eval, so use
``0`` from Python implementation instead
* remove postfix from t-call tests because due to implementation details all
whitespace crap following a t-name is added to rendered template in Python
impl, and don't want to normalize whitespace.
2014-10-06 19:13:45 +02:00
Xavier Morel
2ffcff8fa9
[ADD] qweb: handling of t-att=mapping
...
Changed render_att_att to return an iterable of pairs instead of a pair, and
dispatched t-att on whether its result is a Mapping.
Also changed qweb test runner so it uses ordereddict for JSON mapping in
params, otherwise iteration order (and thus order of attributes in output) is
unpredictable and results don't/can't match expectations (as both are
strings).
Note that this relies on JS implementation details wrt iteration order of
mappings. Tests would probably be somewhat less brittle if rendering output
was parsed to XML... if that's possible (?)
2014-10-06 19:13:44 +02:00
Xavier Morel
494dcbd0e3
[IMP] qweb doc, tests
...
* document qweb based (mostly) on JS version
* convert JS qweb tests to (mostly) language-independent XML so they can be
used for JS and Python implementations
* add some more tests (e.g. precedence between t-value and body in t-set)
* remove ``t-import``
* fix parity in foreach(dict) (and rename some variables to make array and
object versions more similar)
2014-10-06 19:13:43 +02:00
Xavier Morel
bed6b01c53
[ADD] qweb-js: escf, rawf for parity with Python version
2014-10-06 19:13:42 +02:00
Xavier Morel
4fb49a67f3
[ADD] qweb-js: jinja-style interpolation pattern
2014-10-06 19:13:41 +02:00
Xavier Morel
35f5fb46e7
[IMP] qweb-js: reimplement string interpolation compilation as a single pass
2014-10-06 19:13:40 +02:00
Xavier Morel
9fe71a5d18
[IMP] update qweb-js tests
...
* latest qunit
* template loading (handle async)
* add format tests
2014-10-06 19:13:40 +02:00
Martin Trigaux
8843974d04
Forward port of branch saas-3 up to fc9fc3e
2014-10-06 15:52:23 +02:00
Simon Lejeune
e388cb8c32
[FIX] account: res_config: gain/loss exch. account onchange
...
Commit f4e350ca3
defined an `onchange_company_id` method, never executed
because another `onchange_company_id` was defined below. Merged the first
in the second.
2014-10-06 15:27:53 +02:00
Simon Lejeune
1029dbc4f3
[FIX] website_quote: forbid to define a quote template on a sale order
...
Defining a quote template may change the product list. The field template_id is now editable
only when the sale.order is in draft or sent state.
2014-10-06 15:13:30 +02:00
Jeremy Kersten
651d5748e3
[IMP] website_crm: allow the response from crm thanks page to be overridable
2014-10-06 14:34:29 +02:00
Jeremy Kersten
c04b0443b7
[FIX] google_calendar: add missing parameter to logger_info
2014-10-06 14:32:28 +02:00
Young Joy
dfc2e1ce1b
[FIX] project: typo in protect.task create
...
that typo will cause project task create error when set date_end before the time right now
2014-10-06 11:39:27 +02:00
Josse Colpaert
f563be5cc0
Merge pull request #2918 from odoo-dev/8.0-wmsextramoves-jco
...
[IMP] Make sure invoice_state of picking is used when creating extra moves
2014-10-06 09:52:12 +02:00
Josse Colpaert
fc65efbb9b
[FIX] Fix inheritance in point_of_sale views + ean visible on creation + landed costs views
...
[IMP] Set custom EAN not visible when multiple variants
[IMP] Change landed costs views + make ean visible upon creation
2014-10-06 09:14:20 +02:00
Josse Colpaert
899f2066e9
[FIX] Adapt product variants in order to show internal code and ean13 #2772
...
[IMP] Typo
2014-10-06 09:14:20 +02:00
Josse Colpaert
383f2b2c43
[IMP] Make sure invoice_state of picking is used when creating extra moves and take price of related move if there is one
...
When we would copy, it gives problems as it won't be invoiced the correct way on sale, so we provide for a simpler solution.
2014-10-06 09:10:09 +02:00
Jeremy Kersten
ab7b5d7732
[FIX] website_crm: move the input hidden generated with kwargs at bottom of the form. Else, if the args is a field displayed later, form never look about the new value and error remains. When we post a form with 2 fields with the same name, we got only the first one into kwargs from controller.
2014-10-03 22:26:26 +02:00
Jeremy Kersten
24bec094c2
[IMP] hr_holiday/calendar : allow to pass no_email into context when we create a meeting to avoid to send a mail to attendees.
2014-10-03 20:43:48 +02:00
Jeremy Kersten
42c13efcee
[IMP] google_calendar: add missing file google_calendar.xml
2014-10-03 18:08:28 +02:00
Jeremy Kersten
f3346223ac
[IMP] Google calendar - add function to allow the cron to run google calendar synchronization
2014-10-03 17:52:31 +02:00
Prashant Panchal
ecacffcb6e
[FIX] account_anglo_saxon: avoid two box purchase_ok field
...
as account_anglo_saxon depends from purchase and purchase already adds the field purchase_ok
Fixes #2630
2014-10-03 17:26:28 +02:00
Holger Brunn
4c6a998c29
[FIX] auth_ldap: remove insignificant spaces in login
...
strip spaces from user name as they will probably be ignored by ldap's search (rfc4518)
Fixes #2865
2014-10-03 17:02:12 +02:00
Arthur Maniet
e6ca891714
Merge pull request #2894 from erwin-bas-solutions/translation-reconcile
...
[FIX] Account. Missing translation on write-off comment
2014-10-03 16:00:10 +02:00
Erwin van der Ploeg
2ec99aee18
[FIX] Account. Missing translation on write-off comment
2014-10-03 15:38:45 +02:00
Martin Trigaux
7e33a4746b
Forward port of branch 7.0 up to b3485fb
2014-10-03 15:17:36 +02:00
Martin Trigaux
b3485fb59c
[FIX] event: double context
2014-10-03 15:15:12 +02:00
Martin Trigaux
e11d44eab4
[FIX] event: missing context
...
This fixes some translation issues (templates not translated at event confirmation)
2014-10-03 15:12:04 +02:00
Julien Legros
5153b2d281
[FIX] website_quote: use dedicated email template if a quote template exists
2014-10-03 14:22:38 +02:00
Denis Ledoux
7aa5d397c8
[Revert] cb30783aba
& 6349048ba0
...
[FIX] web: avoid force_reload in list editable
[FIX] web: force load record after reload page
These fixes prevent to open existing record form
2014-10-03 14:03:12 +02:00
Martin Trigaux
066fbb6613
[FIX] account_anglo_saxon: price difference, discount and taxes
...
When computing the price difference amount do not integrate the eventual discount and taxes included in the price.
Otherwise the total of the generated accounting enty would be higher than the total of the invoice. opw 611350
2014-10-03 12:19:01 +02:00
Denis Ledoux
cd6dba5257
[MERGE] forward port of branch 7.0 up to 9066da3
2014-10-03 12:13:07 +02:00
Denis Ledoux
9066da3369
[FIX] point_of_sale: do not display False as currency if symbol is not set
2014-10-03 12:10:16 +02:00