Commit Graph
112103 Commits
Author SHA1 Message Date
tbe-odoo f65d13fc94 [FIX] website_sale: Fix terms & conditions
- Fixed accept terms & conditions button when paying on e-commerce.
2017-09-04 14:53:54 +02:00
Thibault Delavallée e986f0986e [CLN] payment: lint newly-introduced payment form
This commit performs just some linting in order to ease code reading and
prepare future updates.

 * extract duplicate variable computation;
 * link spaces and indentation;
 * light renaming to ease code understanding;
2017-09-04 14:09:58 +02:00
Thibault Delavallée 7cb704a324 [IMP] payment: add acquirer computation tools to ease future additions
* add a method computing available acquirers and payment tokens for a
   given partner and company. Those data will be used notably in customer
   portal when displaying the payment form;
 * raise if no partner_id set in s2s process. Indeed this field is
   required but values come from a dict. Current code raises an error
   about None being converted to Int instead of giving the real error;
2017-09-04 14:09:54 +02:00
Thibault Delavallée 4b746b3b9b [REF] account: factorize portal code to ease future additions
* get invoice access right check in its own method. Purpose is to allow
   its use in other methods and avoid writing same code several times;
 * factorize invoice customer view values computation. Purpose is to allow
   adding values when displaying the page through inheritance. For example
   to add available payment means in sale_payment;
2017-09-04 11:15:49 +02:00
Thibault Delavallée 2ec4dbeb49 [MOV] sale: put all assets in same file and rename portal templates 2017-09-04 11:15:38 +02:00
Thibault Delavallée 44c062a2f8 [REF] sale: portal: factorize some portal code to ease future additions
* get order access right check in its own method. Purpose is to allow
   its use in other methods and avoid writing same code several times;
 * factorize order customer view values computation. Purpose is to allow
   adding values when displaying the page through inheritance. For example
   to add available payment means in sale_payment.
2017-09-04 11:15:30 +02:00
Laurent Smet aee43c0d14 [ADD] account: add cash rounding managment
In some countries, we need to be able to make appear on an invoice a rounding line, appearing there only because the smallest
    coinage has been removed from the circulation.
    For example, in Switerzland invoices have to be rounded to 0.05 CHF because coins of 0.01 CHF and 0.02 CHF aren't used anymore.

    Was PR #15231
    Was task 30904
2017-09-01 18:23:45 +02:00
d-fence c030213fa3 [IMP] hr_expense: Allow a user to refuse an expense sheet from a line
Purpose
=======

Currently, a manager or a accountant can only refuse one expense report with a justification message.

If there are a lot of lines too comment individually or if only one line should be modified, the manager or the accountant can now refused one line and give a reason for it. That will refused the expense report automatically while waiting the employee to make the modifications.

Specification
=============

- Rename wizard files, models and ids according to the model

- Allow to refuse one or several lines with a reason

- Use a qweb template to log messages, use message_post_with_view instead of message_post

- Print expense name instead of sheet name. In the log when expense is refused, it prints expense report name instead of expense

- Prevent modifying approved expenses
	* A user should not be able to modify an expense once approved
	* Method refuse_expense renamed to refuse_sheet when applied to a whole
	expense report/sheet
	* 'model' dict key renamed to something more explicit and less prone to
	confusion (passed in context to the refuse wizard)
	* Usage of explicit fields in the wizard to avoid confusion
	* Overriding 'default_get' to get default values for those fields

- When an expense is paid or reported, it must be impossible to refuse it.

- Replace refused expenses tree
	Purpose: The menu 'Refused expenses' is confusing. This improvement
	replaces it by 'Refused Reports' and leads to the refused reports tree
	view. That way, it's easier for the user to find back his refused
	expenses reports.

- Hide create button on refused
2017-09-01 15:30:30 +02:00
Yannick Tivisse 5b7e991c42 [FIX] test_main_flows: Fix induced error from 23e77b8 2017-09-01 13:46:31 +02:00
Yannick Tivisse 781a03b2bc [IMP] res_config: Update file names, xmlids, class names according to guidelines
Now that we only have one model (res.config.settings). Uniformize everything according to the guidelines.
2017-09-01 13:03:18 +02:00
Deep Patel 898224f110 [IMP] web,account,...: Regroup settings, add a nav and search bar
Purpose
=======

Settings are often way too long and hard to scan and sometimes you don't know where to find the settings you're looking for.
By adding a left navigation, you can already have an overview of the settings, and switch easily between them.

Specification
=============

- Add a search bar on all the apps that have settings which can search results from all the installed apps.
  (If i'm on sales settings,and I search anything then it shows results from sales settings and also shows
  all the other matching results from all the other apps such as, Inventory...etc) with app name.
