Commit Graph
94661 Commits
Author SHA1 Message Date
Christophe Matthieu d8c52d677b [IMP] web: remove unused widget many2oneButton 2015-04-15 13:31:20 +02:00
Christophe Matthieu 64ce3df5d7 [FIX] web_kanban: display add button for many2many kanban view 2015-04-15 13:31:20 +02:00
Denis Ledoux c35dcb378f [FIX] base: remove size limit from res.bank
These limits are not really useful,
besides, 16 chars BIC is not really
standard, it's Belgium specific.

opw-632728
2015-04-14 10:26:32 +02:00
Frédéric van der Essen 7d2633f0c9 [FIX] point_of_sale: PosModel extensions were ignored, preventing the floor plan extension from loading 2015-04-13 16:18:09 +02:00
Jay Patel 8a91c9ea6b [IMP] website: relevant data for comparison snippet 2015-04-13 13:39:13 +02:00
Yannick Tivisse 9c0763c426 [IMP] purchase : onboarding improvements 2015-04-13 11:40:22 +02:00
Aaron Bohy b4dd0b6f8c [IMP] Web: ControlPanel: properly and securely expose nodesets 2015-04-10 15:34:12 +02:00
Julien De Coster e3d8d95818 [FIX] Website links with new API 2015-04-10 12:37:59 +02:00
Cedric Snauwaert 9d87d15db6 [ADD] new fields.Monetary + updated widgets
Enhance current widget="monetary" client-side feature and
convert it to a first-class type of field, allowing proper
server-side behavior.

- fields: add field.Monetary, similar to fields.Float but
  supporting a `currency_field` attribute instead of the
  decimal_precision attribute.
  `currency_field` indicates the field holding the
  related currency on the same record.
  The symbol of that currency is used when displaying
  the field, and the rounding of the currency is applied
  instead of the usual decimal precision.
- avoids application of a second decimal precision rounding,
  as was the case when the model field was a `fields.float`.
- removes the need for adding explicit boilerplate to each
  view containing a monetary field, i.e.:
    widget="monetary" options="{'currency_field': 'currency_id'}"
- res.currency: add new field decimal_places needed to round
  value at the correct decimal places
- web: cache all currencies, rounding and symbols at
  webclient startup to speedup monetary fields
- new widget monetary for list view + adapt widget monetary
  on form view

Limitations:
- if the currency_field is a related field, the server-side
  application of currency rounding will only work when the
  record already exists, not during creation (to be fixed)
- this field is only supported in the new API
2015-04-09 19:05:44 +02:00
Jay Patel 1ebd67355a [IMP] payment, website_sale: post-payment messages on acquirers 2015-04-09 17:24:16 +02:00
J Bradshaw 2b8c63a727 [IMP] fleet: prevent deprecated warning message
Stop "required=True is deprecated: making a boolean field"
appearing in server log

Closes #6108
opw-632480
2015-04-09 14:43:38 +02:00
Frédéric van der Essen d58e5309dd [IMP] pos_restaurant: allow to print bill with web printing 2015-04-07 14:36:43 +02:00
Frédéric van der Essen 2d40c7120e [IMP] point_of_sale: receipt printing improvements:
- The receipt printing screen is shown both with the web and posbox
   printing
 - Both method can now reprint receipt
 - The Change is shown on the receipt screen to help the cashier give
   back the change after the cashbox is open.
2015-04-07 14:36:42 +02:00
Christophe Matthieu 8df3f14f4b [IMP] web: new AbstractManyField in order to avoid duplicated code 2015-04-07 14:06:58 +02:00
Christophe Matthieu 03d04fe5bb [FIX] web: wrong crash manager variable name 2015-04-07 14:06:58 +02:00
dhr-odoo 518977ec13 [IMP] stock: warn user when activating tracking for untracked quants
When a user checks the box to activate 'Full Lots Traceability', it will affect
any futur move but if past quants have no lot, it will break the tracability.
When enabling the tracability, verify the history to warn the user it should
makes an inventory.
Fixes #4307, opw 620531
2015-04-07 11:01:17 +02:00
Bhavik Bagdiya 5b41264b11 [IMP] mrp: handle widget to sequence workcenters operations 2015-04-03 16:27:12 +02:00
Jérome Maes 093e39bd17 [IMP] web, website_blog, website_forum, website_sale : uniformize the way to add comment by redirecting to login form (if not logged) and keep the parameters (i.e. the comment) when redirecting to the comment route. The comment route must now be GET and POST. 2015-04-03 13:29:58 +02:00
Géry Debongnie d12bf0eb4a [FIX] web: don't crash when switching views in firefox
For some weird reasons, IE and Chrome (or jquery?) bind the global
variable 'event' to the last triggered event (I guess).  Of course,
our code depended on that behavior, but Firefox does not like it and
crashes when we try to read the 'event' variable.  This fix simply gets
the variable as first argument.
2015-04-03 11:13:53 +02:00
ssh-odoo 343ee7ed1e [IMP] hr: departmnet: changing the manager of a department also changes
the managers of its employees, unless another manager was set.
2015-04-02 15:43:00 +02:00
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