Commit Graph
107308 Commits
Author SHA1 Message Date
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
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
Laurent Smet 450bdd95da [IMP] l10n_mx: add settings to install l10n_mx_edi 2017-01-05 17:39:38 +01:00
Raphael Collet 25af735dd6 Fix inheritance of views with elements and text (#14944)
This avoids screwing up the text coming from the inherited views.
2017-01-05 17:26:46 +01:00
Nhomar Hernandez 7e54978589 [IMP] l10n_mx: add fiscal positions.
Courtesy of Vauxoo
2017-01-05 17:13:11 +01:00
Yannick Tivisse 84dc52d715 [FIX] auth_ldap,auth_oauth,base_gengo: Hide config fields if unchecked option
In general settings
2017-01-05 16:38:48 +01:00
Damien Bouvy 39e5dcc12e [DOC] doc: add next activitities in mixin doc 2017-01-05 16:29:26 +01:00
Yannick Tivisse 700d6c7160 [FIX] website: Hide configuration fields when the option is unchecked 2017-01-05 15:46:44 +01:00
Yannick Tivisse e6fe0b2adb [FIX] account: Remove banner that ask to come back to settings
There's nothing to configure there.
2017-01-05 15:23:56 +01:00
Martin Trigaux 85af0e01fb [FIX] doc: diff manual correction
To small to apply.
Follow up of previous commit
2017-01-05 14:50:59 +01:00
Martin Trigaux b1fe119383 [FIX] doc: remove workflow reference
The diff are still not applying but must be better
2017-01-05 14:30:30 +01:00
Christophe Simonis e062dc7c36 [REL] 10.saas~14 2017-01-04 19:47:23 +01:00
Christophe Simonis ca475e08eb [MERGE] forward port branch 10.0 up to 799e7f7740 2017-01-04 19:43:24 +01:00
Christophe Simonis 799e7f7740 [FIX] core: leftover openerp use from last forward-port 2017-01-04 19:24:16 +01:00
Christophe Simonis 2217b37130 [MERGE] forward port branch saas-11 up to 573293a06d 2017-01-04 19:15:31 +01:00
Fabien Pinckaers 3d04e44880 [ADD] report,base: custom report layouts
External layout for reports can be customized. 4 Layout are currently
proposed, selectable from General Settings.
An onboarding popup is shown to select the layout to used if none has
been shown nor a company logo chosen.

Joint works by Fabien Pinckaers, Antony Lesuisse and Christophe Simonis.
Design by Csaba Fazekas.
2017-01-04 18:51:17 +01:00
Fabien Pinckaers 1d6fa1b2fd [IMP] report: increase bottom margin of A4/US Letter paperformat 2017-01-04 18:51:01 +01:00
Fabien Pinckaers 66638b6838 [IMP] account: improve invoice report
* better wording
 * show at least 5 lines
2017-01-04 18:51:01 +01:00
Fabien Pinckaers 2d5ff1cb3d [IMP] stock: better position for the barcode in picking report 2017-01-04 18:51:00 +01:00
Jérome Maes b9f4a98774 [IMP] account,payment: account journal visibility
Remove field 'display_on_footer' to stop displaying
account journal on report documents.
As the field is removed but also used in payment to
generate default 'Thanks Message', put a new field
on account.journal in payment module, to keep the
role 'display_on_footer' had in payment.
2017-01-04 18:51:00 +01:00
Christophe Simonis 573293a06d [MERGE] forward port branch 9.0 up to cbff8629fa 2017-01-04 18:41:22 +01:00
Denis Vermylen 4f49da2da9 [IMP] report: add multi-company icon to settings 2017-01-04 17:30:58 +01:00
qdp-odoo 4a8b088773 [ADD] xml_utils: utilitary file for common xml operations 2017-01-04 16:30:50 +01:00
Pierre Masereel ae2838521c [FIX] stock: onchange picking type use wrong variable
The onchange code calls the variable 'partner' before assignement,
this error comes from the migration in rev: https://github.com/odoo/odoo/commit/d45996c9

We fix it by calling the right 'self.partner_id' variable
2017-01-04 16:09:46 +01:00
Denis Vermylen 8509db6485 [IMP] sale,crm: improve sales channel options tooltips 2017-01-04 16:01:10 +01:00
Denis Vermylen e8ff3bf2b2 [IMP] sale: rename field
quick quick before the feeze (saas-14)!

to_invoice_ unnecessarily added to the field names.
2017-01-04 16:01:10 +01:00
Denis Vermylen 79d73bc8a6 [FIX] sale*: remove wrong o_quotation_view_button classes 2017-01-04 16:01:09 +01:00
Denis Vermylen a95b4a5398 [FIX] website_sale: fix abandoned carts action
It was checking the partner ID wasn't the public user ID, instead of the public
user's partner ID.

Date domain was also no applied correctly.
The action has been transformed into python method to have
access to both flexible datetime constraints + references.
2017-01-04 16:01:09 +01:00
Denis Vermylen 93bb16367a [IMP] sales_team: give access to sales channels links to all 2017-01-04 16:01:09 +01:00
Denis Vermylen db35822c35 [IMP] pos_sale: add group by point of sale option
for dashboard graphs of sales channel of type point of sale.
2017-01-04 16:01:09 +01:00
Denis Vermylen 44fc5570fa [FIX] crm: correct menuitem name "my pipeline"
Menuitem took the name of the action as it didn't have one himself.
Action's name got changed but menuitem didn't need to change, so a name
was added for the menuitem.
2017-01-04 16:01:09 +01:00
Christophe Simonis cbff8629fa [IMP] core: allow declaration of end migration scripts
These `end` migration script will be executed when all modules have
been updated and models setup.

Also accelerate the search of migration scripts, speeding up registry
loading.
2017-01-04 15:49:02 +01:00
Denis Ledoux b201da493d [FIX] sale: Ukrainian translation instead of English (UK)
opw-702022
2017-01-04 14:31:55 +01:00
Nicolas Martinelli 56517a6ca9 [FIX] website_quote: invoice generation
To reproduce:
- Configure an external payment provider (e.g. Ingenico) with "Authorize
  & capture the amount, confirm the SO and auto-validate the invoice on
  acquirer confirmation"
- Create a quotation with a product linked to a subscription
- Send the link to the customer
- Click on "Accept & Pay", use the configured provider

The SO is confirmed, but the invoice is not generated.

By calling `action_confirm` in the callback of the transaction, we
validate the SO before `form_feedback` is called. Therefore, the method
`_confirm_so` will do nothing since the SO is not in state 'draft' or
'sent' anymore.

The solution is to manually call `_confirm_so`instead of
`action_confirm`. This is necessary to do it at this moment since we
might not go through `form_feedback` (e.g. if we pay thanks to wire
transfer).

opw-694273
2017-01-04 14:01:43 +01:00
Mansi Gandhi f5d53190d5 [IMP] pad: Change the pad settings info label
Because the configuration of pad is moved in general settings.
2017-01-04 13:50:11 +01:00
Yannick Tivisse 61e4290aea [IMP] account: Apply some fine tunings on new account settings form 2017-01-04 13:47:37 +01:00
Richard Mathot 5099856064 [FIX] calendar: display filter "[Me]" before others
The previous code actually returned the filter whose partner_id was the
lowest one (using '_.first' on an object that is not an array is quite clunky)
2017-01-04 12:09:57 +01:00
Richard Mathot 68bb843ccb [FIX] calendar: strengthen data model for contacts
It makes no sense to have twice the same calendar contact (=calendar
favorite filters) for one user.
2017-01-04 12:09:57 +01:00
Christophe Simonis 53beafef4e [IMP] base_address_city: mixins limited to a single model are not mixins 2017-01-04 12:04:29 +01:00
Yannick Tivisse 44e1f9ab96 [IMP] website,website_sale: Apply some fine tunings for the new website settings form 2017-01-04 12:03:44 +01:00
qdp-odoo aecf89c0e0 [FIX] base_address_city: fish crash in crm as city_id is defined only on res.partner object 2017-01-04 11:35:56 +01:00
Yannick Tivisse 1b316359cb [FIX] Sales: Apply small fine tunings on new settings form 2017-01-04 11:11:05 +01:00
qdp-odoo 9553970b40 [IMP] base_address_extended: improve inheritancy.
In case we extend this module by adding new field, the reset of street by an empty value will now reset all fields defined in street_fields.
2017-01-04 10:36:30 +01:00
Martin Geubelle 742cadaea8 [IMP] *: clean technical views (usability)
This closes the task #30074.
2017-01-04 10:22:48 +01:00
Martin Geubelle 7c7e825591 [IMP] base: allow to set an icon on ir.ui.menu
Before this commit, the field `web_icon_data` was a computed field
that depended on `web_icon` (which either specify a path to an image
or an icon).

We can now directly set the image binary value on the field.

The previous behaviour in which the binary is computed based on the
path is kept at the menu creation/edition, but the field is not `compute`
anymore.
2017-01-04 10:22:39 +01:00
qdp-odoo c7542a9f15 [FIX] base_address_city: _fields_view_get() now working properly 2017-01-04 09:55:49 +01:00
Goffin Simon da54837420 [FIX] hr_holidays: "Absent Today" filter for normal users
Normal users has the rights to use the "Absent Today" filter.

opw:703389
2017-01-04 09:50:11 +01:00