Commit Graph

90251 Commits

Author SHA1 Message Date
Olivier Dony bd3df7bfa1 [FIX] orm field (new api): preserve empty values instead of folding to False
The new API introduced a small behavior change where empty
string values written or stored in a char/text field were
replaced by False (i.e. as if they were NULL).
This was done to mimic the web client behavior, but introduces
a very surprising effect: a.name = ""; assert a.name == "";
would fail. It would also require many more tests in the
code when reading existing required values from the database,
as they could still be False when an empty string value
had previously been stored, for some reason.
2014-08-13 10:44:05 +02:00
Christophe Simonis 1644708fe8 [IMP] models.py: _auto_init: accelerate row existance check
Using `COUNT(1)` on big table can be slow. Use `min(id)` which use
pkey index to have a quicker response
2014-08-12 18:38:55 +02:00
Josse Colpaert 726725a950 Merge pull request #1663 from odoo-dev/8.0-wmsstaging5-jco
8.0 wmsstaging5 jco various fixes from support and github issues
2014-08-12 16:12:42 +02:00
Josse Colpaert 2a7c13e7bb [IMP] Not necessary as operations are computed, but more logical to do action_pack as dropdown(process) 2014-08-12 15:18:34 +02:00
Josse Colpaert 242d25c9c2 [FIX] Don't change to product_uom_qty if not move 2014-08-12 13:37:27 +02:00
Josse Colpaert 5dea263e1b [FIX] Change two-one step wh, multi-comp wh, quantity field float, show product_uom_qty instead of product_qty in mrp production for moves 2014-08-12 13:37:27 +02:00
Josse Colpaert 4aa9ef8224 [IMP] Type manufacturing orders, remove double accounting entries, child_of, push rule global has no route 2014-08-12 13:37:26 +02:00
Josse Colpaert dd4bf0b7ed [IMP] Condition tag would not be upgraded when migrating 2014-08-12 13:37:26 +02:00
Josse Colpaert 2fe5bb8df7 [IMP] No attrs for taxes and income/expense accounts 2014-08-12 13:37:26 +02:00
Josse Colpaert 7191bbfb24 [IMP] is_product_variant not needed in most views + no delete in stock valuation history 2014-08-12 13:37:26 +02:00
Josse Colpaert 64fde56a54 [IMP] Gives warning when the product needs tracking in bar code interface + pack ops with packs don't need lot for related moves 2014-08-12 13:37:25 +02:00
Josse Colpaert e5a9bd536d [IMP] Average price correction + Lot should be changeable in bar code interface 2014-08-12 13:37:25 +02:00
Fabien Pinckaers f43e349d85 [IMP] Footer message according to installed apps 2014-08-12 13:06:08 +02:00
Olivier Dony 3f91f85f60 [IMP] ORM: Coalesce NULL boolean values to false when generating ORDER BY
After commit f28be81, boolean columns may have more
NULL entries than before. In the (rare) cases where
a boolean column was used for an ORDER clause
(e.g. in the /shop page of website_sale), this
causes a change of the resulting ordering.

By coalescing NULL values to false in SQL,
we make the ordering consistent with what the
framework does for domain expressions with booleans,
and when reading boolean values, that is, NULL is
the same as False.
2014-08-12 12:32:35 +02:00
Christophe Simonis 8c7519ccad [FIX] website_sale: partially revert 086cfd5.
Use less specific css selectors in "buy product" tour.
2014-08-12 12:16:36 +02:00
Fabien Pinckaers ef944dcd55 [IMP] Maifest for Github README.md on main apps 2014-08-12 11:33:15 +02:00
Christophe Simonis 086cfd5c92 [FIX] website_sale: correct "buy product" tour to search the product before selecting it 2014-08-12 11:26:32 +02:00
Fabien Pinckaers 8a2b0b4809 [ADD] README.md for CRM 2014-08-12 10:50:17 +02:00
Fabien Pinckaers 7b26db3593 Update README.md 2014-08-12 09:18:44 +02:00
Fabien Pinckaers bd5b528621 [IMP] Update Readme, business apps 2014-08-12 09:15:51 +02:00
Fabien Pinckaers 4911dfa7fe [IMP] Update Readme, business apps 2014-08-12 08:52:14 +02:00
Frédéric Van der Essen 519a704cba Merge pull request #1731 from hmen89/8.0-pos-dom-cache-fix
[FIX] point_of_sale: DOM Cache Error
2014-08-11 18:12:01 +02:00
Frederic van der Essen d91263d03e [FIX] point_of_sale: #1558 The partner was not correctly identified on the bank statement line, creating open balances on the partner account 2014-08-11 18:02:28 +02:00
Grover Menacho 1cb4495422 [FIX] point_of_sale: DOM Cache Error 2014-08-11 11:58:15 -04:00
Christophe Simonis fda1e7d290 [FIX] ir_cron: typo introduced in commit a3d6b3a 2014-08-11 17:37:46 +02:00
Frederic van der Essen c40c9734f1 [FIX] point_of_sale: support for variants in the pos, one simply needed to use the display_name which contains the product variant info.
Conflicts:
	addons/point_of_sale/static/src/js/models.js
