Commit Graph
103231 Commits
Author SHA1 Message Date
rmu-odoo 18ddbbae1d [IMP] l10n_bo: Added post migration file 2016-02-19 15:03:09 +01:00
rmu-odoo 2274d50d8a [IMP] l10n_bo: created new tag and assing in tax 2016-02-19 15:03:00 +01:00
Denis Ledoux 6863cd244d [FIX] res_partner: default image
Attempting to create a user with a parent
company not having an image resulted to a crash

opw-669978
2016-02-19 14:52:59 +01:00
Alexis de Lattre ccd28977c7 [FIX] l10n_fr: remove old tax codes + some cleanup. Was PR #10625 2016-02-19 14:19:39 +01:00
rmu-odoo e9078aeeb2 [IMP] l10n_at: Added pre and post migration files 2016-02-19 13:51:19 +01:00
rmu-odoo 48fb5d3609 [IMP] l10n_at: Created new tag and assign into taxes 2016-02-19 13:51:03 +01:00
Denis Ledoux 020ae64f16 [FIX] website_portal: currency rounding for "My Orders"
t-field handles better the currency rounding than t-esc.

When setting the currency rounding to 0.05 instead
of 0.01 (e.g. Switzerland), for 600.00:
 - t-esc returns 600.0
 - t-field returns 600.00, as expected.

opw-669945
2016-02-19 13:49:27 +01:00
Daniel Dico 94875a6fb6 [FIX] l10n_ca - fix tax calculation for BC, MB and SK. Was PR #10376 2016-02-19 13:43:29 +01:00
Nicolas Martinelli e5f184fe6d [FIX] web: context/domain in move line tree
DO NOT FORWARD-PORT: the functionality is not used anymore in v9

Commit aaf9badb filters the returned ids by keeping the domain in the
request. However, `this.dataset.domain` might be empty, while
`self.dataset.get_domain()` will retrieve it from the model.

Since `get_domain` is not always defined on the dataset, we keep
`this.dataset.domain` as a fallback. The fix is not great, and a better
solution should be found in master branch when the web refactoring is
done.

opw-666755
2016-02-19 13:21:41 +01:00
Jeremy Kersten c7fd06cf77 [FIX] crm: don't add explicit '&' because it is not mandatory and can causes other bug
if domain is empty [], the search_domain generated will be invalid

['&',('field','=', value)]
2016-02-19 12:54:18 +01:00
Fabien Pinckaers 773fb17ccb [IMP] support@ --> help@ 2016-02-19 12:47:01 +01:00
Martin Trigaux c51c3254b8 [FIX] models: escape colomn name in read_group
In PostgreSQL, if not double-quoted, the columns are considered as lower case.
http://www.postgresql.org/docs/9.4/static/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS

Courtesy of Philippe Halbardier, SimplyCIT
2016-02-19 12:13:30 +01:00
cpyou 20b5b8636b [CLA] signature for cpyou
Closes #10494
2016-02-19 12:07:08 +01:00
Massimo Bianchi 7d46ce5fdf [CLA] signature for iceseyes
Closes #10603
2016-02-19 12:06:03 +01:00
root 6634ed0188 [CLA] signature for tstonis
Closes #10487
2016-02-19 12:06:01 +01:00
Javier García-Panach 24158951f3 [CLA] signature for JGarcia-Panach
Closes #10958
2016-02-19 11:57:53 +01:00
Antony Brugger 3e8036a6b8 [CLA] Update CLA Eezee-It
Closes #11010
2016-02-19 11:42:14 +01:00
Andrea Stirpe 3bc172fc26 [CLA] Corporate CLA for Onestein team
Closes #10999, #11000
2016-02-19 11:34:55 +01:00
Joren Van Onder 22b93174af [FIX] point_of_sale: fix forgotten method rename
pos_order.onchange_qty was renamed to pos_order._onchange_qty during the
migration to the new API.
2016-02-19 10:23:02 +01:00
Goffin Simon 1928ca95c2 [FIX] website_event_sale: registration form without possibilities
When there is no possibilities(no event_ticket_ids) the registration form
doesn't have to be displayed.

