Commit Graph
117975 Commits
Author SHA1 Message Date
Goffin Simon 5335f8c516 [FIX] sale: _get_tax_amount_by_group
When computing the amount tax by group, the taxes which affect base of
subsequent taxes must be taken into account.

opw:703524
2017-01-09 14:03:40 +01:00
Haresh Shyara b081203522 [IMP] mrp: Hide origin field on MO in debut mode 2017-01-09 13:45:18 +01:00
Aaron Bohy 5936356603 [FIX] web: Apply autofocus on form views opened in dialogs
Purpose:
========

When user opens a wizard , the cursor should be placed in the first field which saves a click for the user.
Right now , in odoo the cursor is not coming in the first field by default.
2017-01-09 13:21:52 +01:00
Odoo Translation Bot b5381e8537 [I18N] Update translation terms from Transifex 2017-01-09 13:18:30 +01:00
dut-odoo 345b117fae [FIX] l10_be_invoice_bba: trigger the onchange when reference_type is modified
Bug introduced by during the module migration

https://github.com/odoo/odoo/commit/dc6e7ca25ba4f1b5b6ce9c1857527e14ff919e31
2017-01-09 12:02:19 +01:00
dut-odoo 32f2d25a2f [IMP] l10n_be_invoice_bba: show communication on invoice report and in email
If a communication is set, add in the report the folllowing line :
    Please use the following communication for your payment : (reference in bold)
2017-01-09 12:02:19 +01:00
Haresh Shyara 359e8a008b [IMP] mrp: improve display of some views
* Manufacturing Order: set Update button invisible when creating
   a MO, and also when MO is canceled. When creating a MO user
   should not be able to update;
 * Limitate production messages to routing group as those are linked
   to work orders, used when doing routing
2017-01-09 12:00:52 +01:00
Odoo Translation Bot 5f6e3f4686 [I18N] Update translation terms from Transifex 2017-01-09 12:00:30 +01:00
hza 8b7aa82265 [IMP] hr_holidays: better distinguish allocation and leave requests
Purpose of this commit is to help user distinguish allocation and leave
requests. This is achieved through three improvements

 * name_get is improved to display the holidays type
 * type is tracked and therefore displayed in chatter messages
 * button in notification emails depends on holidays type
2017-01-09 11:05:05 +01:00
Martin Geubelle 63f732b9a1 [IMP] web_kanban: add bold attribute
This commit introduces a new `bold` attribute that can be set
on a <field> in kanban which will be wrapped inside a <strong>.
2017-01-09 10:52:04 +01:00
Hiral Bhavsar 675d0bb001 [FIX] note: Display stages on some demo data
The stages aren't displayed if the user is not set on the note
2017-01-09 10:43:23 +01:00
Hiral Bhavsar 3a5341506b [IMP] note: add an editable tree view for tags
Also:
- Don't display "Active -> True" when we create a note
- Allow to create tags on the fly on a note form view

When user create a new Note or click on 'Tick' option in kanban view, remove the message 'Active->True' & 'True->False' and Make the creation of 'Tags' inline mode.