- Able to activate feature from the current page results (no matter if the searched result is from another apps).
- Highlight searched word in results
- Delete the sheet, have a full white background
- Add left navigation bar on setting
- Left navigation bar fixed
- List displayed based on installed apps
- On right panel, by default display current app setting and change accordingly
- [Mobile] Left navigation bar displayed on top
- Add Breadcrumb on top of the page: have the name "Settings" + Save / discard CTA + Search
- Add General Settings on the nav bar
- remove "save this page..." notif in all settings
- Delete all recommanded apps section + all checkbox that install app should disappear:
	payroll: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrSkMzWVpuZ0ZoaFE/view?usp=drivesdk
	Events: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrYXlHMHd2NTM2blE/view?usp=drivesdk
	Manufacturing: Delete Repair - Quality Control - Maintenance - Product Lifecycle Management [LAP][ok]
	Timesheets: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrdFg5XzNydkd2TlU/view?usp=drivesdk
	project: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrraWo3NE04TktwcTQ/view?usp=drivesdk
	inventory: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrQkRaVUR5ekFQYTQ/view?usp=drivesdk
	recruitment: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrbDdqLWQweF80UkE/view?usp=drivesdk
	purchase: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrRlAyUDBnb0trQWs/view?usp=drivesdk
	email marketing: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrOUZONjhvX2k3Y2s/view?usp=drivesdk
	expenses: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrR0JpN1ZpQmtxU3M/view?usp=drivesdk
	attendances: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrralpjZ1VJclNpMWs/view?usp=drivesdk
- About duplicate settings:
	Docsaway: Delete from Sales + delete Default Print Provider
	Attributs & Variants: Delete from Purchases - Manufacturing
	Multi-currencies: delete from Sales
	Unit Of Measures: Delete from Purchase & Expenses
- Add a scroll bar on the left bar when there's too many apps
- Keep the navbar visible even when you search
- Move General Settings to the bottom of the list
- Update on Settings:
    - Accounting:
        - rename automatic rates
        - Anglo Saxon Account: Should be in technical feature
        - Place Accounting Reports section before Taxes section
    - CRM:
        - Phone Validation: Enforce international format becomes
        - Local Numbers: (2 radio buttons proposals) Add international prefix / No prefix
    - Fleet: typo " ... a new car if ..." + text is too long <br>
    - project: fix tooltip for colab pads
2017-09-01 13:02:54 +02:00
qsm-odoo 8e2ddfe92b [REF] web: prepare for new form view design 2017-09-01 10:34:50 +02:00
qsm-odoo b781565e36 [REF] web: allow to distinguish kanban/list x2m in LESS 2017-09-01 10:33:11 +02:00
qsm-odoo 6b6651be86 [FIX] web: properly display statusbar arrows 2017-09-01 10:33:05 +02:00
stefanorigano 66701258f7 [REF] web: introduce new form-view layout 2017-09-01 10:32:49 +02:00
Fabien Pinckaers 15a066dd34 [IMP] project: UX visibility of "Assign to me" button
It's weird to click on the "assign to me" button and nothing happens.
The button should disappear is someone is already assigned.
2017-09-01 08:49:57 +02:00
qdp-odoo f395735201 [FIX] account: setup bar test requires an opening move to be created
This is usually made through the action of the setup bar but in the test we create manually the wizard, so we have to force the opening entry creation first
2017-08-31 18:21:08 +02:00
Christophe Matthieu 95c2bd33a2 [IMP] web: lazy load nvd3, ace and fullCalendar lib to reduce asset size 2017-08-31 16:26:11 +02:00
Christophe Matthieu 6f60a9a179 [REM] web: kill zombies 2017-08-31 16:26:11 +02:00
Olivier Colson 2d1b8e9f34 [IMP] account: new setup bar
Add a setup bar on account's dashboard, so that the user can more easily enter the initial data of his Odoo installation, following the steps that are proposed to him.

