Daily updates from Odoo
Wednesday, June 12, 2019
4 changes
New functionality added to Odoo
Website administrators can now choose which user groups are allowed to see specific website menu items. This gives businesses more control over navigation visibility, helping tailor website experiences for employees, customers, or other audiences without hiding menus from everyone.
Original PR description
Description of the issue/feature this PR addresses: Allow configuring security groups on website menu items Closes off https://github.com/odoo/odoo/issues/32549 Current behavior before PR: There is no option to configure security groups on website menus. Everybody can see them or nobody can. Desired behavior after PR is merged: You're able to configure security groups on website menuitems from both the backend and the frontend (through the edit menu option in the website after clicking on edit on a menuitem). DONE: - [x] New many2many field for setting groups & allowing editing them from the backend - [x] Correctly compute security groups for the current user -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Payroll accounting can now create one grouped accounting entry for a full payslip batch instead of separate entries per payslip. This improves accounting integration by reducing manual reconciliation work and supports generating SEPA bank payment files directly from payroll.
Original PR description
Purpose ======= From a busines point of view Integration with accounting. A period of pay include journal entries and payments. We need to generate both from a batch. The entries must be grouped - 1…
Purpose
=======
From a busines point of view
Integration with accounting. A period of pay include journal entries and
payments. We need to generate both from a batch.
The entries must be grouped
- 1 line for salaries
- 1 line for all ATN
- ...
Payroll generate a Sepa document to send to the bank
+ as this part is managed by an accountant add menu entries in the
accounting app.
From a functional point of view:
Debit and credit accounts are defined on the rules (hr.salary.rule)
The journal should be defined on the structure to be foced
Specification
=============
- Usability: the module l10n_be_hr_payroll Should install the accounting
(right now it install invoicing). On the structure, add a journal m2o.
- On rule: add group accouting items on salary rule
- Improve method 'action_payslip_done' to support multiple entries by move.
Generate only one big entry with all payslip. Generate one total line total
for reconciable if group is set.
Now the payslips are no longer calculated individually,
all accounting entries are grouped together when the pay slips are
validated.
This allows you to have a single accounting entry for all validated
payroll records.
- Buttons on batch
- Add 2 buttons on the batch form
- "Create Entry": it will generate a grouped entries according config of
the rule
- "Payment": it generate an xml with all line to send to the bank
See https://www.odoo.com/documentation/user/11.0/accounting/receivables/customer_payments/payment_sepa.html
- Payroll directly generate the xml (no payments in accounting)
- Button on payslips: Everything should be done through the payslips
- create draft entry
- Create SEPA payment xml
- Make appear those buttons on the form only if batch is not set
- Belgian rules for the entries:
- In data for Belgium: https://docs.google.com/spreadsheets/d/1HlnwoExR_O833sij01p7UizSkrMqcm6oF4GvOeIz5lg/edit#gid=0
example of one of our OD: https://drive.google.com/file/d/0B_hhLmdks1wEdXZSQzJIeVBDOXNiNVctczJzUTBQZVBuNkgw/view?usp=sharing
- Create a Journal salaries (type miscelaneous) and apply all structure on
this journal
- Create new accounts to manage this.
- Sepa for payroll should be an option in the setting of payroll
(like in accounting)
- Configure the accounts on the rules when setting a CoA on a company.
Now the payslips are no longer calculated individually,
all accounting entries are grouped together when the pay slips are
validated.
This allows you to have a single accounting entry for all validated
payroll records.
Other notable point in this commit:
- When installing the Belgian Localisation or when installing the
Belgian CoA on a company, configure the accounting data (journal,
accounts on the salary rules)
- Don't create automatically a payslip batch when creating a payslip
TaskID: 1935200Website administrators can now limit specific website menu items to selected user groups. This helps businesses show the right navigation options to the right audiences and keep restricted areas less visible to unauthorized visitors.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Belgian payroll users can now generate the legally required 281.10 employee remuneration sheets in both PDF and XML formats. This helps employers prepare the information needed for federal reporting more efficiently and accurately.