Commit Graph
94641 Commits
Author SHA1 Message Date
Christophe Matthieu e8e3a4bedf [IMP] web: allow to start the functional modules even if other modules are wrong. Adds the list of missing modules in modules can not be started. 2015-04-02 11:47:05 +02:00
Yannick Tivisse a681ac61c4 [IMP] hr,marketing,website_forum,association : add rights to hide the menuitem to simple employees 2015-04-02 10:56:20 +02:00
Samus CTO 9b7f70c00d [FIX] correct usage of pg var env & use Odoo config in priority
1.  remove code that forces the usage of database user to current user
2.  remove code that forces database host to localhost on Windows
3.  remove unused code that generate pgpass file
4.  when using pg_dump or pg_restore, force pg environment variables to
    Odoo database configuration

Closes #5911
2015-04-02 10:39:59 +02:00
Pedro M. Baeza cd03150999 [FIX] product: do not match on first supplier as pricelist fallback
If a pricelist is based on supplier price, the pricelist should not fetch
the first supplier if there is no result found. Instead of always returning
a result, the pricelists should be configured with different rules with
different priorities to manage fallback (e.g. on cost price).
Fixes #4506
2015-04-01 17:50:21 +02:00
Martin 99b9037716 [IMP] point_of_sale : display full note on receipt and display change after print 2015-04-01 17:45:23 +02:00
Mitesh Savani 55de6cac47 [IMP] report: better default footer for reports
(including TIN, bank accounts, better handling of separators...)
2015-04-01 16:03:38 +02:00
Gaurav Panchal 4840fff39b [IMP] website_sale: add option 'collapse product category' for public categories, in the customize menu 2015-04-01 14:01:23 +02:00
Jérome Maes ab78b89321 [FIX] planner, planner_crm : destroy the planner before recreate it, auto save planner data when the webclient trigger an action (using core.bus), and fixing the url of CRM planner. 2015-04-01 13:13:40 +02:00
Martin Trigaux 4d912af465 [ADD] hr_timesheet_invoice: grouping invoice by partner
Add option to group analytic lines by partner to generate invoices.
Refactoring of the method that was kind of unclear, splitting in separated
methods and adding tests.
Add graph view in analytic lines view.
2015-04-01 10:58:35 +02:00
Binjal Desai ddc808322a [FIX] stock: waiting pickings should include pickings "waiting for another operation" 2015-04-01 10:02:43 +02:00
Hitesh Trivedi 5e45084f1a [ADD] stock_picking_wave: chatter in picking waves
Useful if you want to the pickings to be done to your carrier by sending
her the picking list.
2015-03-31 18:24:11 +02:00
Gaurav Panchal 6e14dd0ef9 [IMP] config: various improvements
- sales_team: demo data enable sales team features to users
- hr_attendance: admin can enable attendance features from hr settings
- multi_company: if admin enable these features, she gets the
  multi-company usability settings
- account: enabling multi-currency functionalities enable pricelist
  functionalities
2015-03-31 17:31:11 +02:00
Jamin Shah 3a3b1979d1 [IMP] product: add related field to uom_id and display it along with cost price 2015-03-31 14:17:06 +02:00
Yannick Tivisse 68f5187fec [IMP] stock: add date_done on stock.picking.form 2015-03-31 13:45:11 +02:00
Yannick Tivisse 6cbf149ec3 [IMP] crm,sale: lead email alias: usability improvements 2015-03-31 10:17:11 +02:00
Yannick Tivisse 981b978a35 [IMP] web: responsive centering of the 'Try to reconnect' banner + color uniformization 2015-03-31 10:06:07 +02:00
Richard Mathot 03d71ad88c [REM] auth_oauth: remove legacy code
The forwardport has been done and these fields are required, so we can
safely shorten the domain.
2015-03-31 09:34:19 +02:00
Richard Mathot 3f87879530 [REM] auth_oauth: unsupported Facebook OAuth provider
(also fixes some typos)
2015-03-31 09:34:19 +02:00
Richard Mathot 4de85b73a6 [FIX] project,issue: kanban state should be required 2015-03-31 08:48:47 +02:00
Arthur Maniet c5de914bf3 [FIX] account: bank statement reconciliation: show statement lines using the model's default order 2015-03-27 16:21:14 +01:00
Christophe Simonis adbc6ae5e9 [MERGE] forward port of branch saas-6 up to 58d6bb3 2015-03-26 19:28:16 +01:00
Raphael Collet 58d6bb30ab [FIX] ormcache: fix calls to ormcache with unexpected context parameter
The implementation of ormcache does not work on methods that take a context
parameter. Because of the decorator decorator, the arguments of the call are
passed positionally to the method ormcache.lookup, and positional arguments
are used in the cache key.

