This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<data> | |
<xpath expr="//notebook/page[@name='operations']/field[@name='move_ids_without_package']/tree/field[@name='product_uom_qty']" | |
position="after"> | |
<field name="x_calc_quantity" | |
column_invisible="1"/> | |
<field name="x_gross_quantity" | |
column_invisible="parent.picking_type_code != 'incoming' or (parent.state != 'assigned' and parent.state !='done')"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<data> | |
<t t-esc="record.scheduled_date.value and record.scheduled_date.value.split(' ')[0] or False" | |
position="before"> | |
<button name="671" | |
icon="fa-calendar-minus-o" | |
type="action"/> | |
</t> | |
<t t-esc="record.scheduled_date.value and record.scheduled_date.value.split(' ')[0] or False" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# custom_ray_odoo | |
# loop through all selected product(s) | |
for record in records: | |
# set lead time to default 3 days | |
lead_time = 3 | |
found_vendor = False | |
# loop through all the vendor(s) on the purchase tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bank Balances Clearing: (debit balance if positive, credit balance if negative) | |
Statement Balance - credit BB clearing, debit the outstanding receipts account | |
OR | |
Statement Balance - debit BB clearing, credit the outstanding payments account | |
There will be debits left in the BB clearing, based on uncleared Customer deposits | |
credit BB clearing, debit the outstanding receipts account | |
There will be credits left in the BB clearing, based on uncleared Vendor payments | |
debit BB clearing, credit to outstanding payments |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<tree multi_edit="1" create="0"> | |
<field name="company_id" invisible="1"/> | |
<field name="bom_id" readonly="1"/> | |
<field name="product_id" context="{'default_detailed_type': 'product'}"/> | |
<field name="product_tmpl_id" invisible="1"/> | |
<button name="action_see_attachments" type="object" icon="fa-files-o" aria-label="Product Attachments" | |
title="Product Attachments" class="float-end"/> | |
<field name="attachments_count" class="text-start" string=" "/> | |
<field name="product_qty"/> | |
<field name="product_uom_category_id" invisible="1"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Setup two CC Journals with related accounts - via Add Bank Account | |
- one is for a single card holder | |
- one is for a corporate card with many card holders - modeled as payment methods with the top being "Select a Card" | |
2) Create a custom field x_payment_method_line_id on account.move.line | |
It is a many2one to account.payment.method.line | |
Related: move_id.payment_id.payment_method_line_id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.odoo.com/forum/help-1/odoo-10-runs-via-odoo-bin-but-cannot-get-to-run-as-a-service-is-this-a-systemd-upstart-thing-112460 | |
/etc/systemd/system/odoo.service | |
[Unit] | |
Description=Odoo | |
Documentation=http://www.odoo.com/ | |
[Service] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
network: | |
version: 2 | |
ethernets: | |
enp0s3: | |
addresses: [192.168.1.202/24] | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example Vendor Bill | |
Track "Track", 100 units x $10 = $1,000 | |
Train "Train", 250 units x $7 = $1,750 | |
Design "for Track", 1 unit x $195 | |
Freight "for the PO", 1 unit x $595 | |
Overcharge "for Track", 100 units x price_unit | |
Overcharge, "for Train", 250 units x price_unit | |
# We want to know, for each LC, should it be applied to one product, or both | |
# After this we need to delete the lines where there isn't a match - no design on train, no track overchange on train, etc |
NewerOlder