Was PR #16864
Was task 32119
2017-08-31 15:58:22 +02:00
rde efecf22b45 [FIX] website: fix sitemap
typo during python3 convertion
2017-08-31 15:43:04 +02:00
Christophe Simonis 324caf2f6b [FIX] account: adapt code to previous forward-port changes 2017-08-31 14:23:38 +02:00
Parth Gajjar b6ef149b0d [IMP] web: filter when clicking on tags in Kanban
This commit adds a feature to the widget Many2ManyTags for kanban
views. When a tag is clicked, records are filtered on the given
tag, in addition to the active filters in the search view.
2017-08-31 14:09:32 +02:00
Christophe Simonis db546a3880 [FIX] web: correct test 2017-08-31 13:32:02 +02:00
Christophe Simonis daaaaa552e [FIX] core,test_new_api: adapt code to removal of ir.values 2017-08-31 13:22:39 +02:00
Christophe Simonis 4879ce0407 [MERGE] forward port branch saas-17 up to fe77df3ba4 2017-08-31 12:55:41 +02:00
Thibault Delavallée dae6178a0a [FIX] payment: fix issue about required fields in payment form
It seems like even a correctly-filled field triggers an empty input
error because variable about empty error is always True.
2017-08-31 10:20:51 +02:00
Haresh Shyara fe77df3ba4 [IMP] stock, stock_picking_batch: improve tree, form view of product moves and menus 2017-08-30 21:17:33 -07:00
Jignesh Rathod 23e77b8033 [IMP] stock: restructure menus of stock. 2017-08-30 21:17:33 -07:00
Jignesh Rathod 2e5fd48362 [IMP] stock: stock move lines form view. 2017-08-30 21:17:33 -07:00
Jignesh Rathod 55d363e960 [IMP] stock: improve search view of product moves. 2017-08-30 21:17:33 -07:00
Haresh Shyara 7cbca2582c [IMP] stock: invisible 'Reserved' column when picking type 'incoming' in picking tree view 2017-08-30 21:17:32 -07:00
Haresh Shyara 7f180207b1 [IMP] stock: improve reception form view
- Invisible 'Shipping Policy' and 'Priority' for Reception.
- Invisible Operation Type when it's in the context.
- Changed shipping policy 'Partial' to 'As soon as possible' and 'All at once' to 'When all products are ready'.
2017-08-30 21:17:32 -07:00
Haresh Shyara 7be8249357 [IMP] stock: improve stock_quant form view
- Added stat button in stock_quant for open stock_move_line.
- Added 'Reserved Quantity' field.
- Moved UoM on right of 'On Hand'.
- Set product name in breadcrumb instead of 'stock.quant,2'
2017-08-30 21:17:32 -07:00
Haresh Shyara cc07b482fe [IMP] stock: improve stock quant list view
- Added new field 'reserved_quantity'.
- Added new filter Reservations('reserved_quantity').
- Removed 'Transit Location' default filter and keep only 'Internal Location'.
- Added graph view in stock quant.
- Added Product Template in search view.
2017-08-30 21:17:32 -07:00
Haresh Shyara e7b8033771 [IMP] stock: put groups multi-location no Destination Location
- remove source document in demo data.
- renamed 'Destination Location Zone' to 'Destination Location'.
2017-08-30 21:17:31 -07:00
Haresh Shyara 394b45b4b6 [IMP] stock: put readonly origin field 2017-08-30 21:17:31 -07:00
Haresh Shyara f707b476b6 [IMP] stock: improved the form view of DO
- Removed class on origin field for display full width.
- Moved uom on the right in move lines internal tree view.
- Moved Cancel button on the right in header of do form view.
2017-08-30 21:17:31 -07:00
Haresh Shyara 147821363c [IMP] stock: some improvement in immediate transfer wizard
- removed parentheses on 'done' and set italic on 'reserved'
2017-08-30 21:17:31 -07:00
Haresh Shyara 6bd26593e0 [IMP] stock: restructured some menuitems in operations
- Operations
    - Products
        - Transfers
        - Inventory Adjustment
        - Sraps
    - Scheduling
        - Run Scheduler
2017-08-30 21:17:27 -07:00
Haresh Shyara 4384cc7273 [IMP] stock: improve stock move line tree view and menus
- Renamed menu 'Stock Moves' to 'Picking Moves'
- Renamed menu 'Stock Move Lines' to 'Product Moves'
- Added default filter 'Done' on Stock move lines.
- Moved date field at the first.
- Removed groups to visible Source and Destination Location id multi-location is not activated.
2017-08-30 19:03:56 -07:00
Haresh Shyara 6b370c0d7c [IMP] stock: restructured the stock config menus
- Set groups on location menu for visible only if mulit-location is set.
- Restrucured the menus in configuration.
- Products
	- Categories
	- Barcode Nomenclatures
- Unit of Measures
	- UoM Categories
	- UoM
2017-08-30 19:03:51 -07:00
Jeremy Kersten 88a25c0e87 [FIX] *: fix previous forward port 2017-08-31 00:14:37 +02:00
Christophe Simonis 88ea39de8a [FIX] http_routing: P3 compatibility 2017-08-30 18:36:13 +02:00
Christophe Simonis 71f370903c [MERGE] forward port branch saas-16 up to 600d015938 2017-08-30 18:18:59 +02:00
Christophe Simonis 600d015938 [MERGE] forward port branch saas-15 up to cb4dbfb7b7 2017-08-30 18:04:40 +02:00
stefanorigano 7452139552 [REF] project: change dashboard links' color 2017-08-30 16:55:10 +02:00
stefanorigano 4ee00450ce [REF] base: do not style 'installed' as a 'success' in apps kanban 2017-08-30 16:55:10 +02:00
stefanorigano 6f1115478e [REF] web: review new design elements
- Review UI custom colors (used for tags and kanban cards)

- Properly align control panel items

- Remove links style overrides (these rules are not necessary anymore
  because already specified in bootstrap_overridden.less variables
  definitions)

- Set new webclient bg color

- Adapt colors in kanban view
2017-08-30 16:55:10 +02:00
Christophe Simonis cb4dbfb7b7 [MERGE] forward port branch saas-14 up to 583fcf0a67 2017-08-30 16:13:19 +02:00