The fix consists in removing the context parameter from the faulty methods,
either directly, or by caching a private method called by the public method.
2015-03-26 18:44:51 +01:00
Christophe Simonis 313acf87a2 [MERGE] forward port of branch 8.0 up to d780014 2015-03-26 18:44:22 +01:00
Christophe Simonis d780014248 [MERGE] forward port of branch saas-3 up to ce69064 2015-03-26 18:00:06 +01:00
Christophe Simonis ce690649e9 [MERGE] forward port of branch 7.0 up to 2a0c018 2015-03-26 17:56:05 +01:00
Christophe Simonis 12416eb35f [FIX] google_*: set a timeout when contacting google servers 2015-03-26 17:48:25 +01:00
FalcoBolger 95b921d0f7 [FIX] website: move support for ir.attachment resources to web module
Commit 540b753bf8 introduced
support for resources stored as ir.attachment records in
asset bundles too.
This is specifically useful for customizations.

However the HTTP route for reaching those resources
when they are *not* in a bundle was originally created
in the `website` module (as a special handling for
404 requests)

This means that these dynamic resources would only
be partially supported when `website` is not installed,
causing various problems:
 - missing resources in debug mode where bundles are skipped
 - errors when trying to define new client-side Qweb templates
   via XML resources - which are loaded with a direct request
 - ...

This commit moves back the supporting code to the web module.

The `mimetype` column is not present in ir.attachment without
the `website` module, but sniffing it based on the attachment
name works fine at serving time too.

Closes #6002
2015-03-26 17:33:19 +01:00
Nicolas Lempereur 2a0c018043 [FIX] kanban: search more when DataSetStatic
When showing a kanban, there is differences between dataset of types:

* DataSetStatic: self.view.dataset===self.dataset, their ids attributes are the entire ids list,
* DataSet and DataSetSearch: self.view.dataset.ids are the already in the view ids, self.dataset.ids are the last gotten ids.

Hence with DataSetStatic dataset, when self.view.dataset.ids.splice(0) is done
self.dataset.ids is also emptied. And in the read_slice function, the slice is
done on that (now empty) array.

This fix removes the splicing of this ids array (which doesn't change a thing
since the array is overwritten latter), a _.difference is used to remove
eventual duplicates since in the DataSetStatic case, the same array is being
concatenated to itself

opw-630654 opw-617090 opw-619563
2015-03-26 17:28:02 +01:00
Raphael Collet c58121e8f1 [FIX] method ir_model.check now decorated with ormcache_context
The method needs the `context` parameter to translate the error message in case
the access is denied and an exception is raised.
2015-03-26 17:14:42 +01:00
han-odoo cec7a02fdd [FIX] POS: invoices taxes according to fiscal position
Fix the issue of taxes not being mapped
according to fiscal postion

opw-615167
2015-03-26 17:08:33 +01:00
Raphael Collet 0beb14f0d2 [FIX] ormcache: fix calls to ormcache with unexpected context parameter
The implementation of `ormcache` does not work on methods that take a `context`
parameter.  Because of the decorator `decorator`, the arguments of the call are
passed positionally to the method `ormcache.lookup`, and positional arguments
are used in the cache key.

The fix consists in removing the `context` parameter from the faulty methods,
either directly, or by caching a private method called by the public method.
2015-03-26 16:42:10 +01:00
Arthur Maniet 6914d5aafc [IMP] account: bank statement reconciliation widget aesthetics
- Animation speed, which is set to 0 when there's no match to prevent a visual glitch, is restored otherwise
- action panes (match / create) are not displayed via CSS, so the widget needs to purposefully show them instead of purposefully hide them
2015-03-26 16:30:49 +01:00
Goffin Simon 3eda25119f [FIX] account: Invoiced doesn't take into account cancelled invoices
"Invoiced" stat button on the res.partner form view must not include cancelled and draft invoices.
The button triggered an action which shows a tree view with invoices where:
type in ['out_invoice'] and all states.
Now the button triggers a tree view with invoices where: type in ['out_invoice' , 'out_refund']
and state not in ['draft', 'cancel'].