[IMP] note: 'Tags' should be created from note's form view.
2017-01-09 10:38:53 +01:00
David Arnold 6ac397e58e [REF] account: improve inheritability.
Split method generate_account() in chart template generation to allow an easier overwritting of the vals in case a localization added some custom fields on account.account object. Courtesy of David Arnold(dar@devco.co)
2017-01-09 10:25:57 +01:00
Fabien Pinckaers 0741e64e5b [IMP] mrp: computed blocking time based on working hours or wc
for machine blocks only, as people can do extra hours
2017-01-08 00:23:20 -08:00
Fabien Pinckaers b33228cb49 [IMP] *: color index - avoid lots of grey tags on kanban 2017-01-07 23:34:38 -08:00
Fabien Pinckaers e84e7f7445 [IMP] mass_mailing: app name consitency: Email Marketing (webite, pricing, app name, menu 2017-01-07 22:20:11 -08:00
Fabien Pinckaers eee806e4a4 [IMP] *: remove #general messages at module installation 2017-01-07 21:31:11 -08:00
Odoo Translation Bot 854ab68902 [I18N] Update translation terms from Transifex 2017-01-08 04:43:31 +01:00
Odoo Translation Bot 62817a80d3 [I18N] Update translation terms from Transifex 2017-01-08 02:56:42 +01:00
Odoo Translation Bot d995739241 [I18N] Update translation terms from Transifex 2017-01-08 00:29:28 +01:00
Martin Geubelle 3d8d4de9d8 [FIX] web_kanban: more strict position for dropdown
Wherever the dropdown is in the dom, it should always be displayed
at the kanban card top right corner.
2017-01-07 15:13:59 +01:00
Martin Geubelle 9876a77b14 [IMP] odoo: modify the default kanban view
This commit adds a div `content` around the first field in the
default kanban view.
2017-01-07 15:13:50 +01:00
Fabien Pinckaers b57e9ffbbd [IMP] sale/account: address that fits in window envelop for invoices 2017-01-06 18:35:55 -08:00
Christophe Simonis 98c71b23d3 [MERGE] forward port branch saas-11 up to 9073ecb6f5 2017-01-06 18:06:14 +01:00
Christophe Simonis 9073ecb6f5 [FIX] core: effectively warn on invalid custom views
Since new-api migration of `ir.ui.view`, the method that check views
raises exceptions instead of returning a boolean. Show them as warning.

Related to #14521
2017-01-06 17:55:04 +01:00
Christophe Simonis de6aaeb546 [MERGE] forward port branch 9.0 up to e0d33ce07d 2017-01-06 17:37:33 +01:00
Christophe Simonis e0d33ce07d [MERGE] forward port branch saas-6 up to 9ba3762a32 2017-01-06 17:29:42 +01:00
Christophe Simonis 9ba3762a32 [MERGE] forward port branch 8.0 up to 75692bc988 2017-01-06 17:27:06 +01:00
Christophe Simonis c382c8f2fa [IMP] core: module loading: less verbose logs
Only warn about non loaded declared models with a minimal logging level.
2017-01-06 17:11:30 +01:00
Mansi Gandhi 31cb715787 [IMP] purchase*: Improve the settings form view 2017-01-06 16:30:37 +01:00
qsm-odoo 11a4e17c9c [IMP] web: add a dialog option to the FieldDomain
Now, the form FieldDomain has an option "dialog" which allows to force
the domain *edition* in a new dialog. This allows the field to be
positioned in smaller area of the form view in some contexts.
2017-01-06 16:03:09 +01:00
qsm-odoo f64c1c6b74 [IMP] web: FieldDomain panel at top right instead of below
The FieldDomain is composed of a DomainSelector widget and a button
which allows to see the records which match the domain (or an error
message if the domain is wrong).
The button was placed below the domain selector. Now, in edit mode,
it is placed at the top-right of the domain selector, saving some
vertical space.
2017-01-06 16:03:09 +01:00
qsm-odoo 20b109fac9 [IMP] web: add new DomainSelectorDialog dialog widget
The DomainSelectorDialog widget allows the use of a DomainSelector
widget inside a modal.
2017-01-06 16:03:09 +01:00
qsm-odoo b8eb821f13 [IMP] web: allow DomainSelector widget to be instanciated with a string
Before this commit, the DomainSelector had to be instanciated with an
array-typed value which forced the user to use (and import) the pyeval
module. Now, the conversion to array is done in the DomainSelector.

This commit introduces a web.domainUtils module allowing to do the
convertion array -> string and string -> array of a domain.
2017-01-06 16:03:09 +01:00
Haresh Shyara 931afc2ff1 [IMP] mrp: Improve the settings form view 2017-01-06 15:58:05 +01:00
Nicolas Martinelli 100077f035 [FIX] payment_paypal: correctly parse payment_date
Paypal formats the payment date in this specific format:
`HH:MM:SS Mmm DD, YYYY PDT`.

Source: https://developer.paypal.com/webapps/developer/docs/classic/ipn/integration-guide/IPNandPDTVariables/

opw-693574
2017-01-06 14:27:17 +01:00
Nicolas Martinelli 756449cfe1 [FIX] payment_paypal: fields.Datetime
Obviously, it should be `fields.Datetime`, although it luckily works
with `fields.datetime.now()`.

opw-693574
2017-01-06 14:27:17 +01:00
Nicolas Lempereur 4cec6fa77e [FIX] point_of_sale,web: stupid amend before merge
Introduced by 07bf7bf4f3.
2017-01-06 14:24:59 +01:00
Nicolas Lempereur 07bf7bf4f3 [FIX] odoo-bin: server UTC timezone on windows
On UNIX, the timezone modules conversions can be reset by using
`time.tzset()`. On windows this is not available and the timezone (TZ)
environment variable must be set before the first import of time module.

If not, all datetime gotten in python without specifying UTC (such as
datetime.datetime.now) could be wrong.

This was fixed with 4a77c6a0 in 2013, but has come back since 389c2ba97b
imported pkg_resources (which do  a `time` module import) before that.

closes #14926
opw-693764
2017-01-06 14:19:09 +01:00
Nicolas Martinelli 56c798a323 [FIX] website_portal_sale: VAT check
- Create a SO for a customer (without VAT), validate the invoice
- Connected as the customer, go to 'my/account', and change any
  information (e.g. phone number).

You receive the error 'Changing VAT number is not allowed...'.

This is because `data.get('vat', partner.vat)` is `u''`, while
`partner.vat` is `False`.

opw-696962
2017-01-06 11:49:28 +01:00
Pratima Gupta a3d23c93b8 [IMP] mrp: Improve the settings form view 2017-01-06 11:30:02 +01:00
Pratima Gupta 82fc1ac326 [FIX] maintenance: make alias_id ondelete restrict instead of cascade
Seems a little dangerous to delete a maintenance category if the related alias is unlinked
2017-01-06 11:30:02 +01:00
bpa 9ce73d3cec [IMP] web_settings_dashboard: Display a hand cursor when hovering social sharing icons 2017-01-06 11:19:15 +01:00
Martin Trigaux b7bad9dbc4 [I18N] followup of 5284c43be5
Previous commit was cleaning the orphan and fuzzy translations of all main translations.
This commit does the same for all regional languages (that are not on Transifex).
To keep these files small, keep only the translated strings.
Fixes #14937
2017-01-06 10:40:39 +01:00
Akash Bhavsar 95d823d9db [FIX] google_spreadsheet: add a related field to generate a google_drive_uri code
As the field was displayed twice on the General Settings form by specification, we need to add a related field.
2017-01-06 10:09:30 +01:00
Akash Bhavsar 4b373c1035 [FIX] google_spreadsheet: add a related field to generate a google_drive_uri code
As the field was displayed twice on the General Settings form by specification, we need to add a related field.
2017-01-06 09:56:28 +01:00
Jérome Maes de21eda9f4 [FIX] google_calendar: fix update events from googleCal due to migration 2017-01-06 09:02:26 +01:00
Fabien Pinckaers 8739fc6a9e [IMP] report: in some version of Wkhtmltopdf, the image is too big in US Letter, resulting in two pages 2017-01-05 18:53:17 -08:00
Nicolas Lempereur 678c42aeb0 [FIX] web: FieldCharDomain wrong count if other lang
The number of records selected by a FieldCharDomain was only computed
with the base language.

But when selecting the domain with a modal window, or when sending a
mass mailing restricted to a domain, the current user language is used.

With this commit, the number of records is computed with the current
user language.

opw-693836
2017-01-05 19:18:06 +01:00
Laurent Smet 450bdd95da [IMP] l10n_mx: add settings to install l10n_mx_edi 2017-01-05 17:39:38 +01:00