opw:668603
2016-02-19 10:17:07 +01:00
Joren Van Onder 406255ac6b [FIX] point_of_sale: export all missing classes from js modules
In the interest of being flexible and customizeable all of the defined
classes in the POS should be exported so people can easily inherit them
and change their behavior. A lot of the time you can get to them even if
they're not exported if you get creative enough, but noone should have
to resort to such ugly methods.

This commit does this for all of the modules except for
point_of_sale.popups. It has been omitted because currently it exports a
single object (PopupWidget). Modifying this to export an object of
objects could potentially break other unofficial modules which we do not
want in a stable release.
2016-02-19 10:04:57 +01:00
Martin Trigaux e701e566f8 [ADD] Github template files for issues and PR 2016-02-19 09:44:32 +01:00
Christophe Simonis ed507e01f1 [FIX] website_sale: Display comments & suggested product toghether.
By shadowing the `product` variable, the suggested products option had
the side effect of showing the comments of the last suggested product
instead of the current product ones.
2016-02-18 16:58:30 +01:00
Joren Van Onder 6d1b2e1a7e [FIX] point_of_sale: load fiscal positions of orders from localStorage
The fiscal position on an order was correctly saved to localStorage but
they where never loaded from localStorage.
2016-02-18 16:12:24 +01:00
Christophe Simonis a6a46b4371 [FIX] mail: ensure we have at least one partner before reading its name 2016-02-18 15:53:23 +01:00
Joren Van Onder 92badf048f [IMP] point_of_sale: automatically set customer fiscal position
This makes it so that when you set a customer in the POS frontend it
will automatically apply the fiscal position associated to the customer
on the order.

If the customer has no set fiscal position or if the fiscal position is
not available in the POS nothing will happen.

opw-668155
2016-02-18 15:48:16 +01:00
Joren Van Onder d5dfeb9dac [IMP] point_of_sale: allow clearing a set fiscal position
This was not really possible before. This prepends a dummy undefined
fiscal position to the selection list that'll clear the current fiscal
position when selected.

Also considered was using the "Cancel" button of the selection widget to
clear the fiscal position, but that doesn't make a lot of sense from a
UI point of view. Pressing a "Cancel" button shouldn't change anything
in the underlying model, it should just get rid of the dialog window.

opw-668155
2016-02-18 15:48:16 +01:00
Joren Van Onder d9891a5bbe [IMP] point_of_sale: display the current fiscal position name on button
Before this, seeing the current set fiscal position on an order was not
really possible.

opw-668155
2016-02-18 15:48:16 +01:00
Christophe Simonis a7c1f37197 [IMP] module loading: show name and progress of loaded modules 2016-02-18 15:06:26 +01:00
rmu-odoo 50b20e2c7e [IMP] l10n_ar: Added new migration file for tag 2016-02-18 14:55:25 +01:00
rmu-odoo 6a66f9f011 [IMP] l10n_ar: create tag and update old tag for one tag per grid in the tax reports 2016-02-18 14:54:00 +01:00
Denis Ledoux 22830251c7 [FIX] website_sale: avoid to set no shipping address
This is related to the revision e673ee6c62.

The checkout shipping address must be written on the
sale order only if there is one.
2016-02-18 14:42:43 +01:00
Denis Ledoux e3714cd7ce [FIX] purchase: purchase count button
The field `quantity` in `purchase.report` has been renamed
to `unit_quantity`.
2016-02-18 14:09:45 +01:00
Denis Ledoux a04fce47e9 [FIX] account: methods calling reverse_moves expects a list
The methods calling `reverse_moves` expects a list
as returned result.
For instance, in `account_move.py`, `account.partial.reconcile`,
method unlink:
```
reversed_moves = exchange_rate_entries.reverse_moves()
for rev_move in self.env['account.move'].browse(reversed_moves):
```

