Commit Graph
107307 Commits
Author SHA1 Message Date
Fabien Pinckaers b57e9ffbbd [IMP] sale/account: address that fits in window envelop for invoices 2017-01-06 18:35:55 -08:00
Mansi Gandhi 31cb715787 [IMP] purchase*: Improve the settings form view 2017-01-06 16:30:37 +01:00
Haresh Shyara 931afc2ff1 [IMP] mrp: Improve the settings form view 2017-01-06 15:58:05 +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
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
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
Haresh Shyara 93da78980f [IMP] hr_attendance: Improve the settings form view 2017-01-05 17:27:18 +01:00
Haresh Shyara 6ddaaf2f8e [IMP] point_of_sale*: Improve the settings form view 2017-01-05 17:14:59 +01:00
Yannick Tivisse e01729ff28 [IMP] base_setup: Redefine section order in General Settings 2017-01-05 16:45:59 +01:00
Nicolas Martinelli 939b2a00cf [IMP] sale_stock: store sale_id
We store the `sale_id` field to ease the creation of custom related
fields between picking and sales order.

opw-703429
2017-01-05 16:21:17 +01:00
Yannick Tivisse 16d973bee4 [IMP] website_slides: Add an arrow before the link on config view 2017-01-05 16:11:31 +01:00
Yannick Tivisse d5dcb4ea1e [IMP] sale: improve sales config settings 2017-01-05 14:01:06 +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
Thibault Delavallée 7039d70581 [MERGE] ir_actions, ir_cron, base_automation: refactor server, scheduled and automated actions
This commit simplifies server code execution by allowing only server
actions to execute code. Scheduled actions (ir.cron) and automated
actions (base.action.rule renamed to base.automation) now delegate all
code execution to their own server action, using inheritance. Those
models now contain only fields related to cron details for scheduled
actions, or triggers and filters for automated actions.

Server actions have been simplified. Main options stay the same but
complex options in creation / update have been removed. Those should
be done using code-based server actions. A server action type to add
followers has been added.

Views have been updated accordingly. Base form view of server action
is used as a base for scheduled and automated action. Editing a cron
or an automated action looks like editing a server action with some
added fields.

Thanks to @fpodoo for the original idea and preliminary work. Thanks to
@jpr-odoo for first developments and @tivisse for improving and cleaning
the work. Thanks to @jem-odoo and @rco-odoo for reviewing.
2017-01-03 19:36:29 +01:00