2014-08-11 17:17:12 +02:00
Frederic van der Essen 37a2f10127 [IMP] point_of_sale: make the confirm action color less frightening & longer delay 2014-08-11 17:17:12 +02:00
Frederic van der Essen 4f55c9d68d [FIX] point_of_sale: it was too easy to accidentally hit the close button on ipads, made it double click only 2014-08-11 17:17:12 +02:00
Frederic van der Essen 8d32f80fe3 [FIX] point_of_sale: order sequence number should take into account offline generated orders 2014-08-11 17:17:12 +02:00
Frederic van der Essen 7e18563bdb [FIX] point_of_sale: partners should be searchable by phone or mobile number 2014-08-11 17:17:12 +02:00
Frederic van der Essen 4ae6babb29 [FIX] point_of_sale: order buttons were too big to be used on tablets 2014-08-11 17:17:12 +02:00
Richard Mathot a3d6b3ae4b [FIX] ir_cron: typo introduced in fwdport
ae65be2b2a
2014-08-11 16:52:11 +02:00
Olivier Dony 34cc064400 [IMP] mail.mail: simplify: no default for `headers` field
This avoids storing useless "{}" values
in the database when there are no headers,
and avoids having to update all existing
entries when this column is added.
Just requires simple tests before evaluating
the headers contents.
2014-08-11 16:32:36 +02:00
Olivier Dony f985c0bc11 [IMP] mail.mail: unused `import re` 2014-08-11 16:07:51 +02:00
Denis Ledoux 233670d681 [FIX] ir_cron: forgotten conflict from forward port ae65be2b2a 2014-08-11 16:03:41 +02:00
Denis Ledoux ae65be2b2a [MERGE] forward port of branch saas-5 up to 0739bc4 2014-08-11 15:58:02 +02:00
Thibault Delavallée c64b077362 [FIX] mail: fixed bounce email recognition + invite email headers + mass mailing statistics not lost anymore
- [FIX] bounce regex: too many emails were considered as bounce and therefore
not displayed in the chatter and lost for the communication history. The regex
was not correctly looking for the bounce alias in the email_to.
- [FIX] invite email: replying to the invitation email (invitation as new
follower) now replies to the user sending the invitation.
- [FIX] mass_mailing: added a column to store the id of the original email
in addition to the many2one column. The many2one is set to null when deleting
the original email. As the information is necessary, it is saved on another
field. The many2one is necessary for indexes purpose as the inverse of
a one2many.
2014-08-11 15:39:26 +02:00
Denis Ledoux 0739bc4eda [MERGE] forward port of branch saas-4 up to 7ecaab9 2014-08-11 15:31:04 +02:00
Denis Ledoux 7ecaab9fe2 [MERGE] forward port of branch saas-3 up to 2f4be42 2014-08-11 15:30:37 +02:00
Denis Ledoux 2f4be42d8c [MERGE] forward port of branch 7.0 up to 3632949 2014-08-11 15:28:54 +02:00
qdp-odoo 9b0cac0aa0 [FIX] account_followup: total in foreign currency displayed in the right currency instead of company currency 2014-08-11 15:23:05 +02:00
Denis Ledoux 3632949cff [FIX] web: image fields re-render on next/previous
By default, on binary images read, the server returns the binary size
This is possible that two images have the exact same size
Therefore we trigger the change in case the image value hasn't changed
So the image is re-rendered correctly
2014-08-11 14:39:50 +02:00
Cedric Snauwaert 576e3c776a [FIX] css: add display table rule to oe_popup_form class
To correct the display of the "add contact" wizard in modal (buttons not well placed)
2014-08-11 14:20:49 +02:00
Nicolas Seinlet 8dc8302dad [ADD] wms: add option to select package type in WMS barcode interface 2014-08-11 13:45:39 +02:00
qdp-odoo 5e20e7a302 [FIX] account, point_of_sale: fixed the feature to put money in or take money out of a cash register. Fix #1416 2014-08-11 13:18:17 +02:00
Olivier Dony a2943a4432 [IMP] fields.boolean: simplify symbol_set, cast to bool
In combination with f28be81, this should help speed up
initialization of new boolean columns. psycopg2 handles
bool parameters values just fine inside cr.mogrify()
2014-08-11 12:37:52 +02:00
Denis Ledoux 77fd6fe9d4 [FIX] account_bank_statement_extensions: inadvertence error during cbe2dbb
Inadvertence error during the convertion to the new API.

line_ids is already a list, no need to set it again in a list.
2014-08-11 11:50:58 +02:00
Olivier Dony f28be81bc7 [IMP] models._auto_init: avoid writing `False` default for boolean fields
Boolean fields always default to False in 8.0,
even when they do not have explicit default values.
This causes extra queries in the form:
  UPDATE <table> SET <bool_field> = false
      WHERE <bool_field> IS NULL;

Those are not necessary as the ORM automatically
folds NULL booleans to False, and can be very
expensive on tables with several million rows,
as the whole table may sometimes need to be
rewritten (can take dozens of minutes)
2014-08-11 11:34:12 +02:00
Denis Ledoux 2b0487113a [FIX] yaml tests: Set on_change keys not in view logger as debug instead of warning
This is related to commit d31faceb67
(This is to avoid the runbot being yellow if on_change methods have extra keys in the returned value, this is not wrong, the web client will simply ignore them).
2014-08-11 11:11:36 +02:00
Jérome Maes 2da233d89d [FIX] web_kanban : resequence column and content by drag and dropping 2014-08-11 11:00:31 +02:00