opw:472318
2015-03-26 16:27:27 +01:00
Arthur Maniet e221a6e590 [FIX] account: coda unique transaction number was utterly wrong, leading to unhappiness for Christine 2015-03-26 15:56:03 +01:00
Jérome Maes f89c4cd78d [FIX] document : keep order during the search of ir.attachment
Backport of 16fa24d522
2015-03-26 14:48:18 +01:00
Goffin Simon b83f5a8ef9 [FIX] ir_filters: filters not in the language of the user
the context must be passed to the get_filters function to take into account
the language of the user.

opw:630057
2015-03-26 14:41:54 +01:00
Adrien Peiffer (ACSONE) 8b2c8dc0d1 [IMP] account_payment: display amount of transaction on payment line
Was changed on the form view at ab640d2, applying the same to tre view
2015-03-26 14:28:36 +01:00
Goffin Simon d79a1622bb [FIX] base: ir_filters: filters not in the language of the user
the context of the user must be used in get_filters to take into account
the language of the user.

opw:630057
2015-03-26 13:18:19 +01:00
Jeremy Kersten b9adcc7598 [IMP] base_import: match column names withtout check the case
If you try to import a file with a header 'Parent_id/id'
_match_header will not match Parent_id with parent_id
because it was comparing with case sensitive.

It's not a bug, but in most cases this new behaviour (non
sensitive case search) is what the end user was expected.

Hate Excel and the auto correct capitalization !
2015-03-26 11:34:22 +01:00
Christophe Simonis 64b5a7e537 [FIX] website_sale_options: remove reference to openerp variable
(missed it during previous forward-port)
2015-03-26 11:15:00 +01:00
Richard Mathot 6ef068a811 [FIX] doc: exception for date/datetime in kanban views 2015-03-26 11:13:05 +01:00
Laurent Mignon 2faf4b7747 [IMP] Display the line note in the details
When reconciling, it's sometimes useful to have access to the note since the note can be filled with some information by the parser.
2015-03-26 09:57:56 +01:00
Denis Ledoux 8e48eb625d [FIX] mrp: ability to search BOM on BOM lines containing ...
In BOM, when performing an advanced search
on "BOM Lines" contains "a name"
all lines were returned, whatever the lines content.

This was due to the simple fact no field 'name'
was set on the mrp.bom.line model.

We set "product_id" as _rec_name, it seems the more
logical choice.

opw-631335
2015-03-26 09:55:24 +01:00
Géry Debongnie 9333c88d71 [IMP] web: pivot view should allow explicitely defined measures
In some rare cases (non stored functional fields), the pivot view should
allow it as a valid measure.  This commit changes the pivot view in such
a way that any explicitely defined measure will be added to the list,
even if it should not work, like for the non stored functional fields.

The pivot view has no way to know if a generic model has overrided the
read group method in a correct way to make it work, it is up to the
developer to make sure that measures defined in the xml are valid.
2015-03-26 09:46:18 +01:00
Géry Debongnie 54c7eb4403 [FIX] remove forgotten references to variable openerp 2015-03-26 09:22:27 +01:00
Nicolas Lempereur aaf9badbce [FIX] account: context/domain in move line tree
On a line write in a account.move.line tree view, the on_write return all the
sibling move lines of the written move line. The lines are then displayed even
if they do not match the current search domain.

This fix adds the context on the given on_write callback request, and in
on_create_write use a on_write_domain in this context to filter the returned ids.

fixes #3161, closes #5727

opw-630093
2015-03-26 08:59:23 +01:00
Goffin Simon e3ae3650de [FIX] website_quote: Accept button displayed in an expired quotation
The accept button must be hidden if the quotation is expired.

opw:630342
2015-03-26 08:50:23 +01:00
Christophe Simonis 2565aa60e0 [MERGE] forward port of branch saas-6 up to c2b4766 2015-03-25 19:14:46 +01:00
Christophe Simonis c2b4766860 [MERGE] forward port of branch 8.0 up to c54d83e 2015-03-25 18:39:17 +01:00
Christophe Simonis c54d83ebd5 [FIX] mail: column read -> is_read
This is the reverse patch of 132afa981b
2015-03-25 18:36:52 +01:00