Skip to content

[16.0] [IMP] fieldservice_isp_account: show bill_to field only when installed#1550

Open
eLBati wants to merge 1 commit into
OCA:16.0from
eLBati:bill_to
Open

[16.0] [IMP] fieldservice_isp_account: show bill_to field only when installed#1550
eLBati wants to merge 1 commit into
OCA:16.0from
eLBati:bill_to

Conversation

@eLBati

@eLBati eLBati commented Jun 11, 2026

Copy link
Copy Markdown
Member

The bill_to field is defined in fieldservice_account_analytic but its
value is only consumed by fieldservice_isp_account (account_prepare_invoice).
With only fieldservice_account_analytic installed, the user was shown a
required "Bill Location / Bill Contact" radio that had no effect.

Move the "Accounting" page and the bill_to widget from the
fieldservice_account_analytic form view into the fieldservice_isp_account
form view, so the field is only displayed when the module that actually
uses it is installed.

The field definition stays on the model in fieldservice_account_analytic,
so the database column is preserved and no migration is required.

  The bill_to field is defined in fieldservice_account_analytic but its
  value is only consumed by fieldservice_isp_account (account_prepare_invoice).
  With only fieldservice_account_analytic installed, the user was shown a
  required "Bill Location / Bill Contact" radio that had no effect.

  Move the "Accounting" page and the bill_to widget from the
  fieldservice_account_analytic form view into the fieldservice_isp_account
  form view, so the field is only displayed when the module that actually
  uses it is installed.

  The field definition stays on the model in fieldservice_account_analytic,
  so the database column is preserved and no migration is required.
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @bodedra, @osimallen, @brian10048,
some modules you are maintaining are being modified, check this out!

@OCA-git-bot OCA-git-bot added series:16.0 mod:fieldservice_isp_account Module fieldservice_isp_account mod:fieldservice_account_analytic Module fieldservice_account_analytic labels Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:fieldservice_account_analytic Module fieldservice_account_analytic mod:fieldservice_isp_account Module fieldservice_isp_account series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants