Commit Graph
91124 Commits
Author SHA1 Message Date
Richard Mathot 52a37be447 [FIX] project_issue: reviewer_id doesn(t exist
(partial revert of 44a5268c00)
2014-08-06 10:30:52 +02:00
Raphael Collet 4c18c5fb6e [FIX] fields: convert_to_cache() on *2many fields must take record's current value
The existing code was buggy when writing on *2many fields with a list of
commands: the value was converted for the cache, but taking an empty recordset
as the current value of the field.
2014-08-06 09:07:57 +02:00
Thibault Delavallée 836b0f864e [FIX] hr_contract: count the number of contracts of an employee as superuser_id as this field is required in the form view. However no data is displayed, and no data about the contracts are leaked, so no security holes. 2014-08-06 09:01:09 +02:00
Rifakat Husen bc4217ced2 [FIX] stock: onchange method should take the description
The onchange_product_id method used to only change the description if the stock.move is not saved yet. That does not make much sense.
opw 607347, bug lp:1314700
2014-08-06 08:54:31 +02:00
Anael Closson 70b246c3c7 [FIX] analytic: name_search on accounts
The name_search was hardcoding ilike operator while it could be different. This means that a name_search "name != Agrolait" would return accounts with agrolait.
A side effect of this was the impossibility to import account_analytic_account whose parent is a substring of another - opw 607315
2014-08-06 08:53:16 +02:00
Denis Ledoux 625aa7e75d [MERGE] forward port of branch saas-5 up to 7d7f6fe 2014-08-05 16:04:58 +02:00
Denis Ledoux 7d7f6fefb1 [FIX] purchase: now allow 'can be purchased' to be checked even if not variant
Before, the field purchase_ok was set as readonly on the product form if the product wasn't a variant, to avoid users to set all the products variants associated to the product template to be set as purchase able in one action.

We now consider that this can be done by the end user
2014-08-05 16:01:55 +02:00
Denis Ledoux 497883cc51 [FIX] web_kanban: parent can be undefined in some cases
opw-611106, when clicking quickly Sales > Opportunities than Sales > Leads.
2014-08-05 15:44:57 +02:00
Raphael Collet 54b901effd [IMP] models: turn _patch_method() and _revert_method() into class methods
This makes the patching mechanism more flexible, and enables patching BaseModel,
for instance. This should fix #1501.
2014-08-05 15:20:14 +02:00
cod-odoo 2d54afef9e [FIX] account: prevent crash onchange company_id
(rebase of #1534)
2014-08-05 15:09:32 +02:00
Samus CTO 5f6fc4735a [IMP] Do not create FK when destination model is _auto=False
It is not useful to try to create foreign keys when the destination model is
a PostgreSQL view for example.
We already do this kind of verifications but ir.actions and transient models
but did not for _auto.
2014-08-05 15:02:23 +02:00
Raphael Collet 56c54a52df [IMP] base/res_users: improve reading/writing of reified group fields
- simplify the code by removing unused cases
- do not modify input argument 'value' of create/write
- do not call BaseModel.read() with reified group fields (this causes warnings)
2014-08-05 14:17:11 +02:00
Frederic van der Essen dbc2d309b4 [FIX] point_of_sale: partner list rendering was not refreshing correctly. + limited display to 1000 partners for performance reasons 2014-08-05 14:10:59 +02:00
Frederic van der Essen d30dc934f6 [IMP] restaurant: discard kitchen order changes when splitting the bill. 2014-08-05 14:09:58 +02:00
Frederic van der Essen 09bf85ae02 [IMP] restaurant: a module that extends the point of sale with restaurant features 2014-08-05 14:09:48 +02:00
Frederic van der Essen bfd66f351b [FIX] point_of_sale: removed useless console.log() 2014-08-05 14:09:21 +02:00
Frederic van der Essen a27d1a7134 [IMP] point_of_sale: allow an order to remember what screen it was on, instead
of switching back to default screen.

This is used by the soon to be merged restaurant addon to create new orders
and display them at a particular screen.  However, this behaviour is more
confusing in the other cases, so I'll think of a better way to solve this.
2014-08-05 14:09:07 +02:00
Frederic van der Essen cb725a973d [IMP] pos_discount: a new pos extension that allows you to quickly give a global discount on the current order 2014-08-05 14:08:51 +02:00
Frederic van der Essen 28de2183ea [IMP] point_of_sale: report errors when loading the point of sale with a traceback and a nice popup 2014-08-05 14:08:38 +02:00
Frederic van der Essen eacd5329e3 [IMP] point_of_sale: made the server data loading more modular for easier development of point_of_sale extensions 2014-08-05 14:08:24 +02:00
Frederic van der Essen db9a06b842 [IMP] point_of_sale: tests work better when they are loaded and run by the unit test system! 2014-08-05 14:08:08 +02:00
Frederic van der Essen 59396b45f5 [IMP] point_of_sale: forgot changes in this file in the previous commit that introduced unit tests 2014-08-05 14:07:58 +02:00
Frederic van der Essen a70b286144 [IMP] point_of_sale: add a basic UI unit test based on the new 'Tour' module 2014-08-05 14:07:41 +02:00
Frederic van der Essen ad0f710fe7 [IMP] point_of_sale: add a debug option to delete all unsent orders 2014-08-05 14:07:23 +02:00
Frederic van der Essen 584a78a82b [IMP] point_of_sale: add debug popup that displays unsent order data, for when localStorage is hard to inspect
Conflicts:
	addons/point_of_sale/static/src/js/widgets.js
2014-08-05 14:07:14 +02:00
Frederic van der Essen 85d697670c [IMP] point_of_sale: show traceback popup when there is a server error when posting orders (which should NEVER happen !) 2014-08-05 14:04:50 +02:00
Frederic van der Essen 8e212eb6fb [FIX] point_of_sale: it was impossible to delete a pos session 2014-08-05 14:04:38 +02:00
Frederic van der Essen 4f0d454217 [FIX] point_of_sale: order invoicing was broken 2014-08-05 14:04:17 +02:00
Frederic van der Essen ac47f95bad [IMP] point_of_sale: improved rendering speed of the partner list 2014-08-05 14:03:59 +02:00
Frederic van der Essen 75a6bcaee4 [IMP] point_of_sale: a little explaination of how the barcode pattern system works 2014-08-05 14:03:38 +02:00
Frederic van der Essen 2c3fa1c48b [IMP] point_of_sale: add an error sound to the error popups 2014-08-05 14:03:21 +02:00
Cedric Snauwaert 81415b526b [FIX] web: tooltip container set to body in all case
Mandatory since we changed the structure of the dom since 8.0.
2014-08-05 13:57:49 +02:00
Wolfgang Taferner b09a766f0a [IMP] workflow: add sequence for ordering workflow transitions (split/join mode especially for XOR)
Makes ordering transitions easier and more deterministic.

(Rebase of #1564)
2014-08-05 12:26:28 +02:00
Frederic van der Essen ec29736801 [WIP] point_of_sale: work on new payment screen 2014-08-05 12:22:11 +02:00
qdp-odoo 973770f7cb Merge pull request #1581 from odoo-dev/8.0-fix-account-invoice-rco
[FIX] account: fix unexpected invalidation of field account_invoice.reconciled
2014-08-05 11:48:49 +02:00
Anael Closson f09e11f55b [FIX] sale: quote character in company name is converted to html entity
Avoid to get company names such as "L'abc" to be transformed as "L'abc" opw 607221
2014-08-05 11:15:28 +02:00
Florian Hatat c4f5caa511 [FIX] mrp: Fix spelling error on 'manufacturing'
Changing .po files to avoid to retranslate existing terms.
Fixes #1328
2014-08-05 11:11:49 +02:00
Mitesh Savani a2adb48212 [REM] base_report_designer: remove module
Module will stay available at
https://github.com/odoo/odoo-extra/commit/c6298bd43ddb3da063b880f7e8f5635d4765ea3a

Closes #1582
2014-08-05 10:32:08 +02:00
Jeremy Kersten 05f9b45ef1 [FIX] slug: fallback to positive ID when slug appears to contain a missing negative ID
Cherry-pick from dcac4cc0df
2014-08-05 10:26:03 +02:00
Jay Patel f274572c30 [FIX] website_forum: when a user posting a new answer or question does not have a valid email address, redirect to the user's profile instead of crashing when trying to send notifications. 2014-08-05 10:05:49 +02:00
Raphael Collet c0997d332a [FIX] account: fix unexpected invalidation of field account_invoice.reconciled
Problem: the field account_invoice.reconciled was invalidated by a workflow
signal sent from the compute method of the field. The purpose of the signal was
to re-open the invoice when the account move lines were no longer reconciled,
for instance after cancelling a reconciliation.

Solution: modify the workflow such that it makes an automatic transition from
'paid' to 're-open' when the condition 'not reconciled' is met. This works
because the field 'reconciled' is stored, and each recomputation forces a
reevaluation the workflow. The signal to re-open the invoice is thus no longer
necessary.
2014-08-05 10:01:07 +02:00
Jitendra Prajapati 240e042363 [FIX] sale_stock: invoice createde from picking was not using the prive list from the bom components 2014-08-05 09:49:42 +02:00
Mahendra barad dc72b26821 [FIX] website_blog: fixed mobile css for the blog footer 2014-08-05 09:49:42 +02:00
Martin Trigaux dbca34511e [FIX] account: method should return browse records, not set 2014-08-05 09:30:14 +02:00
Denis Ledoux 52eadd5199 [FIX] website: use SUPERUSER_ID to browse company for res_company
In a multi-company environment,
if the user signed in was not working in the company displayed by the website,
he couldn't browse the website
2014-08-04 21:08:18 +02:00
Christophe Simonis e29a7b7b4c [FIX] account: correct v8 version of map_tax() method of account.fiscal.postion 2014-08-04 19:41:43 +02:00
Olivier Dony c5b517696d [IMP] base: improved doc for states attribute of fields
See #1527
2014-08-04 18:20:13 +02:00
Denis Ledoux 0c48520a8d [FIX] stock, sale_stock: product.packaging, product_id renamed to product_tmpl_id
Some domains have not been altered according to this rename
2014-08-04 18:12:29 +02:00
Martin Trigaux 29d16f756c [FIX] calendar: avoid double 'Attendees' field in search view
The partner_ids fields represents attendees but it's confusing to have twice the same field in search view (opw 607275)
2014-08-04 17:52:02 +02:00
Fabien Meghazi f3ab78685d [FIX] ommit (-d, --database) in code reexecution's sys.args stripping
Stripping -d from sys.argv prevent odoo's `start` subcommand to work
properly. Besides, -d is not harmful for code reececution
2014-08-04 17:09:44 +02:00