If there was no reversed moves, the method returned a boolean,
and a list otherwise. It should always return a list, empty
in the above first case.

opw-669790
2016-02-18 13:44:54 +01:00
Nicolas Martinelli 1ed7d16cfa [FIX] point_of_sale: hide debug manager and chatter
When printing a receipt in the PoS, the debug manager and the Livechat
content are displayed in the receipt. That's obviously something we
don't want.

opw-668675
2016-02-18 13:24:06 +01:00
Denis Ledoux e673ee6c62 [FIX] website_sale: checkout change of delivery address
If a customer had several delivery address,
and at checkout, choose another one than the default one,
his choice was applied, the delivery address remained the default
one.

This is a regression in Odoo 9.0 introduced in revision:
0414c9d.

The checkout shipping was applied only when it was a new
delivey address, due to the identation.

Part of the indentation issue was solved in 0f25a8c

opw-669787
2016-02-18 12:23:18 +01:00
Denis Ledoux d73e9efc2e [FIX] uninstall: models no longer in the pool
When attempting to uninstall a module
for which models are no longer in the pool
(the module is no longer is the addons path /
no longer in the current release),

- This isn't possible to drop the constraints,
  as this is no longer possible to know the table
  of the model.
- This is no longer possible to check if the
  model log the accesses (`_log_access`), as
  the model is no longer loaded in the pool.

opw-669130
2016-02-18 11:37:43 +01:00
Goffin Simon a8f4b3fa19 [FIX] mrp: wrong field
The field name on "mrp.bom" model didn't exist.

opw:669698
2016-02-18 10:02:36 +01:00
Goffin Simon 05179389bf [FIX] hr_hollidays: message_follower_ids
When an "hr.holliday" record is created or modified, the employee_id
linked to this record has to be added in the followers.
Inspired from ff1d384

opw:668515
2016-02-18 09:29:02 +01:00
Antony Lesuisse e1020e9a3f [IMP] hr_timesheet is now based on projects and tasks 2016-02-18 02:21:57 +01:00
Antony Lesuisse 8c6ab96f53 [REM] project_timesheet: moved to hr_timesheet 2016-02-18 01:35:06 +01:00
Tanguy Charlier 16bf40f7c4 [IMP] hr_timesheet: Timesheet entries are now related to projects
- Hide account_id field and add a required project_id field on timesheet entries
- Remove is_timesheet field: as project_id is only required for timesheet entries and not for other analytic lines, it can be used to determine wether a line is a timeheet entry or not.
- Remove project_timesheet module as all its functionalities are moved to hr_timesheet
- Replace timesheets on contract option on products by timesheets on project
- Small fixes and improvements in timesheets and projects views and groups
2016-02-18 01:25:55 +01:00
Tanguy Charlier f3a9f83ff1 [MOV] Move project_timesheet files to hr_timesheet before refactoring 2016-02-18 01:23:40 +01:00
Christophe Simonis a5df5e85e4 [MERGE] forward port of branch saas-9 up to eb9e591 2016-02-17 19:23:20 +01:00
Christophe Simonis eb9e5913c9 [MERGE] forward port of branch saas-7 up to 519dd27 2016-02-17 19:23:08 +01:00
Christophe Simonis 519dd27358 [MERGE] forward port of branch 9.0 up to d5f28f4 2016-02-17 19:22:45 +01:00
Christophe Simonis d5f28f4a64 [FIX] base: do not force image when creating delivery/invoice partner
Let the default values choose the correct image by setting correct
value in context
2016-02-17 19:20:28 +01:00
Christophe Simonis 60c9cac46b [MERGE] forward port of branch saas-9 up to 87a01c7 2016-02-17 18:07:21 +01:00
Christophe Simonis 87a01c75ef [MERGE] forward port of branch saas-7 up to 5be43b8 2016-02-17 18:01:11 +01:00
Christophe Simonis 5be43b8d9a [MERGE] forward port of branch 9.0 up to 27058c4 2016-02-17 17:48:03 +01:00