Improve batch picking demo data.
The first page shows the summary of all the pickings. next page onwards we can see the picking information in the report.
task-1889404
Closes#29209
Add the total weight of the picking on the delivery slip (next to the date field) (only if different than 0)
Add a column "HS code" on the product line if there is at least one product with an HS code
task-1889404
Closes#29209
This commit improves a few methods related to the user profiles:
- Change _prepare_all_users_values so that it
works with a batch of users
- Change the _get_user_certificates and rename it to _get_users_certificates
so that it works with a batch of users to avoid doing a search in a
list comprehension.
This method will also be used to get the number of certificates per users
TaskID: 1952064
PR: #32229
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit fixes an issue where only three slides would be
displayed instead of four in a category of the course page.
This was due to the promoted slide being ignored in its own
category.
After this commit, the promoted slide will appear in the promoted
slot AND in its category
TaskID: 1952064
PR: #32229
By default the main Leads menu doesn't have a submenu anymore
But when the website_crm_score module is installed, it appears
as a submenu like before
PR : #34595
Task ID : 2031626
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
* theme_bootswatch, theme_default, website_theme_install
It is now possible to add very easily a font from Google Fonts under
Customize Theme > Fonts > Add Google Font.
The merge also improves the customize dialog possibilities with a
new 'auto' widget and a 'fontselection' tag.
See sub-commits for details.
task-1974659
closesodoo/odoo#33442
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Co-authored-by: Andrea Ulliana <aul@odoo.com>
Co-authored-by: qsm-odoo <qsm@odoo.com>
It is now possible to add very easily a font from Google Fonts under
Customize Theme > Fonts > Add Google Font.
Part of https://github.com/odoo/odoo/pull/33442
task-1974659
Co-authored-by: qsm-odoo <qsm@odoo.com>
Before this commit, if a theme had more fonts that the default number
(6), it had to override the customize dialog. Now, the number of fonts
to add in the list is found automatically.
To do so, instead of defining a <selection/> tag with 6+ <opt/> tag, we
are now able to define an unique new tag: <fontselection/> which will do
automatically the job.
Part of https://github.com/odoo/odoo/pull/33442
task-1974659
* theme_bootswatch, theme_default, website_theme_install
This commit makes use of the new 'auto' widget for font selection:
instead of enabling a template which will enable a scss file which sets
a font variable to a specific value... we directly allow to do a scss
custo which sets that value.
The code in charge of resetting font customizations on theme switching
is also moved and refactored here in website (instead of being specific
to each theme).
Part of https://github.com/odoo/odoo/pull/33442
task-1974659
Co-authored-by: qsm-odoo <qsm@odoo.com>
The theme customize dialog implements its own system of widgets. For
example: data-widget="color" and data-widget="input". Now, a new type of
widget data-widget="auto" exists. The goal is the same as the
data-widget="input" but with a predefined value that the user cannot
choose.
Also, as "data-value" was badly chosen during its implementation, it
is now renamed to "data-variable" and "data-value" is now used with the
new widget.
Example of the new widget "auto":
<opt data-widget="auto" data-variable="logo-height" data-value="3rem"
string="Logo Height"/>
-> Allows to create a button forcing the logo height to 3rem.
Part of https://github.com/odoo/odoo/pull/33442
task-1974659
Breaks doc-building all the time, more advanced ES6 features are not
supported by the JS parsing library.
closesodoo/odoo#35288
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
PURPOSE
Purpose of this merge is to set the new attribute OPTIONAL = SHOW/Hide on
tree views so the user can easily hide/show the optional fields on the tree view.
SPECIFICATIONS
contacts (not used as main view but generic to all modules):
* phone: show
* email: show
* city: hide
* state: hide
* country: hide
* next partner review: hide
* level: hide
* activation: hide
* tags: hide
* current membership status: hide
leads
* created on: show
* company name: hide
* contact name: show
* email: show
* phone: show
* city: show
* state: hide
* country: show
* score: hide
* assigned partner: show
* sales team: show
* salesperson: show
* company: show
* tags: hide
* priority: hide
product template
* internal reference: show
* barcode: hide (to move after internal ref)
* website: show
* company: hide
* sales price: show
* cost: show:
* product category: hide
* product type: hide
* quantity on hand: show
* forecast quantity: show (rename to Forecasted Quantity)
* unit of measure: show
* ebay status: show
product product
* internal reference: show
* barcode: hide (to move after internal ref)
* website: show
* company: hide
* public price: show (to rename in Sales price, to be consistent with product template form)
* cost: show:
* product category: hide
* product type: hide
* quantity on hand: show
* forecast quantity: show
* unit of measure: show
quotation
* quotation date: show
* website: show
* sales team: hide (before sales person)
* sales person: show
* company: show
* warehouse: hide
* company: show
* total: show
* status: show
* invoice status: hide
* tags: hide
sales order
* confirmation date: show
* website: show
* sales team: hide
* salesperson: show
* company: show
* warehouse: hide
* total: show
* invoice status: show
* tags: hide
helpdesk tickets
* customer: show
* assigned to: show
* ticket type: hide
* priority: hide
* tags: hide
* stage: show
* company: show
RQP/purchase orders
* vendor reference: hide
* order date: show
* company: show
* scheduled date: show
* Purchase rep: show
* source document: show
* untaxed: hide
* total: show
* status: show
Purchase agreement
* purchase rep: show
* company: show
* ordering date: show
* delivery date: hide
* deadline: show
* source document: show
* status: show
Incoming products
* date: hide (to rename into Creation date)
* source document: show
* status: show
Invoices & bills:
* invoice date: show
* origin: show
* payment reference: hide
* company: show
* sales team: hide
* salesperson: show
* due date: show
* tax excluded: show
* tax: hide
* total: show
* amount due: show
* payment status: hide
Journal entries
* partner: show
* reference: show
* company: show (after journal)
Journal items
* reference: show
* partner: show
* analytic account: show
* matching number: show
* due date: hide
Analytic items
* ref: hide
* tags: hide (after analytic account)
* financial account: hide
* journal item: hide
* partner: hide (before company)
* company: show
* product: hide
* quantity: hide
* unit of measure: hide
* amount: show
Transfers (stock.picking)
* from: show
* to: show
* partner: show
* responsible: hide
* operation type: hide
* company: show
* scheduled date: show
* effective date: hide
* source document: show
* back order of: hide
* status: show
* batch picking: show
* carrier: hide
* tracking ref: hide
* weight: hide
* weight for shipping: hide
* priority: hide
Inventory adjustment
* location: hide (to add after inventory date)
* company: show
* accounting date: hide
Inventory report (stock.quant)
* reserved: hide
* company: show
Lot/serial
* best before: hide (after creation date)
* removal date: hide
* end of life date: hide
* alert date: hide
* created on: show
* internal ref: show
MO
* deadline start: show
* planning start date: hide (rename to planned start date)
* product: show
* bill of material: hide
* source: show
* responsible: hide
* company: show
* quantity: show
* uom: show
* routing: show
* state: show
* material availability: show
BoM
* Reference: show
* variant: show
* version: show
* quantity: show
* unit of measure: show
* bom type: hide
* company: show
* routing: show
Repair order:
* product to repair: show
* product quantity: hide
* uom: hide
* customer: show
* delivery address: show
* warranty expiration: show
* location: hide
* company: show
* status: show
Quality alerts
* product: show
* product variant: hide
* lot: hide
* work center: show
* team: show
* responsible: show
* check: show
* tags: hide
* root cause: hide
* priority: hide
* description: hide
* date assigned: show
* vendor: hide
Quality control points (and reorder tree view according to the list)
* reference
* title: show
* product: show
* product variant: hide
* operation type: show
* operation: hide
* work order operation: hide
* control type: hide
* device: hide
* type: show
* team: show
* responsible: hide
* company: show
Quality checks (add the fields in the following order in the list view)
* product: show
* lot: show
* picking: hide (rename to Transfer)
* checked date: show
* checked by: show
* control point: hide
* team: show
* status: show
Project tasks
* project: show
* assigned to: show
* customer: hide
* tags: hide
* planned hour: show
* remaining hour: show
* deadline: hide
* stage: show
* progress: show
* company: show
LINKS
See task 1997453
closesodoo/odoo#33888
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
* = sale_crm, sale_stock, website_sale
Purpose of the commit is to set the new attribute OPTIONAL = SHOW/Hide on tree
view so the user can easily hide/show the optional fields on the tree view.
task-1997453
Closes: #33888
* = stock_account, stock_picking_batch, stock_product_expiry, delivery
Purpose of the commit is to set the new attribute OPTIONAL = SHOW/Hide on tree
view so the user can easily hide/show the optional fields on the tree view.
Update string date field from incoming products tree view.
Update string virtual_available field from product tree view.
task-1997453
Closes#33888
Purpose of the commit is to set the new attribute OPTIONAL = SHOW/Hide on tree
view so the user can easily hide/show the optional fields on the tree view.
task-1997453
Closes: #33888
* = website_crm_partner_assign
Purpose of the commit is to set the new attribute OPTIONAL = SHOW/Hide on tree
view so the user can easily hide/show the optional fields on the tree view.
task-1997453
Closes: #33888
Purpose of the commit is to set the new attribute OPTIONAL = SHOW/Hide on tree
view so the user can easily hide/show the optional fields on the tree view.
task-1997453
Closes#33888
Purpose of the commit is to set the new attribute OPTIONAL = SHOW/Hide on tree
view so the user can easily hide/show the optional fields on the tree view.
task-1997453
Closes: #33888
Purpose of the commit is to set the new attribute OPTIONAL = SHOW/Hide on tree
view so the user can easily hide/show the optional fields on the tree view.
task-1997453
Closes: #33888
Purpose of the commit is to set the new attribute OPTIONAL = SHOW/Hide on tree
view so the user can easily hide/show the optional fields on the tree view.
task-1997453
Closes: #33888
Purpose of the commit is to set the new attribute OPTIONAL = SHOW/Hide on tree
view so the user can easily hide/show the optional fields on the tree view.
Update string date_start_wo field from mrp.production model.
task-1997453
Closes: #33888
Purpose of the commit is to set the new attribute OPTIONAL = SHOW/Hide on tree
view so the user can easily hide/show the optional fields on the tree view.
task-1997453
Closes: #33888
The error message now display a message containing the term of
the search and it is also not always displayed as it was before
Task ID : 2036652
closesodoo/odoo#35052
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
* web
The document/image tab in "Select a media" Dialog were not displaying
any info when there was no document/images to load.
Now there is a message with the same image as the backend.
The "All attachments have been loaded" message is only displayed if
there is no more documents to display after using the button "Load More".
The "Load More" button is removed in the backend if there is no
documents/images.
Part of https://github.com/odoo/odoo/pull/33195
task-1945874
closesodoo/odoo#33195
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
* web
"Document" tab in "Select a media" Dialog was displaying all the assets
files. Now all files containing "assets_" are excluded from the
"Document" tab. This is similar to the regenerateAssets function in
debug_manager that deletes assets based on this criteria.
For consistency the Assets Domain is now a utils.js function
Part of https://github.com/odoo/odoo/pull/33195
task-1945874
This commit customizes the one2many field so that
every questions with the flag "is_page" are editable inline
directly in the tree view with no modal on the survey form.
Questions who don't have that flag are still created the same way
as it was before.
TaskID:1999109
PR: #35170
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Co-authored-by: Jérémy Hennecart <jeh@odoo.com>
Co-authored-by: Quentin Mourrier <qmo@odoo.com>
Graph view legend items are shortened when ther are too long.
Here we add tooltips on hover to allow the user to see the
full text of items that were cut.
We also improve a bit the way items are shortened.
Co-Authored-By: Thomas Werland <twe@odoo.com>
Update of Chart.js library to the latest version.
The onLeave listener was not avalaible in the previous version of the library.
This has also removed a bug in the graph view where
some groups were sometimes not shown in the legend.
Share the logic for delivered and procurement quantities computation. In
some edge cases, the differences between them triggered an unexpected
behaviour such as showcased in the added tests.
closesodoo/odoo#35257
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Co-authored-by: Arnold Moyaux <arm@odoo.com>