summaryrefslogtreecommitdiff
path: root/addons/product_expiry
AgeCommit message (Collapse)Author
2021-05-30[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-23[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-16[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-09[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-02[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-25[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-14[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-14[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-31[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-17[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-10[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-22[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-15[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-08[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-27[I18N] *: Update translation terms from TransifexMartin Trigaux
Except Spanish, waiting for cleanup closes odoo/odoo#60848 Related: odoo/enterprise#14421 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-21[REV] *: revert fb7407c for spanish translationsOlivier Dony
There was a problem in the Transifex translations for Spanish and all translations were overwritten by mistake with english defaults. This commit reverts all modified es.po files to their previous version while we work to restore the translations on Transifex.
2020-10-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-05[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-09-27[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-09-01[I18N] export saas-13.5 source termsMartin Trigaux
Without demo data closes odoo/odoo#56839 Related: odoo/enterprise#12821 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-08-27[REF] various: use helper to create tests usersThibault Delavallée
PURPOSE Lessen use of mail-specific calls and variables SPECIFICATIONS Use mail_new_test_user tool in tests, lessening use of mail-specific context keys in tests. LINKS Task ID-2326281 (context keys use cleaning) PR odoo/odoo#56631 PR odoo/enterprise#12707
2020-07-03[IMP] product_expiry: Position product Expiration Dates betterTiffany Chang (tic)
This commit makes it so the 'expiry_and_lots' settings in the product form appear underneath the corresponding checkbox that makes them visible. Previously it was appearing in the column before the checkbox and moving other form fields in a non-intuitive way.
2020-07-03[IMP] product_expiry: Add delivery slip expiration datesTiffany Chang (tic)
This commit adds the option to have lot/serial number expiration dates be included in a delivery report (via settings). This is only applicable for stock.picking where 'State=Done', when 1 or more lot/serial numbers are used, and 1 or more lot/serial number expiration dates exist. This completes subsection 4 of overall Improve delivery slip task. Task: 2039720
2020-06-30[FIX] *: correct all or improve code translation lookupMartin Trigaux
This commit fixes all issues detected by the new pylint gettext-variable test. It converts some calls to the new syntax _("Foo %s", bar) to progressively migrate the code to the new syntax. A few calls were not technically incorrect but still detected by the linter. _("Foo" + "Bar") has been converted to _("Foo" "Bar") as it has the same effect and make sure the argument is of type asteroid.Const instead of BinOp). closes odoo/odoo#53683 Related: odoo/enterprise#11467 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
2020-06-17[FIX] product_expiry: changed removal date visibility on inventory reportPratima Gupta
1) removal_date in inventory report should be readonly if product tracking is none or use_expiration_date of product is false. 2) removal_date should be editable in inventory mode. Fixes-2273732 closes odoo/odoo#52827 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2020-05-20[IMP] *: update list viewPratima Gupta
This commit adapts several views to make them use newly defined widgets, the new decoration-xxx mechanism on fields, and to adapt them to the new design of buttons. used following widgets and designs - 1) decoration-bf 2) many2one_avatar_user widget 3) badge widget Task-2248231 closes odoo/odoo#51074 Related: odoo/enterprise#10528 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2020-05-18[FIX] product_expiry: update quantity on handsvs-odoo
Before this commit, when the user tries to create a new quant, even if the product doesn't use an expiration date, he/she will not be able to create the quant. The issue was as `removal_date` field is added by `product_expiry` in the quant list view, the field is on the values used to create a new quant but not in the list of accepted field for quant creation. So, it raises an UserError. task-2260085 closes odoo/odoo#51482 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2020-03-17[IMP]stock,product_expiry: improve error message for sn number checkyhu-odoo
======= PURPOSE ======= Improve duplicated serial number message to show more information. ======= SPEC ======= In this commit, we show full information about all invalide product name and lot/sn number when the user enters duplicated ones. - Change the sql constraint for checking duplicate sn/lot to python constraint to support customised error message. - Create lot in batch to show all invalide ones in error message. ======= LINKS ======= task 2083605 pr #44366 Related: odoo/upgrade#954 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2020-03-05[IMP] base: Display searchpanel on ir.module.module viewsYannick Tivisse
Purpose ======= The current kanban view is messy. It is difficult to identify which apps are installed or not. The user can completely miss a module that might have interested him. A search panel would make things way more readable. closes odoo/odoo#44401 Taskid: 2181557 Related: odoo/enterprise#8144 Related: odoo/upgrade#879 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-02-13[I18N] export saas-12.3 source termsMartin Trigaux
closes odoo/odoo#45285 X-original-commit: bb281e98f52a2716f00d43a07446a08df698c1dd Related: odoo/enterprise#8413 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-02-04[ADD] *: add ir.model.access on all transient modelsMartin Trigaux
Following changes needing ir.model.access on transient models too. Remove groups declaration on the action to move it to ir.model.access when possible. Rules are strict by default with no unlink access by default and high priviledge asked. Adaptations may be needed later. Write access is given as a wizard may need to be modified in case the action triggers an error and the user has to correct a value account*: use account.group_account_user for all transient by default remove account.print.journal relic stock*: use stock.group_stock_user by default survey: survey user can send invitations mail: allow any employee to execute wizards additional verifications are made to ensure they are executed only on the documents the user has access to you give portal access to mail.compose.message as portal still does some actions like posting messages on the forum add ir.rule to avoid reading somebody else messages increase the query count because of undeterminist count crm: saleman for lead2opp, manager for massmailing partner manager for actions linked to partners avoid a write in test_lead_lost sms: any employee can send sms mrp: mrp user can execute wizards give unlink access as making write during do_produce operation base_import: employees can import files delivery: stock user can deliver event_sale: sale user can configure the wizards event user inherit from sale rights gamification: employee can give badge google_service: resolve FIXME hr: add specific rights manager can set a plan according to group on button anyone who can write on an employee can register a departure hr_expense: set rights based on buttons hr_holidays: an approver can make a summary report hr_recruitment: recruiter can refuse a candidate hr_timesheet: can use the wizard if can create a timesheet l10n_eu_service: managers can create fiscal positions mass_mailing: same group as on mass.mailing.list membership: accountant can create invoice from membership payment: accountant can create a link as the source is an account.move keep the payment.acquirer.onboarding.wizard to system user only as it is called during company configuration point_of_sale: PoS manager only can use wizards never create closing_balance_confirm_wizard records product_expiry: stock user has rights on stock.picking product_margin: access from accounting menus repair: same rules as for above models sale: set ir.rule for self wizard only add rule from model introduced in payment to add salesman group sale_crm: saleman can create a quotation from a lead sale_coupon: any saleman can generate coupon add self ir.rule sale_product_configurator: salesman can select product variants snailmail: employee can send letters website: designers can write on website website_crm_partner_assign: same rule as group on action website_sale: sale ACL as for payment.acquirer.onboarding.wizard website_slides: anyone can send invitation base: base.language.*: allow employee (cf lang_install) change.password.user: can not read change password wizard of other users test.*: no access is needed Courtesy of Damien Bouvy, William Andre and Antoine Prieëls for review of acl
2020-01-20[REF] stock: move line: some guidelinesSimon Lejeune
- move all the constrains at the same place, make sure they are private - move all the onchanges at the same place, make sure they are private - move `_get_similar_move_lines` helper at the bottom of the file with the other helpers
2020-01-06[FIX] product_expiry: default expiration_datesvs-odoo
Before this commit, the default `expiration_date` wasn't set when the move line was created with the help of multiple assign serial numbers button or when user wrote/copy-pasted a list of SN/LN. task-2166230 closes odoo/odoo#42809 X-original-commit: ff6126e8077031fb20eada5f3f9d8fd8a4a4c56a Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2020-01-06[FIX] product_expiry: editable expiration_datesvs-odoo
Before this commit, in the move line view, the field `expiration_date` was readonly even when it must be editable. It was because the condition who defines if the field is readonly or not was wrong. Also, removed the field `expiration_date_readonly` as it mainly referred to `picking_type_use_existing_lots`, and use this latter instead. task-2166230 X-original-commit: f1b8426919dc049df447d50ed3ac365eec2897c3
2019-12-16[IMP] *: set name on page elementsYenthe666
page is an element that is often used for xpath closes odoo/odoo#41718 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-12-16[I18N] *: export saas-13.1 source termsMartin Trigaux
Without demo data, for the odoo-master transifex project closes odoo/odoo#41935 X-original-commit: dab7670b73506fb3a835695ee3bd735e0c5e5c2b Related: odoo/enterprise#7287 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-12-10[I18N] *: remove es_AR translationsMartin Trigaux
Followup of a425695e The terms were back in 12.0 Courtesy of Juan José Scarafía closes odoo/odoo#41624 X-original-commit: 85d0c7001a997748d7691205bbb8d066597591a5 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-12-09[REV] web: reverts update to fontawesome 5.11.2Kevin Baptiste
This reverts commit ff1c35513aecef5fbc30f7c2f3834450e719714e. closes odoo/odoo#41480 X-original-commit: 116057b26e71db4692280463669f3e80d813ddcc Related: odoo/enterprise#7110 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-11-28[IMP] web: update to fontawesome 4.7.0 to 5.11.2Kevin Baptiste
FontAwesome 5 introduced new names for some icons as described on https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#name-changes This commit replaces the old names to the new ones. closes odoo/odoo#35826 Taskid: 2050241 Related: odoo/enterprise#5180 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-11-06[IMP] sale(_stock): add wizard to cancel the confirmed SOHetashree Chauhan
Purpose of the task is be able to cancel an order if the products have been delivered or if an invoice has already been confirmed -the remaining pickings (back orders) should be cancelled. -the draft invoices should be cancelled too. [IMP] product_expiry: compute method should iterate on self task-1919761 Closes #29920 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com> Co-authored-by: Hiral Bhavsar <hbh@odoo.com>
2019-11-05[FIX] product_expiry: expiration date on receiptsvs-odoo
How to reproduce: - Create a tracked product using expiration dates and don't set the `expiration_time` field; - Create a receipt for this product (using "Create New Lots/Serial Numbers") and confirm it; - Create a move line for this product and define an expiration date; - Valid the picking -> Traceback. The issue was as `expiration_time` isn't set on product, the production lot created on the receipt's validation don't have an `expiration_date`. So, if the `expiration_date` is set on the receipt move line, the production lot will try to get a time delta with its unset `expiration_date`, causing the traceback. task-2119330 closes odoo/odoo#39795 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
2019-10-28[IMP] product_expiry: hide removal date on quantsvs-odoo
When user goes on product's quants, hides the "Removal Date" field if the product doesn't use expiration dates. Also, set it as optional to be hide if the user wants. closes odoo/odoo#39425 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>